VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::gpu::Forest Class Reference

#include <Forest.h>

Inheritance diagram for vf::gpu::Forest:
vf::gpu::PreCollisionInteractor

Public Member Functions

 Forest (SPtr< Parameter > para, SPtr< CudaMemoryManager > cudaMemoryManager, real height, real dragCoefficient, real plantAreaIndex, int level, PlantAreaDensityFunction plantAreaDensityFunction)
 
 ~Forest () override
 
void init () override
 
void interact (int level, uint t) override
 
void getTaggedFluidNodes (GridProvider *gridProvider) override
 
uint getNumberOfIndices () const
 
- Public Member Functions inherited from vf::gpu::PreCollisionInteractor
 PreCollisionInteractor (SPtr< Parameter > para, SPtr< CudaMemoryManager > cudaMemoryManager)
 
virtual ~PreCollisionInteractor ()=default
 

Public Attributes

uintforestIndicesH
 
uintforestIndicesD
 
realforestVelocitiesXPreviousTimestepD
 
realforestVelocitiesYPreviousTimestepD
 
realforestVelocitiesZPreviousTimestepD
 
realleafAreaDensityH
 
realleafAreaDensityD
 

Protected Attributes

const real height
 
const real dragCoefficient
 
const real plantAreaIndex
 
const int level
 
PlantAreaDensityFunction plantAreaDensityFunction
 
uint numberOfIndices {0}
 
real forceRatio
 
- Protected Attributes inherited from vf::gpu::PreCollisionInteractor
SPtr< Parameterpara
 
SPtr< CudaMemoryManagercudaMemoryManager
 

Detailed Description

Definition at line 50 of file Forest.h.

Constructor & Destructor Documentation

◆ Forest()

vf::gpu::Forest::Forest ( SPtr< Parameter para,
SPtr< CudaMemoryManager cudaMemoryManager,
real  height,
real  dragCoefficient,
real  plantAreaIndex,
int  level,
PlantAreaDensityFunction  plantAreaDensityFunction 
)
inline

Definition at line 53 of file Forest.h.

◆ ~Forest()

vf::gpu::Forest::~Forest ( )
override

Member Function Documentation

◆ getNumberOfIndices()

uint vf::gpu::Forest::getNumberOfIndices ( ) const
inline

Definition at line 73 of file Forest.h.

◆ getTaggedFluidNodes()

void vf::gpu::Forest::getTaggedFluidNodes ( GridProvider gridProvider)
overridevirtual

◆ init()

void vf::gpu::Forest::init ( )
overridevirtual

◆ interact()

void vf::gpu::Forest::interact ( int  level,
uint  t 
)
overridevirtual

Member Data Documentation

◆ dragCoefficient

const real vf::gpu::Forest::dragCoefficient
protected

Definition at line 94 of file Forest.h.

◆ forceRatio

real vf::gpu::Forest::forceRatio
protected

Definition at line 99 of file Forest.h.

◆ forestIndicesD

uint* vf::gpu::Forest::forestIndicesD

Definition at line 85 of file Forest.h.

◆ forestIndicesH

uint* vf::gpu::Forest::forestIndicesH

Definition at line 84 of file Forest.h.

◆ forestVelocitiesXPreviousTimestepD

real* vf::gpu::Forest::forestVelocitiesXPreviousTimestepD

Definition at line 86 of file Forest.h.

◆ forestVelocitiesYPreviousTimestepD

real* vf::gpu::Forest::forestVelocitiesYPreviousTimestepD

Definition at line 87 of file Forest.h.

◆ forestVelocitiesZPreviousTimestepD

real* vf::gpu::Forest::forestVelocitiesZPreviousTimestepD

Definition at line 88 of file Forest.h.

◆ height

const real vf::gpu::Forest::height
protected

Definition at line 93 of file Forest.h.

◆ leafAreaDensityD

real* vf::gpu::Forest::leafAreaDensityD

Definition at line 90 of file Forest.h.

◆ leafAreaDensityH

real* vf::gpu::Forest::leafAreaDensityH

Definition at line 89 of file Forest.h.

◆ level

const int vf::gpu::Forest::level
protected

Definition at line 96 of file Forest.h.

◆ numberOfIndices

uint vf::gpu::Forest::numberOfIndices {0}
protected

Definition at line 98 of file Forest.h.

◆ plantAreaDensityFunction

PlantAreaDensityFunction vf::gpu::Forest::plantAreaDensityFunction
protected

Definition at line 97 of file Forest.h.

◆ plantAreaIndex

const real vf::gpu::Forest::plantAreaIndex
protected

Definition at line 95 of file Forest.h.


The documentation for this class was generated from the following file: