#include <boxInitializer.hpp>
Public Member Functions | |
BoxInitializer (std::vector< double > lowerBound={0, 0, 0}, std::vector< double > upperBound={1.0, 1.0, 1.0}, int particlesPerDim=1) | |
void | Initialize (ablate::domain::SubDomain &flow, DM particleDM) override |
Public Member Functions inherited from ablate::particles::initializers::Initializer | |
Initializer ()=default | |
Setup particles over a set box
|
explicit |
Insert particles over a set box
lowerBound | the lower bound of the box |
upperBound | the upper bound of the box |
particlesPerDim | particles per dimension in the box |
|
overridevirtual |
initialize over the box
flow | |
particleDM |
Implements ablate::particles::initializers::Initializer.