1 #ifndef ERF_EB_STRUCT_H_
2 #define ERF_EB_STRUCT_H_
7 #include <AMReX_ParmParse.H>
8 #include <AMReX_Print.H>
44 amrex::ParmParse
pp(pp_prefix);
46 static std::string eb_boundary_type_string =
"NoSlipWall";
47 pp.query(
"eb_boundary_type",eb_boundary_type_string);
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")) {
56 amrex::Error(
"Don't know this eb_boundary_type");
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;
EBTauType
Embedded-boundary stress component indices.
Definition: ERF_EBStruct.H:21
@ tau_eb23
Definition: ERF_EBStruct.H:22
@ tau_eb13
Definition: ERF_EBStruct.H:22
EBBoundaryType
Boundary condition model applied on embedded-boundary surfaces.
Definition: ERF_EBStruct.H:14
EBGridType
Grid centering used for embedded-boundary data.
Definition: ERF_EBStruct.H:28
@ yface
Definition: ERF_EBStruct.H:29
@ zface
Definition: ERF_EBStruct.H:29
@ xface
Definition: ERF_EBStruct.H:29
Definition: ERF_SurfaceLayer.H:34
Definition: ERF_EBStruct.H:36
void init_params(std::string pp_prefix)
Read embedded-boundary options from the input parameter database.
Definition: ERF_EBStruct.H:42
void display()
Print the configured embedded-boundary options.
Definition: ERF_EBStruct.H:63
EBBoundaryType eb_boundary_type
Boundary condition model applied on embedded-boundary surfaces.
Definition: ERF_EBStruct.H:75