/home/runner/work/kynema-sgf/kynema-sgf/src/physics/ForestDrag.H Source File
|
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
ForestDrag.H
Go to the documentation of this file.
Definition CFDSim.H:55
Definition Field.H:112
void pre_advance_work() override
Definition ForestDrag.H:182
int m_point_neighbors
Definition ForestDrag.H:208
amrex::Vector< amrex::Real > m_forest_cd
Definition ForestDrag.H:205
~ForestDrag() override=default
void post_regrid_actions() override
Definition ForestDrag.cpp:307
void initialize_fields(int, const amrex::Geometry &) override
Definition ForestDrag.cpp:131
void post_advance_work() override
Definition ForestDrag.H:184
std::string m_forest_file
Definition ForestDrag.H:203
amrex::Vector< std::string > m_point_cloud_files
Definition ForestDrag.H:204
amrex::Real m_point_interp_eps
Definition ForestDrag.H:209
void pre_init_actions() override
Definition ForestDrag.H:176
static std::string identifier()
Definition ForestDrag.H:167
void post_init_actions() override
Definition ForestDrag.H:178
amrex::Vector< Forest > read_cylinder_forests(int level) const
Definition ForestDrag.cpp:316
amrex::Vector< Forest > read_point_cloud_forests(int level, amrex::Vector< ForestPoint > &points, amrex::Vector< ForestHullEdge > &hull_edges) const
Definition ForestDrag.cpp:356
static constexpr amrex::Real TIGHT_TOL
A tight tolerance.
Definition constants.H:17
Definition ForestDrag.cpp:20
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:14
amrex::Box realbox_to_box(const amrex::RealBox &rbx, const amrex::Geometry &geom)
Definition index_operations.cpp:5
Definition ForestDrag.H:27
amrex::Box bounding_box(const amrex::Geometry &geom) const
Definition ForestDrag.H:144
AMREX_GPU_DEVICE AMREX_FORCE_INLINE bool point_in_on_hull(const amrex::Real px, const amrex::Real py, const ForestHullEdge *hull_edges) const
Definition ForestDrag.H:103
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real lm() const
Definition ForestDrag.H:61
amrex::Real m_height_forest
Definition ForestDrag.H:46
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real area_fraction(const amrex::Real z, const amrex::Real treelaimax) const
Definition ForestDrag.H:85
int m_cloud_point_count
Definition ForestDrag.H:36
amrex::Real m_laimax_forest
Definition ForestDrag.H:50
amrex::Real m_diameter_forest
Definition ForestDrag.H:47
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:123
int m_cloud_point_offset
Definition ForestDrag.H:35
Definition ForestDrag.H:18
amrex::Real m_tol_scale
Definition ForestDrag.H:22
Definition ForestDrag.H:153
Generated by