|
3 | 3 | # manufactured_solution |
4 | 4 |
|
5 | 5 | The manufactured solution test in `polaris.ocean.tasks.manufactured_solution` |
6 | | -uses the Method of Manufactured Solutions (see |
| 6 | +uses the Method of Manufactured Solutions (see |
7 | 7 | {ref}`ocean-manufactured-solution`) at 4 resolutions (200, 100, 50, and 25 km). |
8 | 8 |
|
9 | 9 | The {py:class}`polaris.ocean.tasks.manufactured_solution.ManufacturedSolution` |
10 | | -test performs a 10-hour run. |
| 10 | +test performs a 10-hour run. |
11 | 11 |
|
12 | 12 | ## framework |
13 | 13 |
|
14 | | -The config options for the `manufactured_solution` test are described in |
| 14 | +The config options for the `manufactured_solution` test are described in |
15 | 15 | {ref}`ocean-manufactured-solution` in the User's Guide. |
16 | 16 |
|
17 | 17 | Additionally, the test uses a `forward.yaml` file with |
18 | | -a few common model config options related to run duration and default |
19 | | -horizontal and vertical momentum and tracer diffusion, as well as defining |
| 18 | +a few common model config options related to run duration and default |
| 19 | +horizontal and vertical momentum and tracer diffusion, as well as defining |
20 | 20 | `mesh`, `input`, `restart`, and `output` streams. |
21 | 21 |
|
22 | 22 | ### exact_solution |
@@ -52,18 +52,18 @@ Namelist and streams files are updated by the parent class with time steps |
52 | 52 | determined algorithmically based on config options. The number |
53 | 53 | of cells is approximated from config options in |
54 | 54 | {py:meth}`polaris.ocean.tasks.inertial_gravity_wave.forward.Forward.compute_cell_count()` |
55 | | -so that this can be used to constrain the number of MPI tasks that Polaris |
56 | | -tasks have as their target and minimum (if the resources are not explicitly |
57 | | -prescribed). For MPAS-Ocean, PIO namelist options are modified and a graph |
58 | | -partition is generated as part of `runtime_setup()`. Then, the ocean model |
59 | | -is run. Finally, validation of `temperature`, `layerThickness` and |
60 | | -`normalVelocity` are performed against a baseline if one is provided when |
| 55 | +so that this can be used to constrain the number of MPI tasks that Polaris |
| 56 | +tasks have as their target and minimum (if the resources are not explicitly |
| 57 | +prescribed). For MPAS-Ocean, PIO namelist options are modified and a graph |
| 58 | +partition is generated as part of `runtime_setup()`. Then, the ocean model |
| 59 | +is run. Finally, validation of `temperature`, `layerThickness` and |
| 60 | +`normalVelocity` are performed against a baseline if one is provided when |
61 | 61 | calling {ref}`dev-polaris-setup`. |
62 | 62 |
|
63 | 63 | ### analysis |
64 | 64 |
|
65 | 65 | The class {py:class}`polaris.ocean.tasks.manufactured_solution.analysis.Analysis` |
66 | | -descends from {py:class}`polaris.ocean.convergence.ConvergenceAnalysis` |
| 66 | +descends from {py:class}`polaris.ocean.convergence.analysis.ConvergenceAnalysis` |
67 | 67 | a step for computing the error from the final simulated field |
68 | 68 | and the exact solution. It uses the config options to determine whether the |
69 | 69 | convergence rate falls within acceptable bounds. |
|
0 commit comments