28#include <acl/aclHardware.h>
29#include <math/aslVectors.h>
30#include "acl/aclMath/aclVectorOfElementsDef.h"
31#include "acl/aclMath/aclMatrixOfElements.h"
115 bool compVel=
true,
bool compRho=
true,
168 bool compVel=
true,
bool compRho=
true,
The class represents a matrix elements of Element.
The class represents several ElementData.
The class represents several Element.
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()
const VectorTemplate * vectorTemplate
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)
std::vector< acl::SPKernel > copyKernels
std::shared_ptr< AVec< int > > fShifts
void setVectorTemplate(const VectorTemplate *vT)
std::shared_ptr< AVec< int > > fShiftsIncrement
SPDataWithGhostNodesACLData DataD
void createData(Block b, acl::CommandQueue queue, acl::TypeID type)
const bool & getCompressible() const
void setCompressible(bool flag=true)
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)
void computeRhoVelocity()
void initF(Param rho, Param vel)
LBGKUtilities(SPLBGK lbgk)
void initF(Param vel)
dencity is suposed to be 1
SingleKernelNM(const acl::KernelConfiguration &kernelCongig)
Defines set of vectros with several properties.
acl::TypeID type(acl::typeToTypeID< FlT >())
std::shared_ptr< cl::CommandQueue > CommandQueue
std::shared_ptr< Kernel > SPKernel
Advanced Simulation Library.
DataWithGhostNodes< acl::VectorOfElementsData > DataWithGhostNodesACLData
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
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
std::shared_ptr< LBGKTurbulence > SPLBGKTurbulence
std::shared_ptr< LBGKUtilities > SPLBGKUtilities