ABLATE Source Documentation  0.12.34
cellInitializer.hpp
1 #ifndef ABLATELIBRARY_CELLINITIALIZER_HPP
2 #define ABLATELIBRARY_CELLINITIALIZER_HPP
3 #include "initializer.hpp"
4 
5 namespace ablate::particles::initializers {
9 class CellInitializer : public Initializer {
10  private:
11  const int particlesPerCell;
12 
13  public:
18  explicit CellInitializer(int particlesPerCellPerDim = 1);
19  ~CellInitializer() override = default;
20 
26  void Initialize(ablate::domain::SubDomain& flow, DM particleDM) override;
27 };
28 } // namespace ablate::particles::initializers
29 
30 #endif // ABLATELIBRARY_CELLINITIALIZER_HPP
Definition: subDomain.hpp:19
Definition: cellInitializer.hpp:9
CellInitializer(int particlesPerCellPerDim=1)
Definition: cellInitializer.cpp:4
void Initialize(ablate::domain::SubDomain &flow, DM particleDM) override
Definition: cellInitializer.cpp:6