ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
37 template <
typename V>
class DataWithGhostNodes;
42 class AbstractDataWithGhostNodes;
115 bool compVel=
true,
bool compRho=
true,
168 bool compVel=
true,
bool compRho=
true,
DataWithGhostNodes< acl::VectorOfElements > DataWithGhostNodesACL
acl::VectorOfElements generateInverceVector(acl::VectorOfElements f, const VectorTemplate *vt)
generates Vector Of Elements with inverce components according to vt
LBGKUtilities(SPLBGK lbgk)
double getViscosity(unsigned int i=0)
acl::VectorOfElements Param
Numerical method for fluid flow.
void setVectorTemplate(const VectorTemplate *vT)
const VectorTemplate * vectorTemplate
The class represents several ElementData.
std::shared_ptr< DataWithGhostNodesACLData > SPDataWithGhostNodesACLData
acl::MatrixOfElements generateDifKinMatrix(acl::VectorOfElements nu)
SPDataWithGhostNodesACL Data
std::shared_ptr< Kernel > SPKernel
std::shared_ptr< LBGKTurbulence > SPLBGKTurbulence
acl::MatrixOfElements generateLBGKMatrix(acl::VectorOfElements nu)
The class represents a matrix elements of Element.
acl::VectorOfElementsData fPool
std::shared_ptr< LBGKUtilities > SPLBGKUtilities
acl::VectorOfElements computeMomentum(acl::VectorOfElements f, const VectorTemplate *vt)
returns VectorOfElements with values of velocity
LBGKTurbulence(Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
LBGK(DataD v, Param nu, const VectorTemplate *vT)
std::shared_ptr< cl::CommandQueue > CommandQueue
DataWithGhostNodes< acl::VectorOfElementsData > DataWithGhostNodesACLData
std::shared_ptr< LBGK > SPLBGK
LBGK(Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
const bool & getCompressible() const
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
The class represents several Element.
void initF(Param rho, Param vel)
void setViscosity(Param nu)
acl::MatrixOfElements generateMRTMatrix(acl::VectorOfElements nu)
virtual void init0()
full initialisation but without kernel->setup()
void createData(Block b, acl::CommandQueue queue, acl::TypeID type)
void computeRhoVelocity()
definition of class АVec<T>
void initF(Param vel)
dencity is suposed to be 1
std::shared_ptr< AVec< int > > fShifts
LBGKTurbulence(DataD v, Param nu, const VectorTemplate *vT)
virtual void init0()
full initialisation but without kernel->setup()
const VectorTemplate * getVectorTemplate() const
Defines set of vectros with several properties.
void setCompressible(bool flag=true)
virtual void preProcessing()
contains classical moving procedure
std::shared_ptr< AVec< int > > fShiftsIncrement
std::shared_ptr< DataWithGhostNodesACL > SPDataWithGhostNodesACL
acl::VectorOfElements computeRho(acl::VectorOfElements f, const VectorTemplate *vt)
returns VectorOfElements with values of rho
Advanced Simulation Library.
SPDataWithGhostNodesACLData DataD
acl::TypeID type(acl::typeToTypeID< FlT >())
std::vector< acl::SPKernel > copyKernels
std::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes