4 #ifndef ERF_PLOTFILE2DWATERPATH_H_
5 #define ERF_PLOTFILE2DWATERPATH_H_
9 #include <AMReX_GpuQualifiers.H>
10 #include <AMReX_MultiFab.H>
11 #include <AMReX_Vector.H>
36 amrex::GpuArray<int, MaxCondensedWaterPathComponents>
dst_comp{};
37 amrex::GpuArray<int, MaxCondensedWaterPathComponents>
src_comp{};
42 amrex::Vector<WaterPathDescriptor>
49 amrex::Vector<std::string>
54 amrex::Vector<std::string>
56 bool has_surface_layer);
58 amrex::Vector<std::string>
60 bool has_surface_layer,
61 const amrex::Vector<std::string>& active_lsm_names);
63 SelectedWaterPathComponents
71 const amrex::MultiFab&
cons,
73 const amrex::Geometry& geom,
74 const amrex::MultiFab& detJ);
std::string name
Definition: ERF_Plotfile2DCatalog.cpp:101
@ cons
Definition: ERF_IndexDefines.H:176
Definition: ERF_Plotfile2DCatalog.cpp:10
amrex::Vector< WaterPathDescriptor > active_condensed_water_path_descriptors(const SolverChoice &solver_choice)
Definition: ERF_Plotfile2DWaterPath.cpp:68
DiagnosticID
Definition: ERF_Plotfile2DCatalog.H:15
bool is_condensed_water_path(DiagnosticID id) noexcept
Definition: ERF_Plotfile2DWaterPath.cpp:53
static constexpr int MaxCondensedWaterPathComponents
Definition: ERF_Plotfile2DWaterPath.H:24
void fill_condensed_water_paths(MultiFab &dst, const MultiFab &cons, const SelectedWaterPathComponents &selected, const Geometry &geom, const MultiFab &detJ)
Definition: ERF_Plotfile2DWaterPath.cpp:239
bool is_condensed_water_path_name(const std::string &name)
Definition: ERF_Plotfile2DWaterPath.cpp:84
amrex::Vector< std::string > available_diagnostic_names(const SolverChoice &solver_choice)
Definition: ERF_Plotfile2DWaterPath.cpp:142
SelectedWaterPathComponents selected_condensed_water_path_components(const amrex::Vector< std::string > &plot_var_names, const SolverChoice &solver_choice)
Definition: ERF_Plotfile2DWaterPath.cpp:214
Definition: ERF_DataStruct.H:241
Definition: ERF_Plotfile2DWaterPath.H:34
amrex::GpuArray< int, MaxCondensedWaterPathComponents > dst_comp
Definition: ERF_Plotfile2DWaterPath.H:36
int n
Definition: ERF_Plotfile2DWaterPath.H:35
amrex::GpuArray< int, MaxCondensedWaterPathComponents > src_comp
Definition: ERF_Plotfile2DWaterPath.H:37
Definition: ERF_Plotfile2DWaterPath.H:27
DiagnosticID id
Definition: ERF_Plotfile2DWaterPath.H:28
int source_component
Definition: ERF_Plotfile2DWaterPath.H:30
const char * name
Definition: ERF_Plotfile2DWaterPath.H:29