ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
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;
91 std::shared_ptr<AVec<int>>
fShifts;
115 bool compVel=
true,
bool compRho=
true,
133 typedef std::shared_ptr<LBGK>
SPLBGK;
168 bool compVel=
true,
bool compRho=
true,
std::shared_ptr< AVec< int > > fShiftsIncrement
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)
The class represents several ElementData.
std::shared_ptr< DataWithGhostNodesACLData > SPDataWithGhostNodesACLData
acl::MatrixOfElements generateDifKinMatrix(acl::VectorOfElements nu)
SPDataWithGhostNodesACL Data
const VectorTemplate * vectorTemplate
std::shared_ptr< Kernel > SPKernel
std::shared_ptr< LBGKUtilities > SPLBGKUtilities
acl::MatrixOfElements generateLBGKMatrix(acl::VectorOfElements nu)
std::vector< acl::SPKernel > copyKernels
The class represents a matrix elements of Element.
acl::VectorOfElementsData fPool
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)
const bool & getCompressible() const
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)
std::shared_ptr< AVec< int > > fShifts
void computeRhoVelocity()
void initF(Param vel)
dencity is suposed to be 1
LBGKTurbulence(DataD v, Param nu, const VectorTemplate *vT)
virtual void init0()
full initialisation but without kernel->setup()
const VectorTemplate * getVectorTemplate() const
std::shared_ptr< LBGKTurbulence > SPLBGKTurbulence
Defines set of vectros with several properties.
void setCompressible(bool flag=true)
virtual void preProcessing()
contains classical moving procedure
const VectorTemplate * getVectorTemplate() const
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::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes