MacProjOp Class Reference

AMR-Wind API: amr_wind::pde::MacProjOp Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches

#include <icns_advection.H>

Collaboration diagram for amr_wind::pde::MacProjOp:
[legend]

Public Types

using FaceFabPtrVec
 

Public Member Functions

 MacProjOp (FieldRepo &, PhysicsMgr &, bool, bool, bool, bool)
 
void set_inflow_velocity (amrex::Real time)
 
void operator() (const FieldState fstate, const amrex::Real dt)
 
amrex::Real rho0 () const
 

Static Public Member Functions

static void mac_proj_to_uniform_space (const amr_wind::FieldRepo &, amr_wind::Field &, amr_wind::Field &, amr_wind::Field &, amrex::Array< amrex::MultiFab *, ICNS::ndim > &, amrex::Real, int) noexcept
 

Private Member Functions

void init_projector (const FaceFabPtrVec &) noexcept
 
void init_projector (const amrex::Real) noexcept
 
void enforce_inout_solvability (const amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > > &a_umac) noexcept
 

Private Attributes

FieldRepom_repo
 
PhysicsMgrm_phy_mgr
 
std::unique_ptr< Hydro::MacProjector > m_mac_proj
 
MLMGOptions m_options
 
bool m_has_overset {false}
 
bool m_need_init {true}
 
bool m_variable_density {false}
 
bool m_mesh_mapping {false}
 
bool m_is_anelastic {false}
 
amrex::Real m_rho_0 {1.0}
 

Member Typedef Documentation

◆ FaceFabPtrVec

Initial value:
amrex::Vector<amrex::Array<const amrex::MultiFab*, ICNS::ndim>>

Constructor & Destructor Documentation

◆ MacProjOp()

amr_wind::pde::MacProjOp::MacProjOp ( FieldRepo & repo,
PhysicsMgr & phy_mgr,
bool has_overset,
bool variable_density,
bool mesh_mapping,
bool is_anelastic )

Member Function Documentation

◆ enforce_inout_solvability()

void amr_wind::pde::MacProjOp::enforce_inout_solvability ( const amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > > & a_umac)
privatenoexcept

◆ init_projector() [1/2]

void amr_wind::pde::MacProjOp::init_projector ( const amrex::Real beta)
privatenoexcept

◆ init_projector() [2/2]

void amr_wind::pde::MacProjOp::init_projector ( const FaceFabPtrVec & beta)
privatenoexcept

◆ mac_proj_to_uniform_space()

void amr_wind::pde::MacProjOp::mac_proj_to_uniform_space ( const amr_wind::FieldRepo & repo,
amr_wind::Field & u_mac,
amr_wind::Field & v_mac,
amr_wind::Field & w_mac,
amrex::Array< amrex::MultiFab *, ICNS::ndim > & rho_face,
amrex::Real ovst_fac,
int lev )
staticnoexcept

◆ operator()()

void amr_wind::pde::MacProjOp::operator() ( const FieldState fstate,
const amrex::Real dt )

◆ rho0()

amrex::Real amr_wind::pde::MacProjOp::rho0 ( ) const
inline

◆ set_inflow_velocity()

void amr_wind::pde::MacProjOp::set_inflow_velocity ( amrex::Real time)

Member Data Documentation

◆ m_has_overset

bool amr_wind::pde::MacProjOp::m_has_overset {false}
private

◆ m_is_anelastic

bool amr_wind::pde::MacProjOp::m_is_anelastic {false}
private

◆ m_mac_proj

std::unique_ptr<Hydro::MacProjector> amr_wind::pde::MacProjOp::m_mac_proj
private

◆ m_mesh_mapping

bool amr_wind::pde::MacProjOp::m_mesh_mapping {false}
private

◆ m_need_init

bool amr_wind::pde::MacProjOp::m_need_init {true}
private

◆ m_options

MLMGOptions amr_wind::pde::MacProjOp::m_options
private

◆ m_phy_mgr

PhysicsMgr& amr_wind::pde::MacProjOp::m_phy_mgr
private

◆ m_repo

FieldRepo& amr_wind::pde::MacProjOp::m_repo
private

◆ m_rho_0

amrex::Real amr_wind::pde::MacProjOp::m_rho_0 {1.0}
private

◆ m_variable_density

bool amr_wind::pde::MacProjOp::m_variable_density {false}
private

The documentation for this class was generated from the following files:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/icns_advection.H
  • /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/icns/icns_advection.cpp