asl::LBGKTurbulence Class Reference

`#include <aslLBGK.h>`

Inheritance diagram for asl::LBGKTurbulence:
[legend]
Collaboration diagram for asl::LBGKTurbulence:
[legend]

## Public Member Functions

| LBGKTurbulence (DataD v, Param nu, const VectorTemplate *vT)
| LBGKTurbulence (Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
virtual void | init0 ()
| full initialisation but without kernel->setup() More...
| LBGKTurbulence (DataD v, Param nu, const VectorTemplate *vT)
| LBGKTurbulence (Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
virtual void | init0 ()
| full initialisation but without kernel->setup() More...
Public Member Functions inherited from asl::LBGK
| LBGK ()
| LBGK (DataD v, Param nu, const VectorTemplate *vT)
| LBGK (Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
void | setViscosity (Param nu)
double | getViscosity (unsigned int i=0)
void | setOmega (Param w)
| sets angular velocity for Coriolis term in noninertial reference frame More...
void | setVectorTemplate (const VectorTemplate *vT)
const VectorTemplate * | getVectorTemplate () const
Data | getF ()
DataD | getRho ()
DataD | getVelocity ()
void | setCompressible (bool flag=true)
const bool & | getCompressible () const
| LBGK ()
| LBGK (DataD v, Param nu, const VectorTemplate *vT)
| LBGK (Block b, Param nu, const VectorTemplate *vT, bool compVel=true, bool compRho=true, acl::CommandQueue queue=acl::hardware.defaultQueue)
void | setViscosity (Param nu)
double | getViscosity (unsigned int i=0)
void | setOmega (Param w)
| sets angular velocity for Coriolis term in noninertial reference frame More...
void | setVectorTemplate (const VectorTemplate *vT)
const VectorTemplate * | getVectorTemplate () const
Data | getF ()
DataD | getRho ()
DataD | getVelocity ()
void | setCompressible (bool flag=true)
const bool & | getCompressible () const
Public Member Functions inherited from asl::SingleKernelNM
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
virtual | ~SingleKernelNM ()
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
virtual | ~SingleKernelNM ()
Public Member Functions inherited from asl::NumMethod
virtual | ~NumMethod ()
virtual | ~NumMethod ()

## Additional Inherited Members

Public Types inherited from asl::LBGK
typedef SPDataWithGhostNodesACL | Data
typedef SPDataWithGhostNodesACLData | DataD
typedef acl::VectorOfElements | Param
typedef SPDataWithGhostNodesACL | Data
typedef SPDataWithGhostNodesACLData | DataD
typedef acl::VectorOfElements | Param
Public Attributes inherited from asl::LBGK
const VectorTemplate * | vectorTemplate
Protected Member Functions inherited from asl::LBGK
void | createData (Block b, acl::CommandQueue queue, acl::TypeID type)
void | createCopyKernels ()
virtual void | preProcessing ()
| contains classical moving procedure More...
void | createData (Block b, acl::CommandQueue queue, acl::TypeID type)
void | createCopyKernels ()
virtual void | preProcessing ()
| contains classical moving procedure More...
Protected Member Functions inherited from asl::SingleKernelNM
virtual void | postProcessing ()
| the function executed after kernel->compute() More...
| SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
virtual void | postProcessing ()
| the function executed after kernel->compute() More...
| SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
Protected Attributes inherited from asl::LBGK
acl::VectorOfElementsData | fPool
Data | f
DataD | v
DataD | rho
std::shared_ptr< AVec< int > > | fShifts
std::shared_ptr< AVec< int > > | fShiftsIncrement
std::vector< acl::SPKernel > | copyKernels
Param | viscosity
Param | deltat
Param | force
Param | omega
bool | flagComputeVelocity
bool | flagComputeRho
bool | flagCompressible
Protected Attributes inherited from asl::SingleKernelNM
acl::SPKernel | kernel
Related Functions inherited from asl::LBGK
acl::VectorOfElements | computeRho (acl::VectorOfElements f, const VectorTemplate *vt)
| returns VectorOfElements with values of rho More...
acl::VectorOfElements | computeMomentum (acl::VectorOfElements f, const VectorTemplate *vt)
| returns VectorOfElements with values of velocity More...
acl::VectorOfElements | computeRho (acl::VectorOfElements f, const VectorTemplate *vt)
| returns VectorOfElements with values of rho More...
acl::VectorOfElements | computeMomentum (acl::VectorOfElements f, const VectorTemplate *vt)
| returns VectorOfElements with values of velocity More...

## Detailed Description

Examples
  locomotive.cc.

Definition at line 163 of file aslLBGK.h.

## Constructor & Destructor Documentation

## LBGKTurbulence() [1/4]

asl::LBGKTurbulence::LBGKTurbulence | ( | DataD | v,
|  | Param | nu,
|  | const VectorTemplate * | vT
| ) |  |

## LBGKTurbulence() [2/4]

asl::LBGKTurbulence::LBGKTurbulence | ( | Block | b,
|  | Param | nu,
|  | const VectorTemplate * | vT,
|  | bool | compVel = `true`,
|  | bool | compRho = `true`,
|  | acl::CommandQueue | queue = `acl::hardware.defaultQueue`
| ) |  |

## LBGKTurbulence() [3/4]

asl::LBGKTurbulence::LBGKTurbulence | ( | DataD | v,
|  | Param | nu,
|  | const VectorTemplate * | vT
| ) |  |

## LBGKTurbulence() [4/4]

asl::LBGKTurbulence::LBGKTurbulence | ( | Block | b,
|  | Param | nu,
|  | const VectorTemplate * | vT,
|  | bool | compVel = `true`,
|  | bool | compRho = `true`,
|  | acl::CommandQueue | queue = `acl::hardware.defaultQueue`
| ) |  |

## Member Function Documentation

## init0() [1/2]

virtual void asl::LBGKTurbulence::init0 | ( |  | ) |

virtual

full initialisation but without kernel->setup()

Reimplemented from asl::LBGK.

## init0() [2/2]

virtual void asl::LBGKTurbulence::init0 | ( |  | ) |

virtual

full initialisation but without kernel->setup()

Reimplemented from asl::LBGK.

The documentation for this class was generated from the following file:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/num/aslLBGK.h