ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
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) |
Private Attributes | |
bool | allow_cells_without_particles |
Return the properties of the nearest particle within the current cell, or in a neighboring cell if this one is empty.
Definition at line 40 of file nearest_neighbor.h.
|
overridevirtual |
Return the properties of the particles nearest to the given positions within the same cell, or adjacent cells if none is present in same cell.
Implements aspect::Particle::Interpolator::Interface< dim >.
|
static |
Declare the parameters the plugin takes through input files. The default implementation of this function does not describe any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters. On the other hand, most plugins do have run-time parameters, and they may then overload this function.
|
overridevirtual |
Read the parameters this class declares from the parameter file. The default implementation of this function does not read any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters. On the other hand, most plugins do have run-time parameters, and they may then overload this function.
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
By default, every cell needs to contain particles to use this interpolator plugin. If this parameter is set to true, cells are allowed to have no particles, in which case the interpolator will return 0 for the cell's properties.
Definition at line 75 of file nearest_neighbor.h.