Changeset 19824
- Timestamp:
- 11/26/15 10:51:33 (9 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/classes/model.js ¶
r19815 r19824 18 18 console.log(sprintf("%19s: %-22s -- %s","friction" ,"[1x1 " + typeof(this.friction) + "]","basal friction/drag properties")); 19 19 console.log(sprintf("%19s: %-22s -- %s","flowequation" ,"[1x1 " + typeof(this.flowequation) + "]","flow equations")); 20 console.log(sprintf("%19s: %-22s -- %s","timestepping" ,"[1x1 " + typeof(this.timestepping) + "]","time stepping for trans ientmodels"));20 console.log(sprintf("%19s: %-22s -- %s","timestepping" ,"[1x1 " + typeof(this.timestepping) + "]","time stepping for trans models")); 21 21 console.log(sprintf("%19s: %-22s -- %s","initialization" ,"[1x1 " + typeof(this.initialization) + "]","initial guess/state")); 22 22 console.log(sprintf("%19s: %-22s -- %s","rifts" ,"[1x1 " + typeof(this.rifts) + "]","rifts properties")); … … 33 33 console.log(sprintf("%19s: %-22s -- %s","thermal" ,"[1x1 " + typeof(this.thermal) + "]","parameters for thermal solution")); 34 34 console.log(sprintf("%19s: %-22s -- %s","steadystate" ,"[1x1 " + typeof(this.steadystate) + "]","parameters for steadystate solution")); 35 console.log(sprintf("%19s: %-22s -- %s","trans ient" ,"[1x1 " + typeof(this.transient) + "]","parameters for transientsolution"));35 console.log(sprintf("%19s: %-22s -- %s","trans" ,"[1x1 " + typeof(this.trans) + "]","parameters for trans solution")); 36 36 console.log(sprintf("%19s: %-22s -- %s","calving" ,"[1x1 " + typeof(this.calving) + "]","parameters for calving")); 37 37 console.log(sprintf("%19s: %-22s -- %s","gia" ,"[1x1 " + typeof(this.gia) + "]","parameters for gia solution")); … … 73 73 this.thermal = new thermal(); 74 74 this.steadystate = new steadystate(); 75 this.trans ient = new transient();75 this.trans = new trans(); 76 76 this.calving = new calving(); 77 77 this.gia = new gia(); … … 84 84 this.outputdefinition = new outputdefinition(); 85 85 this.miscellaneous = new miscellaneous(); 86 this.priv ate = new private();86 this.priv = new priv(); 87 87 } //}}} 88 88 this.checkmessage = function(string){ //{{{ … … 121 121 this.thermal = 0; 122 122 this.steadystate = 0; 123 this.trans ient= 0;123 this.trans = 0; 124 124 this.calving = 0; 125 125 this.gia = 0; … … 134 134 this.radaroverlay = 0; 135 135 this.miscellaneous = 0; 136 this.priv ate= 0;136 this.priv = 0; 137 137 138 138 //set default values for fields -
TabularUnified issm/trunk-jpl/src/m/solve/loadresultsfrombuffer.js ¶
r19816 r19824 21 21 22 22 //recover solution_type from results 23 md.priv ate.solution=array['SolutionType'];23 md.priv.solution=array['SolutionType']; 24 24 } 25 25 else throw Error('loadresultsfrombuffer error message: qmu results not supported yet!'); -
TabularUnified issm/trunk-jpl/src/m/solve/marshall.js ¶
r19810 r19824 22 22 23 23 //Some properties do not need to be marshalled 24 if (field == 'results' | field =='radaroverlay' | field == 'toolkits' | field =='cluster' | field == 'flaim' | field == 'priv ate') continue;24 if (field == 'results' | field =='radaroverlay' | field == 'toolkits' | field =='cluster' | field == 'flaim' | field == 'priv') continue; 25 25 26 26 //Check that current field is a class -
TabularUnified issm/trunk-jpl/src/m/solve/solve.js ¶
r19816 r19824 40 40 41 41 //recover some fields 42 md.priv ate.solution=solutionenum;42 md.priv.solution=solutionenum; 43 43 cluster=md.cluster; 44 44 … … 49 49 } 50 50 if (solutionenum == FlaimSolutionEnum()){ 51 md.priv ate.isconsistent=true;51 md.priv.isconsistent=true; 52 52 md.mesh.checkconsistency(md,solutionenum); 53 53 md.flaim.checkconsistency(md,solutionenum); 54 if (md.priv ate.isconsistent==false){54 if (md.priv.isconsistent==false){ 55 55 throw error('solve error message: model not consistent, see messages above'); 56 56 } … … 69 69 else{ 70 70 if (!(restart == '')){ 71 md.priv ate.runtimename=restart;71 md.priv.runtimename=restart; 72 72 } 73 73 else if (options.getfieldvalue('runtimename',true)){ 74 74 c=new Date().getTime(); 75 md.priv ate.runtimename=sprintf('%s-%g',md.miscellaneous.name,c);75 md.priv.runtimename=sprintf('%s-%g',md.miscellaneous.name,c); 76 76 } 77 77 else{ 78 md.priv ate.runtimename=md.miscellaneous.name;78 md.priv.runtimename=md.miscellaneous.name; 79 79 } 80 80 } … … 96 96 throw Error("solve error message: flaim runs not supported yet!"); 97 97 //flaim_sol(md,options); 98 //md.priv ate.solution=EnumToString(solutionenum);98 //md.priv.solution=EnumToString(solutionenum); 99 99 //return; 100 100 } … … 114 114 throw Error('non local clusters not supported yet!'); 115 115 116 cluster.BuildQueueScript(md.priv ate.runtimename,md.miscellaneous.name,md.private.solution,md.settings.io_gather,md.debug.valgrind,md.debug.gprof,md.qmu.isdakota); // queue file116 cluster.BuildQueueScript(md.priv.runtimename,md.miscellaneous.name,md.priv.solution,md.settings.io_gather,md.debug.valgrind,md.debug.gprof,md.qmu.isdakota); // queue file 117 117 118 118 //Stop here if batch mode … … 140 140 141 141 if (restart == ''){ 142 cluster.UploadQueueJob(md.miscellaneous.name,md.priv ate.runtimename,filelist);142 cluster.UploadQueueJob(md.miscellaneous.name,md.priv.runtimename,filelist); 143 143 } 144 144 145 145 //launch queue job: 146 cluster.LaunchQueueJob(md.miscellaneous.name,md.priv ate.runtimename,filelist,restart);146 cluster.LaunchQueueJob(md.miscellaneous.name,md.priv.runtimename,filelist,restart); 147 147 148 148 //wait on lock -
TabularUnified issm/trunk-jpl/test/NightlyRun/test101.html ¶
r19816 r19824 41 41 <script type="text/javascript" src="../../src/m/classes/outputdefinition.js"></script> 42 42 <script type="text/javascript" src="../../src/m/classes/miscellaneous.js"></script> 43 <script type="text/javascript" src="../../src/m/classes/priv ate.js"></script>43 <script type="text/javascript" src="../../src/m/classes/priv.js"></script> 44 44 <script type="text/javascript" src="../../src/m/classes/steadystate.js"></script> 45 45 <script type="text/javascript" src="../../src/m/classes/rifts.js"></script> … … 47 47 <script type="text/javascript" src="../../src/m/classes/plotoptions.js"></script> 48 48 <script type="text/javascript" src="../../src/m/classes/pairoptions.js"></script> 49 <script type="text/javascript" src="../../src/m/classes/trans ient.js"></script>49 <script type="text/javascript" src="../../src/m/classes/trans.js"></script> 50 50 <script type="text/javascript" src="../../src/m/boundaryconditions/SetIceShelfBC.js"></script> 51 51 <script type="text/javascript" src="../../src/m/parameterization/setflowequation.js"></script>
Note:
See TracChangeset
for help on using the changeset viewer.