/home/runner/work/amr-wind/amr-wind/amr-wind/physics/ForestDrag.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
ForestDrag.H
Go to the documentation of this file.
Definition CFDSim.H:51
Definition Field.H:116
Definition ForestDrag.H:88
amrex::Vector< Forest > read_forest(const int level) const
Definition ForestDrag.cpp:88
void initialize_fields(int, const amrex::Geometry &) override
Definition ForestDrag.cpp:30
static std::string identifier()
Definition ForestDrag.H:90
void pre_advance_work() override
Definition ForestDrag.H:105
void post_init_actions() override
Definition ForestDrag.H:101
void post_advance_work() override
Definition ForestDrag.H:107
void pre_init_actions() override
Definition ForestDrag.H:99
~ForestDrag() override=default
void post_regrid_actions() override
Definition ForestDrag.cpp:80
static constexpr amrex::Real TIGHT_TOL
A tight tolerance.
Definition constants.H:19
Definition ForestDrag.cpp:10
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real trapz(const amrex::Real xa, const amrex::Real xb, const int n, const Function &f)
Definition integrals.H:12
amrex::Box realbox_to_box(const amrex::RealBox &rbx, const amrex::Geometry &geom)
Definition index_operations.cpp:5
Definition ForestDrag.H:14
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::RealBox real_bounding_box(const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &prob_lo) const
Definition ForestDrag.H:62
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real lm() const
Definition ForestDrag.H:25
amrex::Box bounding_box(const amrex::Geometry &geom) const
Definition ForestDrag.H:76
amrex::Real m_diameter_forest
Definition ForestDrag.H:20
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real area_fraction(const amrex::Real z, const amrex::Real treelaimax) const
Definition ForestDrag.H:46
Generated by 1.12.0