ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_Plotfile2DCatalog.H
Go to the documentation of this file.
1 #ifndef ERF_PLOTFILE2DCATALOG_H_
2 #define ERF_PLOTFILE2DCATALOG_H_
3 
4 #include <string>
5 
6 #include <AMReX_Vector.H>
7 
8 namespace plotfile2d
9 {
10 
11 enum class DiagnosticID
12 {
13  ZSurf,
14  LandMask,
15  MapFac,
16  LatM,
17  LonM,
18  UStar,
19  WStar,
20  TStar,
21  QStar,
22  Olen,
23  Pblh,
24  TSurf,
25  QSurf,
26  Z0,
27  OLR,
28  SensFlux,
29  LatenFlux,
30  SurfPres,
35  ShocUStar,
36  ShocOlen,
38 };
39 
41 {
42  Geometry,
44  Radiation,
46  PBL,
49 };
50 
51 enum class MissingPolicy
52 {
56 };
57 
59 {
61  const char* name;
62  const char* long_name;
63  const char* units;
66 };
67 
68 const amrex::Vector<DiagnosticDescriptor>& diagnostic_catalog ();
69 
70 amrex::Vector<std::string> diagnostic_names ();
71 
72 const DiagnosticDescriptor* find_diagnostic (const std::string& name);
73 
74 } // namespace plotfile2d
75 
76 #endif
Definition: ERF_Plotfile2DCatalog.cpp:4
amrex::Vector< std::string > diagnostic_names()
Definition: ERF_Plotfile2DCatalog.cpp:62
DiagnosticID
Definition: ERF_Plotfile2DCatalog.H:12
DiagnosticCategory
Definition: ERF_Plotfile2DCatalog.H:41
const amrex::Vector< DiagnosticDescriptor > & diagnostic_catalog()
Definition: ERF_Plotfile2DCatalog.cpp:56
MissingPolicy
Definition: ERF_Plotfile2DCatalog.H:52
const DiagnosticDescriptor * find_diagnostic(const std::string &name)
Definition: ERF_Plotfile2DCatalog.cpp:75
Definition: ERF_Plotfile2DCatalog.H:59
DiagnosticID id
Definition: ERF_Plotfile2DCatalog.H:60
MissingPolicy missing_policy
Definition: ERF_Plotfile2DCatalog.H:65
const char * name
Definition: ERF_Plotfile2DCatalog.H:61
const char * units
Definition: ERF_Plotfile2DCatalog.H:63
DiagnosticCategory category
Definition: ERF_Plotfile2DCatalog.H:64
const char * long_name
Definition: ERF_Plotfile2DCatalog.H:62