Changeset 971
- Timestamp:
- 06/12/09 20:22:19 (16 years ago)
- Location:
- issm/trunk/src/m/solutions/cielo
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/cielo/diagnostic.m
r967 r971 10 10 11 11 %Build all models requested for diagnostic simulation 12 models.analysis_type='diagnostic'; %needed for processresults 13 12 14 displaystring(md.debug,'%s',['reading diagnostic horiz model data']); 13 15 md.analysis_type='diagnostic'; md.sub_analysis_type='horiz'; models.dh=CreateFemModel(md); … … 39 41 %process results 40 42 if ~isstruct(md.results), md.results=struct(); end 41 md.results.diagnostic=processresults(results,models ,'diagnostic');43 md.results.diagnostic=processresults(results,models); 42 44 else 43 45 %launch dakota driver for diagnostic core solution -
issm/trunk/src/m/solutions/cielo/processresults.m
r968 r971 1 function newresults=processresults(results,models ,analysis_type);1 function newresults=processresults(results,models) 2 2 %PROCESSRESULTS - process results from core solution 3 3 % … … 10 10 %initialize output 11 11 newresults=struct(); 12 13 %get analysis_type: 14 analysis_type=models.analysis_type; 12 15 13 16 %recover models first -
issm/trunk/src/m/solutions/cielo/prognostic.m
r968 r971 9 9 10 10 %Build all models requested for diagnostic simulation 11 models.analysis_type='prognostic'; %needed for processresults 12 11 13 displaystring(md.debug,'%s',['reading prognostic model data']); 12 14 md.analysis_type='prognostic'; models.p=CreateFemModel(md); … … 29 31 displaystring(md.debug,'\n%s',['load results...']); 30 32 if ~isstruct(md.results), md.results=struct(); end 31 md.results.prognostic=processresults(results,models ,'prognostic');33 md.results.prognostic=processresults(results,models); 32 34 33 35 %stop timing -
issm/trunk/src/m/solutions/cielo/thermal.m
r968 r971 7 7 %timing 8 8 t1=clock; 9 10 models.analysis_type='thermal'; %needed for processresults 9 11 10 12 %Build all models requested for diagnostic simulation … … 30 32 %plug onto the model 31 33 if ~isstruct(md.results), md.results=struct(); end 32 md.results.thermal=processresults(results,models ,'thermal');34 md.results.thermal=processresults(results,models); 33 35 34 36 %stop timing -
issm/trunk/src/m/solutions/cielo/transient2d.m
r936 r971 8 8 9 9 %Build all models requested 10 models.analysis_type='transient'; %needed for processresults 11 10 12 displaystring(md.debug,'%s',['reading diagnostic horiz model data']); 11 13 md.analysis_type='diagnostic'; md.sub_analysis_type='horiz'; models.dh=CreateFemModel(md); -
issm/trunk/src/m/solutions/cielo/transient3d.m
r968 r971 8 8 9 9 %Build all models related to diagnostic 10 models.analysis_type='transient'; %needed for processresults 11 10 12 displaystring(md.debug,'%s',['reading diagnostic horiz model data']); 11 13 md.analysis_type='diagnostic'; md.sub_analysis_type='horiz'; models.dh=CreateFemModel(md); … … 137 139 %process results 138 140 if ~isstruct(md.results), md.results=struct(); end 139 md.results.transient=processresults(results,models ,'transient');141 md.results.transient=processresults(results,models);
Note:
See TracChangeset
for help on using the changeset viewer.