ASPECT
|
Public Member Functions | |
Function () | |
void | initialize_one_particle_property (const Point< dim > &position, std::vector< double > &particle_properties) const override |
std::vector< std::pair< std::string, unsigned int > > | get_property_information () const override |
void | parse_parameters (ParameterHandler &prm) override |
Public Member Functions inherited from aspect::Particle::Property::Interface< dim > | |
virtual void | update_particle_properties (const ParticleUpdateInputs< dim > &inputs, typename ParticleHandler< dim >::particle_iterator_range &particles) const |
virtual DEAL_II_DEPRECATED void | update_particle_property (const unsigned int data_position, const Vector< double > &solution, const std::vector< Tensor< 1, dim >> &gradients, typename ParticleHandler< dim >::particle_iterator &particle) const |
virtual UpdateTimeFlags | need_update () const |
virtual UpdateFlags | get_update_flags (const unsigned int component) const |
virtual DEAL_II_DEPRECATED UpdateFlags | get_needed_update_flags () const |
virtual InitializationModeForLateParticles | late_initialization_mode () const |
virtual void | set_data_position (const unsigned int data_position) |
virtual unsigned int | get_data_position () const |
Public Member Functions inherited from aspect::Particle::ParticleInterfaceBase | |
ParticleInterfaceBase () | |
void | set_particle_manager_index (unsigned int particle_manager_index) |
Set which particle manager the plugin belongs to. More... | |
unsigned int | get_particle_manager_index () const |
Gets which particle manager the plugin belong to. More... | |
Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
virtual | ~InterfaceBase ()=default |
virtual void | initialize () |
virtual void | update () |
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) |
Private Attributes | |
std::unique_ptr< Functions::ParsedFunction< dim > > | function |
unsigned int | n_components |
Additional Inherited Members | |
Protected Attributes inherited from aspect::Particle::Property::Interface< dim > | |
unsigned int | data_position |
A class that initializes particle properties based on a functional description provided in the input file.
Definition at line 41 of file function.h.
aspect::Particle::Property::Function< dim >::Function | ( | ) |
|
overridevirtual |
Initialization function. This function is called once at the creation of every particle for every property to initialize its value.
[in] | position | The current particle position. |
[in,out] | particle_properties | The properties of the particle that is initialized within the call of this function. The purpose of this function should be to extend this vector by a number of properties. |
Reimplemented from aspect::Particle::Property::Interface< dim >.
|
overridevirtual |
Set up the information about the names and number of components this property requires.
Implements aspect::Particle::Property::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 |
A function object representing the particle property.
Definition at line 89 of file function.h.
|
private |
A private variable that stores the number of particle property function components.
Definition at line 95 of file function.h.