ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_NCPlotFile.H
Go to the documentation of this file.
1 /**
2  * \file ERF_NCPlotFile.H
3  */
4 #ifndef ERF_NCPLOTFILE_H_
5 #define ERF_NCPLOTFILE_H_
6 
7 #include <string>
8 
9 #include <AMReX_Array.H>
10 #include <AMReX_Box.H>
11 #include <AMReX_MultiFab.H>
12 #include <AMReX_Vector.H>
13 
14 #include "ERF_DataStruct.H"
15 
16 // Narrow declaration home for the ERF NetCDF plotfile writer used by the 2D
17 // plotfile assembly path. Keep this header small so the IO split remains easy
18 // to understand when NetCDF support is enabled or disabled.
19 
20 #ifdef ERF_USE_NETCDF
21 void
22 writeNCPlotFile (int lev, int which_subdomain, const std::string& dir,
23  const amrex::Vector<const amrex::MultiFab*> &plotMF,
24  const amrex::Vector<std::string> &plot_var_names,
25  const amrex::Vector<int>& level_steps,
26  amrex::Array<amrex::Real,AMREX_SPACEDIM> prob_lo,
27  amrex::Array<amrex::Real,AMREX_SPACEDIM> prob_hi,
28  amrex::Array<amrex::Real,AMREX_SPACEDIM> dx_in,
29  const amrex::Box& subdomain,
30  const double& time,
31  const double& start_bdy_time,
32  const SolverChoice& solverChoice,
33  const amrex::Vector<amrex::Real>& zlevels_stag);
34 #endif
35 
36 #endif
const GpuArray< Real, AMREX_SPACEDIM > prob_lo
Definition: ERF_InitCustomPert_CloudChamber.H:33
const amrex::Real * prob_hi
Definition: ERF_InitCustomPert_DataAssimilation_ISV.H:17
void writeNCPlotFile(int lev, int which_subdomain, const std::string &dir, const Vector< const MultiFab * > &plotMF, const Vector< std::string > &plot_var_names, const Vector< int > &, Array< Real, AMREX_SPACEDIM > prob_lo, Array< Real, AMREX_SPACEDIM > prob_hi, Array< Real, AMREX_SPACEDIM > dx_in, const Box &subdomain, const double &time, const double &start_bdy_time, const SolverChoice &solverChoice, const Vector< Real > &zlevels_stag)
Definition: ERF_NCPlotFile.cpp:20
Definition: ERF_DataStruct.H:241