ASL  0.1.7
Advanced Simulation Library
Public Member Functions | List of all members
asl::LBGKTurbulence Class Reference

#include <aslLBGK.h>

Inheritance diagram for asl::LBGKTurbulence:
Inheritance graph
[legend]
Collaboration diagram for asl::LBGKTurbulence:
Collaboration graph
[legend]

Public Member Functions

 LBGKTurbulence (DataD v, Param nu, const VectorTemplate *vT)
 
 LBGKTurbulence (Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
 
virtual void init0 ()
 full initialisation but without kernel->setup() More...
 
- Public Member Functions inherited from asl::LBGK
 LBGK ()
 
 LBGK (DataD v, Param nu, const VectorTemplate *vT)
 
 LBGK (Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
 
void setViscosity (Param nu)
 
double getViscosity (unsigned int i=0)
 
void setOmega (Param w)
 sets angular velocity for Coriolis term in noninertial reference frame More...
 
void setVectorTemplate (const VectorTemplate *vT)
 
const VectorTemplategetVectorTemplate () const
 
Data getF ()
 
DataD getRho ()
 
DataD getVelocity ()
 
void setCompressible (bool flag=true)
 
const bool & getCompressible () const
 
- Public Member Functions inherited from asl::SingleKernelNM
virtual void execute ()
 Executes the numerical procedure. More...
 
virtual void init ()
 Builds the necesery internal data and kernels. More...
 
virtual ~SingleKernelNM ()
 
- Public Member Functions inherited from asl::NumMethod
virtual ~NumMethod ()
 

Additional Inherited Members

- Public Types inherited from asl::LBGK
typedef SPDataWithGhostNodesACL Data
 
typedef SPDataWithGhostNodesACLData DataD
 
typedef acl::VectorOfElements Param
 
- Public Attributes inherited from asl::LBGK
const VectorTemplatevectorTemplate
 
- Protected Member Functions inherited from asl::LBGK
void createData (Block b, acl::CommandQueue queue, acl::TypeID type)
 
void createCopyKernels ()
 
virtual void preProcessing ()
 contains classical moving procedure More...
 
- Protected Member Functions inherited from asl::SingleKernelNM
virtual void postProcessing ()
 the function executed after kernel->compute() More...
 
 SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
 
- Protected Attributes inherited from asl::LBGK
acl::VectorOfElementsData fPool
 
Data f
 
DataD v
 
DataD rho
 
std::shared_ptr< AVec< int > > fShifts
 
std::shared_ptr< AVec< int > > fShiftsIncrement
 
std::vector< acl::SPKernelcopyKernels
 
Param viscosity
 
Param deltat
 
Param force
 
Param omega
 
bool flagComputeVelocity
 
bool flagComputeRho
 
bool flagCompressible
 
- Protected Attributes inherited from asl::SingleKernelNM
acl::SPKernel kernel
 

Detailed Description

Examples
locomotive.cc.

Definition at line 163 of file aslLBGK.h.

Constructor & Destructor Documentation

◆ LBGKTurbulence() [1/2]

asl::LBGKTurbulence::LBGKTurbulence ( DataD  v,
Param  nu,
const VectorTemplate vT 
)

◆ LBGKTurbulence() [2/2]

asl::LBGKTurbulence::LBGKTurbulence ( Block  b,
Param  nu,
const VectorTemplate vT,
bool  compVel = true,
bool  compRho = true,
acl::CommandQueue  queue = acl::hardware.defaultQueue 
)

Member Function Documentation

◆ init0()

virtual void asl::LBGKTurbulence::init0 ( )
virtual

full initialisation but without kernel->setup()

Reimplemented from asl::LBGK.


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