10#include "AMReX_REAL.H"
13using namespace amrex::literals;
22class Flather :
public FieldBoundary::Register<Flather>
39 amrex::MultiFab& mfab,
41 int orig_comp = 0)
const override;
46 const bool use_mac_fields =
false)
60 bool use_mac_fields =
false)
const;
65 int lev,
FieldState fstate,
bool use_mac_fields =
false);
76 amrex::Vector<amrex::Real>
m_gravity{0.0_rt, 0.0_rt, -9.81_rt};
Definition FieldRepo.H:86
MultiLevelVector m_ylo_bnd_h
Definition Flather.H:98
amrex::Real m_velocity_scale_factor_max
Definition Flather.H:77
const kynema_sgf::SimTime & m_time
Definition Flather.H:68
MultiLevelVector m_yhi_uhmix
Definition Flather.H:87
MultiLevelVector m_xhi_uhliq
Definition Flather.H:81
void update_flather_variables(const int lev, const FieldState fstate, const bool use_mac_fields=false)
Definition Flather.H:43
amrex::Vector< amrex::Real > m_gravity
Definition Flather.H:76
MultiLevelVector m_yhi_uhliq
Definition Flather.H:83
MultiLevelVector m_ylo_bnd_uh
Definition Flather.H:90
void accumulate_boundary(int current_level, int idir, int phase_switch, bool is_low, MultiLevelVector &out_uvec, MultiLevelVector &out_hvec, bool sample_boundary, FieldState fstate, bool use_mac_fields=false) const
Definition Flather.cpp:78
MultiLevelVector m_xlo_bnd_h
Definition Flather.H:96
MultiLevelVector m_ylo_h
Definition Flather.H:94
Field & m_velocity
Definition Flather.H:71
MultiLevelVector m_yhi_bnd_uh
Definition Flather.H:91
const amrex::AmrCore & m_mesh
Definition Flather.H:70
const Field & m_v_mac
Definition Flather.H:73
MultiLevelVector m_xhi_bnd_h
Definition Flather.H:97
const Field & m_u_mac
Definition Flather.H:72
MultiLevelVector m_xhi_h
Definition Flather.H:93
const FieldRepo & m_repo
Definition Flather.H:69
MultiLevelVector m_ylo_uhmix
Definition Flather.H:86
MultiLevelVector m_yhi_h
Definition Flather.H:95
MultiLevelVector m_xlo_h
Definition Flather.H:92
MultiLevelVector m_xlo_uhliq
Definition Flather.H:80
MultiLevelVector m_xhi_uhmix
Definition Flather.H:85
amrex::Real m_velocity_scale_factor_min
Definition Flather.H:78
void compute_boundary_z_averages(int lev, FieldState fstate, bool use_mac_fields=false)
Definition Flather.cpp:299
MultiLevelVector m_xlo_bnd_uh
Definition Flather.H:88
void set_velocity(int lev, amrex::Real time, const Field &fld, amrex::MultiFab &mfab, int dcomp=0, int orig_comp=0) const override
Definition Flather.cpp:351
static std::string identifier()
Definition Flather.H:25
void post_advance_work() override
Definition Flather.H:33
MultiLevelVector m_xhi_bnd_uh
Definition Flather.H:89
MultiLevelVector m_ylo_uhliq
Definition Flather.H:82
MultiLevelVector m_yhi_bnd_h
Definition Flather.H:99
void compute_internal_z_averages()
Definition Flather.cpp:233
void post_init_actions() override
Definition Flather.cpp:70
const CFDSim & m_sim
Definition Flather.H:67
MultiLevelVector m_xlo_uhmix
Definition Flather.H:84
const IntField * m_terrain_blank
Definition Flather.H:75
Flather(CFDSim &sim)
Definition Flather.cpp:18
const Field & m_vof
Definition Flather.H:74
void pre_advance_work() override
Definition Flather.cpp:76
Definition MultiLevelVector.H:23
FieldState
Definition FieldDescTypes.H:16
@ CELL
Cell-centered (default)
Definition FieldDescTypes.H:30
This test case is intended as an evaluation of the momentum advection scheme.
Definition BCInterface.cpp:10