Forest Struct Reference

Kynema-SGF API: kynema_sgf::forestdrag::Forest Struct Reference
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
kynema_sgf::forestdrag::Forest Struct Reference

#include <ForestDrag.H>

Public Member Functions

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real lm () const
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real area_fraction (const amrex::Real z, const amrex::Real treelaimax) const
AMREX_GPU_DEVICE AMREX_FORCE_INLINE bool point_in_on_hull (const amrex::Real px, const amrex::Real py, const ForestHullEdge *hull_edges) const
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::RealBox real_bounding_box (const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &prob_lo) const
amrex::Box bounding_box (const amrex::Geometry &geom) const

Public Attributes

int m_id {-1}
int m_drag_mode {0}
int m_cloud_point_offset {0}
int m_cloud_point_count {0}
int m_hull_edge_offset {0}
int m_hull_edge_count {0}
amrex::Real m_type_forest
amrex::Real m_x_forest
amrex::Real m_y_forest
amrex::Real m_height_forest
amrex::Real m_diameter_forest
amrex::Real m_cd_forest
amrex::Real m_lai_forest
amrex::Real m_laimax_forest
amrex::Real m_bbox_xlo {0.0_rt}
amrex::Real m_bbox_ylo {0.0_rt}
amrex::Real m_bbox_zlo {0.0_rt}
amrex::Real m_bbox_xhi {0.0_rt}
amrex::Real m_bbox_yhi {0.0_rt}
amrex::Real m_bbox_zhi {0.0_rt}

Member Function Documentation

◆ area_fraction()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real kynema_sgf::forestdrag::Forest::area_fraction ( const amrex::Real z,
const amrex::Real treelaimax ) const
inline

◆ bounding_box()

amrex::Box kynema_sgf::forestdrag::Forest::bounding_box ( const amrex::Geometry & geom) const
inlinenodiscard

◆ lm()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real kynema_sgf::forestdrag::Forest::lm ( ) const
inline

◆ point_in_on_hull()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE bool kynema_sgf::forestdrag::Forest::point_in_on_hull ( const amrex::Real px,
const amrex::Real py,
const ForestHullEdge * hull_edges ) const
inline

◆ real_bounding_box()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::RealBox kynema_sgf::forestdrag::Forest::real_bounding_box ( const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & prob_lo) const
inline

Member Data Documentation

◆ m_bbox_xhi

amrex::Real kynema_sgf::forestdrag::Forest::m_bbox_xhi {0.0_rt}

◆ m_bbox_xlo

amrex::Real kynema_sgf::forestdrag::Forest::m_bbox_xlo {0.0_rt}

◆ m_bbox_yhi

amrex::Real kynema_sgf::forestdrag::Forest::m_bbox_yhi {0.0_rt}

◆ m_bbox_ylo

amrex::Real kynema_sgf::forestdrag::Forest::m_bbox_ylo {0.0_rt}

◆ m_bbox_zhi

amrex::Real kynema_sgf::forestdrag::Forest::m_bbox_zhi {0.0_rt}

◆ m_bbox_zlo

amrex::Real kynema_sgf::forestdrag::Forest::m_bbox_zlo {0.0_rt}

◆ m_cd_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_cd_forest

◆ m_cloud_point_count

int kynema_sgf::forestdrag::Forest::m_cloud_point_count {0}

◆ m_cloud_point_offset

int kynema_sgf::forestdrag::Forest::m_cloud_point_offset {0}

◆ m_diameter_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_diameter_forest

◆ m_drag_mode

int kynema_sgf::forestdrag::Forest::m_drag_mode {0}

◆ m_height_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_height_forest

◆ m_hull_edge_count

int kynema_sgf::forestdrag::Forest::m_hull_edge_count {0}

◆ m_hull_edge_offset

int kynema_sgf::forestdrag::Forest::m_hull_edge_offset {0}

◆ m_id

int kynema_sgf::forestdrag::Forest::m_id {-1}

◆ m_lai_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_lai_forest

◆ m_laimax_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_laimax_forest

◆ m_type_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_type_forest

◆ m_x_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_x_forest

◆ m_y_forest

amrex::Real kynema_sgf::forestdrag::Forest::m_y_forest

The documentation for this struct was generated from the following file:
  • /home/runner/work/kynema-sgf/kynema-sgf/src/physics/ForestDrag.H