Peano
Loading...
Searching...
No Matches
ParticleFactory.h File Reference
Include dependency graph for ParticleFactory.h:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::particles
 

Functions

template<class T >
void toolbox::particles::init (T &particle, const tarch::la::Vector< Dimensions, double > &x, double searchRadius)
 Init particle.
 
template<class T >
std::vector< T * > toolbox::particles::createEquallySpacedParticles (double spacingH, const tarch::la::Vector< Dimensions, double > &voxelX, const tarch::la::Vector< Dimensions, double > &voxelH, bool addNoise)
 Create equally spaced particles for one cell.
 
template<class T >
std::vector< T * > toolbox::particles::createParticlesAlignedWithGlobalCartesianMesh (double spacingH, const tarch::la::Vector< Dimensions, double > &voxelX, const tarch::la::Vector< Dimensions, double > &voxelH, const tarch::la::Vector< Dimensions, double > &domainOffset, const tarch::la::Vector< Dimensions, double > &domainSize, bool addNoise)
 Insert particles that are aligned along a Cartesian grid globally.