OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::SuperLatticeCellList< T, DESCRIPTOR, U > Class Template Referencefinal

#include <latticeCellList.h>

+ Inheritance diagram for olb::SuperLatticeCellList< T, DESCRIPTOR, U >:
+ Collaboration diagram for olb::SuperLatticeCellList< T, DESCRIPTOR, U >:

Public Member Functions

 SuperLatticeCellList (SuperLattice< T, DESCRIPTOR > &sLattice, std::vector< LatticeR< 4 > > &cellList)
 

Detailed Description

template<typename T, typename DESCRIPTOR, typename U = bool>
class olb::SuperLatticeCellList< T, DESCRIPTOR, U >

Definition at line 30 of file latticeCellList.h.

Constructor & Destructor Documentation

◆ SuperLatticeCellList()

template<typename T , typename DESCRIPTOR , typename U >
olb::SuperLatticeCellList< T, DESCRIPTOR, U >::SuperLatticeCellList ( SuperLattice< T, DESCRIPTOR > & sLattice,
std::vector< LatticeR< 4 > > & cellList )

Definition at line 30 of file latticeCellList.hh.

33 : SuperLatticeF<T, DESCRIPTOR>(sLattice, 1)
34{
35 this->getName() = "cellListF";
36 auto& loadBalancer = this->_sLattice.getLoadBalancer();
37 int maxC = loadBalancer.size();
38 this->_blockF.reserve(maxC);
39 for (int iC = 0; iC < maxC; iC++) {
40 this->_blockF.emplace_back( new BlockLatticeCellList<T,DESCRIPTOR>(
41 this->_sLattice.getBlock(iC),
42 loadBalancer.glob(iC), cellList ));
43 }
44}

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