walberla::lbm_generated Namespace Reference

Namespaces

 internal
 
 util
 

Classes

class  BasicRecursiveTimeStep
 
class  BasicRecursiveTimeStepGPU
 
class  CombinedInPlaceCpuPackInfo
 
class  DefaultRefinementScaling
 
class  GPUPdfField
 
class  NonuniformCommData
 
class  NonuniformCommDataHandling
 
class  NonuniformGeneratedGPUPdfPackInfo
 
class  NonuniformGeneratedPdfPackInfo
 
class  NonuniformGPUCommData
 
class  NonuniformGPUCommDataHandling
 
class  PdfField
 
class  PerformanceEvaluation
 Class for evaluating the performance of LBM simulations using fields. More...
 
class  PerformanceEvaluationBase
 Class for evaluating the performance of LBM simulations. More...
 
class  UniformGeneratedGPUPdfPackInfo
 Pack Info class template for lattice Boltzmann PDF fields. More...
 
class  UniformGeneratedPdfPackInfo
 Pack Info class template for lattice Boltzmann PDF fields. More...
 

Typedefs

using PartialCoalescenceMaskField = FlagField< uint32_t >
 
using PartialCoalescenceMaskFieldGPU = gpu::GPUField< uint32_t >
 

Functions

template<typename PdfField_T >
std::shared_ptr< NonuniformGeneratedPdfPackInfo< PdfField_T > > setupNonuniformPdfCommunication (const std::weak_ptr< StructuredBlockForest > &blocks, const BlockDataID pdfFieldID, const std::string &dataIdentifier)
 Sets up a NonuniformGeneratedPdfPackInfo. More...
 
template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID addPdfFieldToStorage (const shared_ptr< BlockStorage_T > &blocks, const std::string &identifier, const LatticeStorageSpecification_T &storageSpecification, const uint_t ghostLayers, const field::Layout &layout=field::fzyx, const Set< SUID > &requiredSelectors=Set< SUID >::emptySet(), const Set< SUID > &incompatibleSelectors=Set< SUID >::emptySet(), const shared_ptr< field::FieldAllocator< real_t > > alloc=nullptr)
 
template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID addPdfFieldToStorage (const shared_ptr< BlockStorage_T > &blocks, const std::string &identifier, const LatticeStorageSpecification_T &storageSpecification, const field::Layout &layout=field::fzyx, const Set< SUID > &requiredSelectors=Set< SUID >::emptySet(), const Set< SUID > &incompatibleSelectors=Set< SUID >::emptySet(), const shared_ptr< field::FieldAllocator< real_t > > alloc=nullptr)
 
template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID addPdfFieldToStorage (const shared_ptr< BlockStorage_T > &blocks, const std::string &identifier, const LatticeStorageSpecification_T &storageSpecification, const Set< SUID > &requiredSelectors=Set< SUID >::emptySet(), const Set< SUID > &incompatibleSelectors=Set< SUID >::emptySet(), const shared_ptr< field::FieldAllocator< real_t > > alloc=nullptr)
 
template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID addPdfFieldToStorage (const shared_ptr< BlockStorage_T > &blocks, const std::string &identifier, const LatticeStorageSpecification_T &storageSpecification, const shared_ptr< field::FieldAllocator< real_t > > alloc=nullptr)
 
template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID addPdfFieldToStorage (const shared_ptr< BlockStorage_T > &blocks, const std::string &identifier, const LatticeStorageSpecification_T &storageSpecification, const field::Layout &layout=field::fzyx, const shared_ptr< field::FieldAllocator< real_t > > alloc=nullptr)
 
template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID addPdfFieldToStorage (const shared_ptr< BlockStorage_T > &blocks, const std::string &identifier, const LatticeStorageSpecification_T &storageSpecification, const uint_t ghostLayers, const field::Layout &layout, const shared_ptr< field::FieldAllocator< real_t > > alloc)
 
template<typename GPUField_T , typename LatticeStorageSpecification_T >
BlockDataID addGPUPdfFieldToStorage (const shared_ptr< StructuredBlockStorage > &bs, const std::string &identifier, const LatticeStorageSpecification_T &storageSpecification, const Layout layout=fzyx, const uint_t nrOfGhostLayers=1, const bool usePitchedMem=true)
 
template<typename Field_T , typename LatticeStorageSpecification_T >
BlockDataID addGPUPdfFieldToStorage (const shared_ptr< StructuredBlockStorage > &bs, ConstBlockDataID cpuFieldID, const LatticeStorageSpecification_T &storageSpecification, const std::string &identifier, const bool usePitchedMem=true, const bool copyCPUField=true)
 
template<typename PdfField_T >
std::shared_ptr< NonuniformGeneratedGPUPdfPackInfo< PdfField_T > > setupNonuniformGPUPdfCommunication (const std::weak_ptr< StructuredBlockForest > &blocks, const BlockDataID pdfFieldID, const std::string &dataIdentifier)
 Sets up a NonuniformGeneratedPdfPackInfo. More...
 

Typedef Documentation

◆ PartialCoalescenceMaskField

◆ PartialCoalescenceMaskFieldGPU

