28 #include <acl/aclHardware.h> 29 #include <math/aslVectors.h> 30 #include "acl/aclMath/aclVectorOfElementsDef.h" 31 #include "acl/aclMath/aclMatrixOfElements.h" 37 template <
typename V>
class DataWithGhostNodes;
42 class AbstractDataWithGhostNodes;
77 class LBGK:
public SingleKernelNM
80 typedef SPDataWithGhostNodesACL
Data;
81 typedef SPDataWithGhostNodesACLData
DataD;
109 virtual void init0();
115 bool compVel=
true,
bool compRho=
true,
154 void computeVelocity();
155 void computeRhoVelocity();
156 void initF(Param rho, Param vel);
158 void initF(Param vel);
168 bool compVel=
true,
bool compRho=
true,
170 virtual void init0();
const bool & getCompressible() const
void setVectorTemplate(const VectorTemplate *vT)
virtual void init0()
full initialisation but without kernel->setup()
acl::VectorOfElements generateInverceVector(acl::VectorOfElements f, const VectorTemplate *vt)
generates Vector Of Elements with inverce components according to vt
Advanced Simulation Library.
Numerical method for fluid flow.
std::shared_ptr< DataWithGhostNodesACLData > SPDataWithGhostNodesACLData
std::shared_ptr< AVec< int > > fShiftsIncrement
std::shared_ptr< AVec< int > > fShifts
acl::MatrixOfElements generateDifKinMatrix(acl::VectorOfElements nu)
void setCompressible(bool flag=true)
acl::MatrixOfElements generateLBGKMatrix(acl::VectorOfElements nu)
The class represents several ElementData.
DataWithGhostNodes< acl::VectorOfElementsData > DataWithGhostNodesACLData
std::vector< acl::SPKernel > copyKernels
acl::MatrixOfElements generateMRTMatrix(acl::VectorOfElements nu)
std::shared_ptr< LBGKUtilities > SPLBGKUtilities
The class represents a matrix elements of Element.
std::shared_ptr< LBGK > SPLBGK
const VectorTemplate * getVectorTemplate() const
acl::VectorOfElements Param
acl::TypeID type(acl::typeToTypeID< FlT >())
The class represents several Element.
double getViscosity(unsigned int i=0)
virtual void preProcessing()
contains classical moving procedure
const VectorTemplate * vectorTemplate
void setViscosity(Param nu)
std::shared_ptr< LBGKTurbulence > SPLBGKTurbulence
acl::VectorOfElements computeRho(acl::VectorOfElements f, const VectorTemplate *vt)
returns VectorOfElements with values of rho
SPDataWithGhostNodesACLData DataD
acl::VectorOfElementsData fPool
std::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes
SPDataWithGhostNodesACL Data
DataWithGhostNodes< acl::VectorOfElements > DataWithGhostNodesACL
std::shared_ptr< DataWithGhostNodesACL > SPDataWithGhostNodesACL
void createData(Block b, acl::CommandQueue queue, acl::TypeID type)
Defines set of vectros with several properties.
void setOmega(Param w)
sets angular velocity for Coriolis term in noninertial reference frame
contains different kernels for preprocessing and posprocessing of data used by LBGK ...