OpenLB 1.7
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
olb::particles::couple_particles_to_lattice_single_cuboid< T, DESCRIPTOR, PARTICLETYPE > Struct Template Reference

Couple particles to lattice. More...

#include <particleTasks.h>

+ Collaboration diagram for olb::particles::couple_particles_to_lattice_single_cuboid< T, DESCRIPTOR, PARTICLETYPE >:

Static Public Member Functions

static auto execute (ParticleSystem< T, PARTICLETYPE > &particleSystem, Particle< T, PARTICLETYPE > &particle, SuperGeometry< T, DESCRIPTOR::d > &sGeometry, SuperLattice< T, DESCRIPTOR > &sLattice, UnitConverter< T, DESCRIPTOR > const &converter, int globiC=0, Vector< bool, DESCRIPTOR::d > periodicity=Vector< bool, DESCRIPTOR::d >(false))
 

Static Public Attributes

static constexpr bool latticeCoupling = true
 
static constexpr bool particleLoop = true
 

Detailed Description

template<typename T, typename DESCRIPTOR, typename PARTICLETYPE>
struct olb::particles::couple_particles_to_lattice_single_cuboid< T, DESCRIPTOR, PARTICLETYPE >

Couple particles to lattice.

Definition at line 106 of file particleTasks.h.

Member Function Documentation

◆ execute()

template<typename T , typename DESCRIPTOR , typename PARTICLETYPE >
static auto olb::particles::couple_particles_to_lattice_single_cuboid< T, DESCRIPTOR, PARTICLETYPE >::execute ( ParticleSystem< T, PARTICLETYPE > & particleSystem,
Particle< T, PARTICLETYPE > & particle,
SuperGeometry< T, DESCRIPTOR::d > & sGeometry,
SuperLattice< T, DESCRIPTOR > & sLattice,
UnitConverter< T, DESCRIPTOR > const & converter,
int globiC = 0,
Vector< bool, DESCRIPTOR::d > periodicity = Vector<bool,DESCRIPTOR::d>(false) )
inlinestatic

Definition at line 107 of file particleTasks.h.

116 {
117 using namespace descriptors;
118 //Write particle field
119 setSuperParticleField( sGeometry, sLattice, converter, particle, periodicity );
120 }
void setSuperParticleField(const SuperGeometry< T, DESCRIPTOR::d > &sGeometry, SuperLattice< T, DESCRIPTOR > &sLattice, UnitConverter< T, DESCRIPTOR > const &converter, Particle< T, PARTICLETYPE > &particle, const Vector< bool, DESCRIPTOR::d > &periodicity)
Set particle field with peridic support.

References olb::particles::setSuperParticleField().

+ Here is the call graph for this function:

Member Data Documentation

◆ latticeCoupling

template<typename T , typename DESCRIPTOR , typename PARTICLETYPE >
constexpr bool olb::particles::couple_particles_to_lattice_single_cuboid< T, DESCRIPTOR, PARTICLETYPE >::latticeCoupling = true
staticconstexpr

Definition at line 121 of file particleTasks.h.

◆ particleLoop

template<typename T , typename DESCRIPTOR , typename PARTICLETYPE >
constexpr bool olb::particles::couple_particles_to_lattice_single_cuboid< T, DESCRIPTOR, PARTICLETYPE >::particleLoop = true
staticconstexpr

Definition at line 122 of file particleTasks.h.


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