Go to the source code of this file.
|
| 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, double noiseScale=1.) |
| | 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, double noiseScale=1.) |
| | Insert particles that are aligned along a Cartesian grid globally.
|
| |