OpenLB 1.7
Loading...
Searching...
No Matches
Namespaces | Functions
particleCreatorFunctions2D.h File Reference
#include "particles/particleSystem.h"
#include "particles/functions/particleCreatorHelperFunctions.h"
+ Include dependency graph for particleCreatorFunctions2D.h:
+ 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 T , typename PARTICLETYPE , bool ROTATION_IS_OPTIONAL = false>
void olb::particles::creators::setResolvedObject (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, std::size_t idxSurface, const Vector< T, 2 > &position, T density, T angle, const Vector< T, 2 > &velocity)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::addResolvedObject (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxSurface, const Vector< T, 2 > &position, T density=0., T angle=0., const Vector< T, 2 > &velocity=Vector< T, 2 >(0.))
 Add resolved object as new particle with existing surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::setResolvedCircle2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, Vector< T, 2 > position, T radius, T epsilon, T density=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Set resolved circle for existing particle but new surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::addResolvedCircle2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, Vector< T, 2 > position, T radius, T epsilon, T density=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Add resolved circle as new particle with new surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::setResolvedCuboid2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, Vector< T, 2 > position, Vector< T, 2 > extend, T epsilon, T density=0., T angle=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Set resolved cuboid for existing particle but new surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::addResolvedCuboid2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, Vector< T, 2 > position, Vector< T, 2 > extend, T epsilon, T density=0., T angle=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Add resolved cuboid as new particle with new surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::setResolvedTriangle2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, Vector< T, 2 > position, T radius, T epsilon, T density=0., T angle=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Set resolved cuboid for existing particle but new surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::addResolvedTriangle2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, Vector< T, 2 > position, T radius, T epsilon, T density=0., T angle=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Add resolved triangle as new particle with new surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::setResolvedArbitraryShape2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, Vector< T, 2 > position, T latticeSpacing, std::shared_ptr< IndicatorF2D< T > > indPtr, T epsilon, T density=0., T angle=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Set resolved cuboid for existing particle but new surface.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::creators::addResolvedArbitraryShape2D (ParticleSystem< T, PARTICLETYPE > &particleSystem, Vector< T, 2 > position, T latticeSpacing, std::shared_ptr< IndicatorF2D< T > > indPtr, T epsilon, T density=0., T angle=0., Vector< T, 2 > velocity=Vector< T, 2 >(0.))
 Add resolved arbitrary shape as new particle with new surface.