Changeset 7318
- Timestamp:
- 02/03/11 16:23:24 (14 years ago)
- Location:
- issm/trunk/src/m/model
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/ismodelselfconsistent.m
r7146 r7318 116 116 error('dim should be either 2 3'); 117 117 end 118 checkvalues(md,{'pressureload(:,end)'},[WaterEnum() AirEnum() ]);118 checkvalues(md,{'pressureload(:,end)'},[WaterEnum() AirEnum() IceEnum()]); 119 119 %}}} 120 120 %NO NAN {{{1 121 121 fields={'numberofelements','numberofgrids','x','y','z','drag_coefficient','drag_type','drag_p','drag_q',... 122 122 'rho_ice','rho_water','rheology_B','elementoniceshelf','surface','thickness','bed','g','lowmem','sparsity','nsteps','maxiter',... 123 'tolx','eps_res','max_nonlinear_iterations','rheology_n','gridonbed','gridonsurface','elementonbed','elementonsurface','deltaH','DeltaH','timeacc','timedec','elementconnectivity' };123 'tolx','eps_res','max_nonlinear_iterations','rheology_n','gridonbed','gridonsurface','elementonbed','elementonsurface','deltaH','DeltaH','timeacc','timedec','elementconnectivity','hemisphere'}; 124 124 checknan(md,fields); 125 125 %}}}} … … 152 152 error(['model not consistent: model ' md.name ' violates the equality thickness=surface-bed!']); 153 153 end 154 if md.gl_migration & isnan(md.bathymetry), 155 error(['model not consistent: model ' md.name ' requesting grounding line migration, buth bathymetry is absent!']); 154 %GROUNDING LINE MIGRATION {{{1 155 checkvalues(md,{'gl_migration'},[NoneEnum() AgressiveMigrationEnum() SoftMigrationEnum()]); 156 if (md.gl_migration~=NoneEnum), 157 if isnan(md.bathymetry), 158 error(['model not consistent: model ' md.name ' requesting grounding line migration, buth bathymetry is absent!']); 159 end 156 160 end 157 161 -
issm/trunk/src/m/model/marshall.m
r7105 r7318 163 163 %grounding line migration: 164 164 WriteData(fid,md.gl_migration,'Integer','gl_migration'); 165 if(md.gl_migration ),165 if(md.gl_migration~=NoneEnum), 166 166 WriteData(fid,md.bathymetry,'Mat','bathymetry'); 167 167 end -
issm/trunk/src/m/model/process_solve_options.m
r6569 r7318 26 26 if ~ismember(analysis_type,[DiagnosticSolutionEnum,PrognosticSolutionEnum,ThermalSolutionEnum,... 27 27 SteadystateSolutionEnum,ParametersSolutionEnum,Transient2DSolutionEnum,Transient3DSolutionEnum... 28 BalancedthicknessSolutionEnum,BalancedvelocitiesSolutionEnum,BedSlopeSolutionEnum,SurfaceSlopeSolutionEnum ]),28 BalancedthicknessSolutionEnum,BalancedvelocitiesSolutionEnum,BedSlopeSolutionEnum,SurfaceSlopeSolutionEnum,GroundingLineMigration2DSolutionEnum]), 29 29 error(['process_solve_options error message: analysis_type ' EnumToString(analysis_type) ' not supported yet!']); 30 30 end
Note:
See TracChangeset
for help on using the changeset viewer.