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

#include <cellInitializer.hpp>

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

Public Member Functions

 CellInitializer (int particlesPerCellPerDim=1)
 
void Initialize (ablate::domain::SubDomain &flow, DM particleDM) override
 
- Public Member Functions inherited from ablate::particles::initializers::Initializer
 Initializer ()=default
 

Detailed Description

An Initializer that inserts a set number of particles per cell

Constructor & Destructor Documentation

◆ CellInitializer()

ablate::particles::initializers::CellInitializer::CellInitializer ( int  particlesPerCellPerDim = 1)
explicit

An Initializer that inserts a set number of particles per cell

Parameters
particlesPerCellPerDiminserts a set number of particles per dim

Member Function Documentation

◆ Initialize()

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

Add the particles to the particle DM

Parameters
flow
particleDM

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


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