ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::LBGKTurbulence Class Reference

#include <aslLBGK.h>

Inheritance diagram for asl::LBGKTurbulence:
Collaboration diagram for asl::LBGKTurbulence:

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()
 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()
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
void setVectorTemplate (const VectorTemplate *vT)
const VectorTemplategetVectorTemplate () const
Data getF ()
DataD getRho ()
DataD getVelocity ()
void setCompressible (bool flag=true)
const bool & getCompressible () const
 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
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.
virtual void init ()
 Builds the necesery internal data and kernels.
virtual ~SingleKernelNM ()
virtual void execute ()
 Executes the numerical procedure.
virtual void init ()
 Builds the necesery internal data and kernels.
virtual ~SingleKernelNM ()
Public Member Functions inherited from asl::NumMethod
virtual ~NumMethod ()
virtual ~NumMethod ()

Additional Inherited Members

Public Types inherited from asl::LBGK
typedef SPDataWithGhostNodesACL Data
typedef SPDataWithGhostNodesACLData DataD
typedef acl::VectorOfElements Param
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
void createData (Block b, acl::CommandQueue queue, acl::TypeID type)
void createCopyKernels ()
virtual void preProcessing ()
 contains classical moving procedure
Protected Member Functions inherited from asl::SingleKernelNM
virtual void postProcessing ()
 the function executed after kernel->compute()
 SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
virtual void postProcessing ()
 the function executed after kernel->compute()
 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/4]

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

◆ LBGKTurbulence() [2/4]

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

◆ LBGKTurbulence() [3/4]

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

◆ LBGKTurbulence() [4/4]

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() [1/2]

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

full initialisation but without kernel->setup()

Reimplemented from asl::LBGK.

◆ init0() [2/2]

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 files: