Changes between Version 5 and Version 6 of addnewNR
- Timestamp:
- 05/30/16 12:19:27 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
addnewNR
v5 v6 5 5 If a new capability is being added to ISSM, it is critical that a new test is created. 6 6 7 These nightly runs are not meant to be realistic. They rely on very coarse meshes. We only want to check that the numerics has not changed, the results are obviously meaningless. Each test should take less than 10 seconds to run. 8 7 9 == Files to change/create == 8 10 9 Create a `testXXX.m` file with the simulation test and put in `field_names`, `field_tolerances` and `field_values` the names (no space) of the fields you want to check for your test with the tolerances associated (because every computer is different). 11 You must create a new test file in `test/NightlyRun`. Make sure to be consistent with the series: 12 - 100s: Square ice shelf constrained (no ice front) 13 - 200s: Square ice shelf with ice front 14 - 300s: Square grounded ice constrained (no ice front) 15 - 400s: Square grounded ice with ice front 16 - 500s: Pine Island Glacier (West Antarctica) 17 - 600s: 79 North (Greenland) 18 - 700s: flow band models 19 - 800s: valley glaciers 10 20 11 Put the name of your test in the first line of the matlab and python files, and run the following command to create the archive (the archive gives the reference values for all the fields that are checked): 21 Create a `testXXX.m` file with the simulation test. The very first line should be a comment with the test name (which should be unique): 22 {{{ 23 #!m 24 %Test Name: TEST_NAME_HERE 25 }}} 26 at the end of the file make sure to include `field_names`, `field_tolerances` and `field_values` the names (no space) of the fields you want to check for your test with the tolerances associated (because every computer is different). 12 27 28 Run the following command to create the archive (the archive gives the reference values for all the fields that are checked): 13 29 {{{ 14 30 #!m