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 | |
unsigned int | n_perturbations |
double | max_magnitude |
double | width |
std::vector< Point< dim > > | perturbation_centers |
std::vector< double > | perturbation_magnitudes |
A class that describes a perturbation to a zero temperature field by placing several Gaussians with a given magnitude and width at random locations throughout the model domain.
Definition at line 42 of file random_gaussian_perturbation.h.
|
overridevirtual |
Initialization function. This function is called once at the beginning of the program and computes the locations and magnitudes of all perturbations.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Return the initial temperature as a function of position.
Implements aspect::InitialTemperature::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 |
The number of the random Gaussian perturbations.
Definition at line 77 of file random_gaussian_perturbation.h.
|
private |
The maximal magnitude of the random Gaussian perturbations.
Definition at line 82 of file random_gaussian_perturbation.h.
|
private |
The width of the random Gaussian perturbations.
Definition at line 87 of file random_gaussian_perturbation.h.
|
private |
Vectors that store all (random) locations and magnitudes of the perturbations.
Definition at line 93 of file random_gaussian_perturbation.h.
|
private |
Definition at line 94 of file random_gaussian_perturbation.h.