MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
LbLatticeDescriptor< D, Q > Struct Template Reference

LB lattice descriptor for arrays depending on D and Q. More...

#include <lblatticedescriptor.h>

Inheritance diagram for LbLatticeDescriptor< D, Q >:
[legend]
Collaboration diagram for LbLatticeDescriptor< D, Q >:
[legend]

Public Member Functions

 LbLatticeDescriptor ()=delete
 
- Public Member Functions inherited from LbLatticeDescriptorBase< D >
 LbLatticeDescriptorBase ()=delete
 

Static Public Member Functions

static constexpr MInt lastId ()
 
static constexpr MInt d ()
 
static constexpr MInt q ()
 
static constexpr MInt distFld (MInt i)
 
static constexpr MInt dxQyFld ()
 
static constexpr MFloat tp (MInt i)
 
- Static Public Member Functions inherited from LbLatticeDescriptorBase< D >
static constexpr MInt dirFld (MInt i, MInt j, MInt k)
 
static constexpr MInt distType (MInt i)
 Type of the distribution (0:rest, 1:face, 2:edge, 3:corner) More...
 
static constexpr MInt idFld (MInt i, MInt j)
 
static constexpr MInt intNghbrArray (MInt i, MInt j)
 
static constexpr MFloat linearInterpolationCoefficients (MInt i, MInt j)
 
static constexpr MInt mFld1 (MInt i)
 
static constexpr MInt mFld2 (MInt i)
 
static constexpr MInt nFld (MInt i, MInt j)
 
static constexpr MInt pFld (MInt i, MInt j)
 
static constexpr MInt componentFld (MInt i, MInt j)
 
static constexpr MInt nodalConnectivityVector (MInt i, MInt j)
 
static constexpr MInt oppositeDist (MInt i)
 
static constexpr MFloat ppdfDir (MInt i, MInt j)
 
static constexpr const MFloatppdfDir (MInt i)
 

Detailed Description

template<MInt D, MInt Q>
struct LbLatticeDescriptor< D, Q >
Author
Miro Gondrum
Date
27.05.2021 Wrapper struct to easily access LB arrays depending on number of space dimension D and number of population Q.

Definition at line 297 of file lblatticedescriptor.h.

Constructor & Destructor Documentation

◆ LbLatticeDescriptor()

template<MInt D, MInt Q>
LbLatticeDescriptor< D, Q >::LbLatticeDescriptor ( )
delete

Member Function Documentation

◆ d()

template<MInt D, MInt Q>
static constexpr MInt LbLatticeDescriptor< D, Q >::d ( )
inlinestaticconstexpr

Definition at line 301 of file lblatticedescriptor.h.

301{ return D; }

◆ distFld()

template<MInt D, MInt Q>
static constexpr MInt LbLatticeDescriptor< D, Q >::distFld ( MInt  i)
inlinestaticconstexpr

Definition at line 304 of file lblatticedescriptor.h.

304{ return lbDescriptor::distFld<D, Q>[i]; }

◆ dxQyFld()

template<MInt D, MInt Q>
static constexpr MInt LbLatticeDescriptor< D, Q >::dxQyFld ( )
inlinestaticconstexpr

Definition at line 305 of file lblatticedescriptor.h.

305{ return lbDescriptor::dxQyFld<D, Q>; }

◆ lastId()

template<MInt D, MInt Q>
static constexpr MInt LbLatticeDescriptor< D, Q >::lastId ( )
inlinestaticconstexpr

Definition at line 300 of file lblatticedescriptor.h.

300{ return Q - 1; }

◆ q()

template<MInt D, MInt Q>
static constexpr MInt LbLatticeDescriptor< D, Q >::q ( )
inlinestaticconstexpr

Definition at line 302 of file lblatticedescriptor.h.

302{ return Q; }

◆ tp()

template<MInt D, MInt Q>
static constexpr MFloat LbLatticeDescriptor< D, Q >::tp ( MInt  i)
inlinestaticconstexpr

Definition at line 306 of file lblatticedescriptor.h.

306{ return lbDescriptor::tp<D, Q>[i]; }

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