ABLATE Source Documentation  0.12.34
ablate::particles::initializers::BoxInitializer Class Reference

#include <boxInitializer.hpp>

+ Inheritance diagram for ablate::particles::initializers::BoxInitializer:

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
 

Detailed Description

Setup particles over a set box

Constructor & Destructor Documentation

◆ BoxInitializer()

ablate::particles::initializers::BoxInitializer::BoxInitializer ( std::vector< double >  lowerBound = {0, 0, 0},
std::vector< double >  upperBound = {1.0, 1.0, 1.0},
int  particlesPerDim = 1 
)
explicit

Insert particles over a set box

Parameters
lowerBoundthe lower bound of the box
upperBoundthe upper bound of the box
particlesPerDimparticles per dimension in the box

Member Function Documentation

◆ Initialize()

void ablate::particles::initializers::BoxInitializer::Initialize ( ablate::domain::SubDomain flow,
DM  particleDM 
)
overridevirtual

initialize over the box

Parameters
flow
particleDM

Implements ablate::particles::initializers::Initializer.


The documentation for this class was generated from the following files: