ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
EBChoice Struct Reference

#include <ERF_EBStruct.H>

Collaboration diagram for EBChoice:

Public Member Functions

void init_params (std::string pp_prefix)
 Read embedded-boundary options from the input parameter database. More...
 
void display ()
 Print the configured embedded-boundary options. More...
 

Public Attributes

EBBoundaryType eb_boundary_type = EBBoundaryType::SlipWall
 Boundary condition model applied on embedded-boundary surfaces. More...
 

Detailed Description

Container holding EB-related choices

Member Function Documentation

◆ display()

void EBChoice::display ( )
inline

Print the configured embedded-boundary options.

64  {
65  amrex::Print() << "EB choices: " << std::endl;
67  amrex::Print() << " eb_boundary_type : SlipWall" << std::endl;
69  amrex::Print() << " eb_boundary_type : NoSlipWall" << std::endl;
71  amrex::Print() << " eb_boundary_type : SurfaceLayer" << std::endl;
72  }
73  }
EBBoundaryType eb_boundary_type
Boundary condition model applied on embedded-boundary surfaces.
Definition: ERF_EBStruct.H:75

Referenced by SolverChoice::display().

Here is the caller graph for this function:

◆ init_params()

void EBChoice::init_params ( std::string  pp_prefix)
inline

Read embedded-boundary options from the input parameter database.

Parameters
pp_prefixParmParse prefix for the ERF input namespace.
43  {
44  amrex::ParmParse pp(pp_prefix);
45 
46  static std::string eb_boundary_type_string = "NoSlipWall";
47  pp.query("eb_boundary_type",eb_boundary_type_string);
48 
49  if (!eb_boundary_type_string.compare("SlipWall")) {
51  } else if (!eb_boundary_type_string.compare("NoSlipWall")) {
53  } else if (!eb_boundary_type_string.compare("SurfaceLayer")) {
55  } else {
56  amrex::Error("Don't know this eb_boundary_type");
57  }
58  }
ParmParse pp("prob")

Referenced by SolverChoice::init_params().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ eb_boundary_type

EBChoice::eb_boundary_type = EBBoundaryType::SlipWall

Boundary condition model applied on embedded-boundary surfaces.

Referenced by DiffusionSrcForState_EB(), display(), erf_slow_rhs_pre(), and init_params().


The documentation for this struct was generated from the following file: