From ac308596fa438f068dac3638d8bc9c70347b2859 Mon Sep 17 00:00:00 2001 From: Hannah Klion Date: Wed, 24 Jul 2024 14:29:39 -0700 Subject: [PATCH] add a paragraph to ProblemSetup about FillBoundary --- Docs/sphinx_doc/ProblemSetup.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Docs/sphinx_doc/ProblemSetup.rst b/Docs/sphinx_doc/ProblemSetup.rst index 3562d5c..736f29f 100644 --- a/Docs/sphinx_doc/ProblemSetup.rst +++ b/Docs/sphinx_doc/ProblemSetup.rst @@ -17,3 +17,5 @@ Each problem setup with a different initial e.g. temperature profile and bathyme * ``amrvis.defaults`` (for visualization with AMRVis) The file ``prob.cpp`` contains a number of functions that set the initial temperature profile, as well as surface stress, mixing coefficients, and bathymetry. New problem-specific input parameters can be defined by adding a variable to the ``ProbParm`` class in ``prob.H``, and reading in the value in ``amrex_probinit`` in ``prob.cpp``. See the AMReX documentation on `ParmParse `_ for how to add parameters. + +REMORA will call ``FillBoundary`` on the relevant variables after the functions in ``prob.cpp`` are called. This will fill the values in the `ghost cells `_ at interior grid-grid and periodic boundaries. However, it will not do so at interior grid-grid boundaries that fall on non-periodic domain boundaries. This is primarily a concern for variables such as bathymetry, which are not specified by boundary conditions, but still have well-defined values at boundaries.