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

The following are functors that work in the traditional (output[], input[]) sense, They can therefore be used e.g. More...

#include <latticeMomentumExchangeForce.h>

+ Inheritance diagram for olb::SuperLatticeMomentumExchangeForceLocal< T, DESCRIPTOR, PARTICLETYPE, useTorque >:
+ Collaboration diagram for olb::SuperLatticeMomentumExchangeForceLocal< T, DESCRIPTOR, PARTICLETYPE, useTorque >:

Public Member Functions

 SuperLatticeMomentumExchangeForceLocal (SuperLattice< T, DESCRIPTOR > &sLattice, const UnitConverter< T, DESCRIPTOR > &converter, const SuperGeometry< T, DESCRIPTOR::d > &superGeometry, particles::ParticleSystem< T, PARTICLETYPE > &particleSystem)
 The following are functors that work in the traditional (output[], input[]) sense, They can therefore be used e.g.
 

Detailed Description

template<typename T, typename DESCRIPTOR, typename PARTICLETYPE, bool useTorque = false>
class olb::SuperLatticeMomentumExchangeForceLocal< T, DESCRIPTOR, PARTICLETYPE, useTorque >

The following are functors that work in the traditional (output[], input[]) sense, They can therefore be used e.g.

in the vtk writer as well functor to get pointwise momentum exchange on local lattice

Definition at line 125 of file latticeMomentumExchangeForce.h.

Constructor & Destructor Documentation

◆ SuperLatticeMomentumExchangeForceLocal()

template<typename T , typename DESCRIPTOR , typename PARTICLETYPE , bool useTorque>
olb::SuperLatticeMomentumExchangeForceLocal< T, DESCRIPTOR, PARTICLETYPE, useTorque >::SuperLatticeMomentumExchangeForceLocal ( SuperLattice< T, DESCRIPTOR > & sLattice,
const UnitConverter< T, DESCRIPTOR > & converter,
const SuperGeometry< T, DESCRIPTOR::d > & superGeometry,
particles::ParticleSystem< T, PARTICLETYPE > & particleSystem )

The following are functors that work in the traditional (output[], input[]) sense, They can therefore be used e.g.

in the vtk writer as well

Definition at line 212 of file latticeMomentumExchangeForce.hh.

217 : SuperLatticePhysF<T,DESCRIPTOR>(sLattice, converter,
218 useTorque ? utilities::dimensions::convert<DESCRIPTOR::d>::rotation : DESCRIPTOR::d)
219{
220 this->getName() = "localMomentumExchange";
221 int maxC = this->_sLattice.getLoadBalancer().size();
222 this->_blockF.reserve(maxC);
223 for (int iC = 0; iC < maxC; ++iC) {
224 this->_blockF.emplace_back(new BlockLatticeMomentumExchangeForceLocal<T,DESCRIPTOR,PARTICLETYPE,useTorque>(
225 this->_sLattice.getBlock(iC),
226 superGeometry.getBlockGeometry(iC),
227 particleSystem,
228 this->_converter));
229 }
230}
BlockGeometry< T, D > & getBlockGeometry(int locIC)
Read and write access to a single block geometry.
constexpr int d() any_platform

References olb::SuperGeometry< T, D >::getBlockGeometry().

+ Here is the call graph for this function:

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