2#include "AMReX_Interp_3D_C.H"
3#include "AMReX_PlotFileUtil.H"
7template<
typename V,
typename T>
20 if (
pp.contains(
"plot_vars")) {
21 amrex::Abort(
"You must use plot_vars_3d rather than plot_vars");
92#ifdef REMORA_USE_PARTICLES
95 std::string
tmp( (*
it)+
"_count" );
108 Warning(
"\nWARNING: Requested to plot variable '" +
plot_name +
"' in 3D list but it is not available");
151 for (
int n = 0; n <
ncons; ++n) {
152 const std::string
nm = std::string(
"diff2_") +
cons_names[n];
181 for (
int n = 0; n <
ncons; ++n) {
182 const std::string
nm = std::string(
"diff2_") +
cons_names[n];
187 for (
int n = 0; n <
ncons; ++n) {
188 const std::string
nm = std::string(
"stflux_") +
cons_names[n];
206 Warning(
"\nWARNING: Requested to plot variable '" +
plot_name +
"' in 2D list but it is not available");
220 if (
pp.contains(
"plot_vars")) {
221 amrex::Abort(
"You must use plot_vars_3d rather than plot_vars");
230#ifdef REMORA_USE_PARTICLES
257#ifdef REMORA_USE_PARTICLES
mf_h setVal(geomdata.ProbHi(2))
pp_prob query("traditional", traditional)
bool containerHasElement(const V &iterable, const T &query)
bool containerHasElement(const V &iterable, const T &query)
int ncons
Number of conserved scalars in the state (temperature + salt + passive scalars + biology tracers)
amrex::Vector< std::string > cons_names
Names of scalars for plotfile output.
void set2DPlotVariables(const std::string &pp_plot_var_names_2d)
REMORABiology::BiologyModel biology_model
Active biology package.
const amrex::Vector< std::string > derived_names_3d
Names of derived fields for 3d plotfile fields.
int Bio_comp
First cons component of the biology block, i.e. Tracer_comp + nscalar. The state is laid out as temp,...
void set3DPlotVariables(const std::string &pp_plot_var_names_3d)
std::string pp_prefix
default prefix for input file parameters
static SolverChoice solverChoice
Container for algorithmic choices.
void append3DPlotVariables(const std::string &pp_plot_var_names_3d)
amrex::Vector< std::string > plot_var_names_3d
Names of 3D variables to output to AMReX plotfile.
amrex::Vector< std::string > plot_var_names_2d
Names of 2D variables to output to AMReX plotfile.
void append2DPlotVariables(const std::string &pp_plot_var_names_2d)
const amrex::Vector< std::string > derived_names_2d
Names of derived fields for 2d plotfile fields.
bool has_biology(BiologyModel model) noexcept
HorizMixingType horiz_mixing_type