OpenLB 1.7
Loading...
Searching...
No Matches
Namespaces | Functions
particleCreatorHelperFunctions.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::particles
 
namespace  olb::particles::creators
 

Functions

template<typename PARTICLETYPE , bool ROTATION_IS_OPTIONAL = false>
void olb::particles::creators::checkForErrors ()
 
template<typename T , typename PARTICLETYPE , bool ROTATION_IS_OPTIONAL = false>
Particle< T, PARTICLETYPE > olb::particles::creators::setResolvedObject (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, std::size_t idxSurface, const Vector< T, PARTICLETYPE::d > &position, T density, Vector< T, utilities::dimensions::convert< PARTICLETYPE::d >::rotation > angleInDegree, const Vector< T, PARTICLETYPE::d > &velocity)
 Set new particle for existing surface (and return particle object)
 
template<typename T , typename PARTICLETYPE >
Particle< T, PARTICLETYPE > olb::particles::creators::addResolvedObject (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxSurface, const Vector< T, PARTICLETYPE::d > &position, T density=0., const Vector< T, utilities::dimensions::convert< PARTICLETYPE::d >::rotation > &angleInDegree=Vector< T, utilities::dimensions::convert< PARTICLETYPE::d >::rotation >(0.), const Vector< T, PARTICLETYPE::d > &velocity=Vector< T, PARTICLETYPE::d >(0.))
 Add resolved object as new particle with existing surface (and return particle object)
 
template<typename T , typename PARTICLETYPE >
Particle< T, PARTICLETYPE > olb::particles::creators::setSubgridObject (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, const Vector< T, PARTICLETYPE::d > &position, T radius, T density, const Vector< T, PARTICLETYPE::d > &velocity, T shapeFactor=T{1})
 Set new particle (and return particle object)
 
template<typename T , typename PARTICLETYPE >
Particle< T, PARTICLETYPE > olb::particles::creators::addSubgridObject (ParticleSystem< T, PARTICLETYPE > &particleSystem, const Vector< T, PARTICLETYPE::d > &position, T radius, T density=0., const Vector< T, PARTICLETYPE::d > &velocity=Vector< T, PARTICLETYPE::d >(0.))
 Add subgrid object as new particle (and return particle object)