Changeset 12631
- Timestamp:
- 07/12/12 15:54:08 (13 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/IdFromString.m
r5111 r12631 22 22 %return if no test found 23 23 if isempty(ids_raw), 24 disp(['No test matches ''' string '' ]);24 disp(['No test matches ''' string '''' ]); 25 25 return 26 26 end -
issm/trunk-jpl/test/NightlyRun/runme.m
r12163 r12631 49 49 if ~ismember(benchmark,{'all','nightly','ismip','eismint','thermal','mesh','validation','tranforcing'}) 50 50 disp('runme warning: benchmark not supported, defaulting to test ''nightly''') 51 benchmark='nigh lty';51 benchmark='nightly'; 52 52 end 53 53 % }}} … … 87 87 test_ids=intersect(test_ids,list_ids); 88 88 % }}} 89 %GET exc ulde {{{189 %GET exclude {{{1 90 90 exclude_ids=getfieldvalue(options,'exclude',[]); 91 91 exclude_ids=[exclude_ids]; … … 126 126 127 127 if ~strcmp(oshostname(),'larsen'); 128 error(['Nigh lty run archives must be saved on "larsen" (hostname is "' oshostname() '")']);128 error(['Nightly run archives must be saved on "larsen" (hostname is "' oshostname() '")']); 129 129 end 130 130 for k=1:length(field_names), … … 135 135 disp(sprintf(['File ./../Archives/' archive_name ' saved\n'])); 136 136 137 137 %ELSE: CHECK TEST 138 138 else, 139 139 -
issm/trunk-jpl/test/NightlyRun/test102.py
r12122 r12631 4 4 from parameterize import * 5 5 6 md=model() ;7 md=triangle(md,'../Exp/Square.exp',50000) ;8 md=setmask(md,'all','') ;6 md=model() 7 md=triangle(md,'../Exp/Square.exp',50000) 8 md=setmask(md,'all','') 9 9 md=parameterize(md,'../Par/SquareShelfConstrained.py') 10 11 #Fields and tolerances to track changes 12 field_names =['Vx','Vy','Vel','Pressure',\ 13 'StressTensorxx','StressTensoryy','StressTensorxy'] 14 field_tolerances=[1e-13,1e-13,1e-13,1e-13,\ 15 1e-13,1e-13,1e-13] 16 field_values=[\ 17 [md.results.DiagnosticSolution.Vx],\ 18 [md.results.DiagnosticSolution.Vy],\ 19 [md.results.DiagnosticSolution.Vel],\ 20 [md.results.DiagnosticSolution.Pressure],\ 21 [md.results.DiagnosticSolution.StressTensorxx],\ 22 [md.results.DiagnosticSolution.StressTensoryy],\ 23 [md.results.DiagnosticSolution.StressTensorxy],\ 24 ]
Note:
See TracChangeset
for help on using the changeset viewer.