37 template <
typename V>
class DataWithGhostNodes;
42 class AbstractDataWithGhostNodes;
definition of class АVec<T>
The class represents a matrix elements of Element.
The class represents several ElementData.
The class represents several Element.
Numerical method for fluid flow.
std::shared_ptr< AVec< int > > fShiftsIncrement
void setViscosity(Param nu)
const VectorTemplate * getVectorTemplate() const
LBGK(DataD v, Param nu, const VectorTemplate *vT)
virtual void init0()
full initialisation but without kernel->setup()
std::vector< acl::SPKernel > copyKernels
virtual void preProcessing()
contains classical moving procedure
acl::VectorOfElements computeRho(acl::VectorOfElements f, const VectorTemplate *vt)
returns VectorOfElements with values of rho
LBGK(Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
acl::VectorOfElementsData fPool
acl::VectorOfElements computeMomentum(acl::VectorOfElements f, const VectorTemplate *vt)
returns VectorOfElements with values of velocity
acl::VectorOfElements Param
double getViscosity(unsigned int i=0)
const VectorTemplate * vectorTemplate
void setVectorTemplate(const VectorTemplate *vT)
SPDataWithGhostNodesACLData DataD
void createData(Block b, acl::CommandQueue queue, acl::TypeID type)
const bool & getCompressible() const
void setCompressible(bool flag=true)
std::shared_ptr< AVec< int > > fShifts
void setOmega(Param w)
sets angular velocity for Coriolis term in noninertial reference frame
SPDataWithGhostNodesACL Data
virtual void init0()
full initialisation but without kernel->setup()
LBGKTurbulence(Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
LBGKTurbulence(DataD v, Param nu, const VectorTemplate *vT)
contains different kernels for preprocessing and posprocessing of data used by LBGK
void computeRhoVelocity()
void initF(Param rho, Param vel)
LBGKUtilities(SPLBGK lbgk)
void initF(Param vel)
dencity is suposed to be 1
Defines set of vectros with several properties.
SPDataWrapperACLData generateDataContainerACL_SP(const Block &b, unsigned int n=1)
generates pointer to ACL Data field with n components
acl::TypeID type(acl::typeToTypeID< FlT >())
std::shared_ptr< cl::CommandQueue > CommandQueue
std::shared_ptr< Kernel > SPKernel
Advanced Simulation Library.
DataWithGhostNodes< acl::VectorOfElementsData > DataWithGhostNodesACLData
std::shared_ptr< LBGKUtilities > SPLBGKUtilities
acl::MatrixOfElements generateLBGKMatrix(acl::VectorOfElements nu)
std::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes
acl::MatrixOfElements generateDifKinMatrix(acl::VectorOfElements nu)
acl::VectorOfElements generateInverceVector(acl::VectorOfElements f, const VectorTemplate *vt)
generates Vector Of Elements with inverce components according to vt
std::shared_ptr< LBGKTurbulence > SPLBGKTurbulence
DataWithGhostNodes< acl::VectorOfElements > DataWithGhostNodesACL
std::shared_ptr< DataWithGhostNodesACL > SPDataWithGhostNodesACL
std::shared_ptr< DataWithGhostNodesACLData > SPDataWithGhostNodesACLData
acl::MatrixOfElements generateMRTMatrix(acl::VectorOfElements nu)
std::shared_ptr< LBGK > SPLBGK