Changeset 2298
- Timestamp:
- 09/23/09 15:56:06 (15 years ago)
- Location:
- issm/trunk/src/m/classes/public
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ismodelselfconsistent.m
r2282 r2298 396 396 end 397 397 end 398 399 %MESH2GRID400 if md.analysis_type==Mesh2gridAnalysisEnum,401 if ~strcmpi(md.cluster,'none'),402 disp(['model is not correctly configured: mesh2grid not supported in parallel yet!']);403 bool=0;return;404 end405 end406 407 398 408 399 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PACKAGE CHECKS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -
issm/trunk/src/m/classes/public/plot/plot_overlay.m
r1740 r2298 54 54 end 55 55 56 57 writefile('contours.exp',md.domainoutline);58 contours=expread('contours.exp',0);59 contours=contours(1); %just keep the outer domain outline.60 delete('contours.exp');61 62 56 %use mesh2grid solution to get an gridded data to display using imagesc 63 if isongrid, 64 interpolation='node'; 65 else 66 interpolation='element'; 67 end 68 data_mesh2grid=GriddataMeshToGrid(elements,x,y,contours,data,min(xlim),max(ylim),... 69 (max(xlim)-min(xlim))/length(md.sarxm),(max(ylim)-min(ylim))/length(md.sarym),length(md.sarym),length(md.sarxm),... 70 interpolation,'average',options_structure.windowsize); 57 [x_m y_m data_mesh2grid]=InterpFromMeshToGrid(elements,x,y,data,min(xlim),max(ylim),... 58 (max(xlim)-min(xlim))/length(md.sarxm),(max(ylim)-min(ylim))/length(md.sarym),length(md.sarym),length(md.sarxm),NaN); 71 59 else 72 60 %process mesh and data -
issm/trunk/src/m/classes/public/process_solve_options.m
r2164 r2298 47 47 48 48 %check solution type is supported 49 if ~ismemberi(analysis_type,{'diagnostic','prognostic','thermal','steadystate','parameters',' mesh2grid','transient'}),49 if ~ismemberi(analysis_type,{'diagnostic','prognostic','thermal','steadystate','parameters','transient'}), 50 50 error(['process_solve_options error message: analysis_type ' analysis_type ' not supported yet!']); 51 51 else -
issm/trunk/src/m/classes/public/solve.m
r2173 r2298 55 55 md=transient(md); 56 56 57 elseif md.analysis_type==Mesh2gridAnalysisEnum,58 md=mesh2grid(md);;59 60 57 elseif md.analysis_type==PrognosticAnalysisEnum, 61 58 md=prognostic(md);;
Note:
See TracChangeset
for help on using the changeset viewer.