Function Documentation

◆ addGPUPdfFieldToStorage() [1/2]

template<typename GPUField_T , typename LatticeStorageSpecification_T >
BlockDataID walberla::lbm_generated::addGPUPdfFieldToStorage ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  identifier,
const LatticeStorageSpecification_T &  storageSpecification,
const Layout  layout = fzyx,
const uint_t  nrOfGhostLayers = 1,
const bool  usePitchedMem = true 
)

◆ addGPUPdfFieldToStorage() [2/2]

template<typename Field_T , typename LatticeStorageSpecification_T >
BlockDataID walberla::lbm_generated::addGPUPdfFieldToStorage ( const shared_ptr< StructuredBlockStorage > &  bs,
ConstBlockDataID  cpuFieldID,
const LatticeStorageSpecification_T &  storageSpecification,
const std::string &  identifier,
const bool  usePitchedMem = true,
const bool  copyCPUField = true 
)

◆ addPdfFieldToStorage() [1/6]

template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID walberla::lbm_generated::addPdfFieldToStorage ( const shared_ptr< BlockStorage_T > &  blocks,
const std::string &  identifier,
const LatticeStorageSpecification_T &  storageSpecification,
const field::Layout layout = field::fzyx,
const Set< SUID > &  requiredSelectors = Set<SUID>::emptySet(),
const Set< SUID > &  incompatibleSelectors = Set<SUID>::emptySet(),
const shared_ptr< field::FieldAllocator< real_t > >  alloc = nullptr 
)

◆ addPdfFieldToStorage() [2/6]

template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID walberla::lbm_generated::addPdfFieldToStorage ( const shared_ptr< BlockStorage_T > &  blocks,
const std::string &  identifier,
const LatticeStorageSpecification_T &  storageSpecification,
const field::Layout layout = field::fzyx,
const shared_ptr< field::FieldAllocator< real_t > >  alloc = nullptr 
)

◆ addPdfFieldToStorage() [3/6]

template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID walberla::lbm_generated::addPdfFieldToStorage ( const shared_ptr< BlockStorage_T > &  blocks,
const std::string &  identifier,
const LatticeStorageSpecification_T &  storageSpecification,
const Set< SUID > &  requiredSelectors = Set<SUID>::emptySet(),
const Set< SUID > &  incompatibleSelectors = Set<SUID>::emptySet(),
const shared_ptr< field::FieldAllocator< real_t > >  alloc = nullptr 
)

◆ addPdfFieldToStorage() [4/6]

template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID walberla::lbm_generated::addPdfFieldToStorage ( const shared_ptr< BlockStorage_T > &  blocks,
const std::string &  identifier,
const LatticeStorageSpecification_T &  storageSpecification,
const shared_ptr< field::FieldAllocator< real_t > >  alloc = nullptr 
)

◆ addPdfFieldToStorage() [5/6]

template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID walberla::lbm_generated::addPdfFieldToStorage ( const shared_ptr< BlockStorage_T > &  blocks,
const std::string &  identifier,
const LatticeStorageSpecification_T &  storageSpecification,
const uint_t  ghostLayers,
const field::Layout layout,
const shared_ptr< field::FieldAllocator< real_t > >  alloc 
)

◆ addPdfFieldToStorage() [6/6]

template<typename LatticeStorageSpecification_T , typename BlockStorage_T >
BlockDataID walberla::lbm_generated::addPdfFieldToStorage ( const shared_ptr< BlockStorage_T > &  blocks,
const std::string &  identifier,
const LatticeStorageSpecification_T &  storageSpecification,
const uint_t  ghostLayers,
const field::Layout layout = field::fzyx,
const Set< SUID > &  requiredSelectors = Set<SUID>::emptySet(),
const Set< SUID > &  incompatibleSelectors = Set<SUID>::emptySet(),
const shared_ptr< field::FieldAllocator< real_t > >  alloc = nullptr 
)

◆ setupNonuniformGPUPdfCommunication()

template<typename PdfField_T >
std::shared_ptr< NonuniformGeneratedGPUPdfPackInfo< PdfField_T > > walberla::lbm_generated::setupNonuniformGPUPdfCommunication ( const std::weak_ptr< StructuredBlockForest > &  blocks,
const BlockDataID  pdfFieldID,
const std::string &  dataIdentifier 
)

Sets up a NonuniformGeneratedPdfPackInfo.

Template Parameters
LatticeStorageSpecification_T
PackingKernels_T
Parameters
blocks
pdfFieldID
dataIdentifier
Returns

◆ setupNonuniformPdfCommunication()

template<typename PdfField_T >
std::shared_ptr< NonuniformGeneratedPdfPackInfo< PdfField_T > > walberla::lbm_generated::setupNonuniformPdfCommunication ( const std::weak_ptr< StructuredBlockForest > &  blocks,
const BlockDataID  pdfFieldID,
const std::string &  dataIdentifier 
)

Sets up a NonuniformGeneratedPdfPackInfo.

Template Parameters
LatticeStorageSpecification_T
PackingKernels_T
Parameters
blocks
pdfFieldID
dataIdentifier
Returns