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;
The class represents a matrix elements of Element.
The class represents several ElementData.
The class represents several Element.
Numerical method for fluid flow.
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)
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
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