ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::SimulatorAccess< dim > | |
static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
Private Member Functions | |
std::vector< Point< dim > > | generate_particle_positions_in_unit_cell () |
Private Attributes | |
std::vector< unsigned int > | number_of_particles |
Additional Inherited Members | |
Protected Member Functions inherited from aspect::Particle::Generator::Interface< dim > | |
DEAL_II_DEPRECATED std::pair< Particles::internal::LevelInd, Particle< dim > > | generate_particle (const Point< dim > &position, const types::particle_index id) const |
Particles::ParticleIterator< dim > | insert_particle_at_position (const Point< dim > &position, const types::particle_index id, Particles::ParticleHandler< dim > &particle_handler) const |
Protected Attributes inherited from aspect::Particle::Generator::Interface< dim > | |
std::mt19937 | random_number_generator |
Generate a uniform distribution of particles in the unit cell and transforms each of the particles back to real region in the model domain. Uniform here means the particles will be generated with an equal spacing in each spatial dimension.
Definition at line 41 of file reference_cell.h.
|
overridevirtual |
Generate a uniform distribution of particles in the unit cell and transforms each of the particles back to real region in the model domain. Uniform here means the particles will be generated with an equal spacing in each spatial dimension.
[in,out] | particle_handler | The particle handler into which the generated particles should be inserted. |
Implements aspect::Particle::Generator::Interface< dim >.
|
static |
Declare the parameters this class takes through input files.
|
overridevirtual |
Read the parameters this class declares from the parameter file.
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
Calculates particle position in the unit cell.
|
private |
Number of particles to create for each spatial dimension as specified within the parameter file.
Definition at line 81 of file reference_cell.h.