1 #ifndef ERF_PLOTFILE2DWATERPATH_H_
2 #define ERF_PLOTFILE2DWATERPATH_H_
6 #include <AMReX_GpuQualifiers.H>
7 #include <AMReX_MultiFab.H>
8 #include <AMReX_Vector.H>
33 amrex::GpuArray<int, MaxCondensedWaterPathComponents>
dst_comp{};
34 amrex::GpuArray<int, MaxCondensedWaterPathComponents>
src_comp{};
39 amrex::Vector<WaterPathDescriptor>
46 amrex::Vector<std::string>
51 amrex::Vector<std::string>
53 bool has_surface_layer);
55 amrex::Vector<std::string>
57 bool has_surface_layer,
58 const amrex::Vector<std::string>& active_lsm_names);
60 SelectedWaterPathComponents
68 const amrex::MultiFab&
cons,
70 const amrex::Geometry& geom,
71 const amrex::MultiFab& detJ);
std::string name
Definition: ERF_Plotfile2DCatalog.cpp:97
@ cons
Definition: ERF_IndexDefines.H:175
Definition: ERF_Plotfile2DCatalog.cpp:7
amrex::Vector< WaterPathDescriptor > active_condensed_water_path_descriptors(const SolverChoice &solver_choice)
Definition: ERF_Plotfile2DWaterPath.cpp:65
DiagnosticID
Definition: ERF_Plotfile2DCatalog.H:12
bool is_condensed_water_path(DiagnosticID id) noexcept
Definition: ERF_Plotfile2DWaterPath.cpp:50
static constexpr int MaxCondensedWaterPathComponents
Definition: ERF_Plotfile2DWaterPath.H:21
void fill_condensed_water_paths(MultiFab &dst, const MultiFab &cons, const SelectedWaterPathComponents &selected, const Geometry &geom, const MultiFab &detJ)
Definition: ERF_Plotfile2DWaterPath.cpp:236
bool is_condensed_water_path_name(const std::string &name)
Definition: ERF_Plotfile2DWaterPath.cpp:81
amrex::Vector< std::string > available_diagnostic_names(const SolverChoice &solver_choice)
Definition: ERF_Plotfile2DWaterPath.cpp:139
SelectedWaterPathComponents selected_condensed_water_path_components(const amrex::Vector< std::string > &plot_var_names, const SolverChoice &solver_choice)
Definition: ERF_Plotfile2DWaterPath.cpp:211
Definition: ERF_DataStruct.H:141
Definition: ERF_Plotfile2DWaterPath.H:31
amrex::GpuArray< int, MaxCondensedWaterPathComponents > dst_comp
Definition: ERF_Plotfile2DWaterPath.H:33
int n
Definition: ERF_Plotfile2DWaterPath.H:32
amrex::GpuArray< int, MaxCondensedWaterPathComponents > src_comp
Definition: ERF_Plotfile2DWaterPath.H:34
Definition: ERF_Plotfile2DWaterPath.H:24
DiagnosticID id
Definition: ERF_Plotfile2DWaterPath.H:25
int source_component
Definition: ERF_Plotfile2DWaterPath.H:27
const char * name
Definition: ERF_Plotfile2DWaterPath.H:26