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 Member Functions | |
void | update_data (const bool load_both_files) |
void | end_time_dependence () |
std::string | create_filename (const int timestep) const |
Private Attributes | |
int | current_file_number |
double | first_data_file_model_time |
int | first_data_file_number |
bool | decreasing_file_order |
double | data_file_time_step |
double | time_weight |
bool | time_dependent |
std::string | data_directory |
std::string | velocity_file_name |
double | velocity_scaling_factor |
std::string | point1 |
std::string | point2 |
Tensor< 1, 2 > | pointone |
Tensor< 1, 2 > | pointtwo |
double | lithosphere_thickness |
std::unique_ptr< internal::GPlatesLookup< dim > > | lookup |
std::unique_ptr< internal::GPlatesLookup< dim > > | old_lookup |
A class that implements prescribed velocity boundary conditions determined from GPlates input files. The interpolation in time is performed between two objects of the GPlatesLookup class.
aspect::BoundaryVelocity::GPlates< dim >::GPlates | ( | ) |
Empty Constructor.
|
overridevirtual |
Return the boundary velocity as a function of position. For the current class, this function returns value from gplates.
Implements aspect::BoundaryVelocity::Interface< dim >.
|
overridevirtual |
Initialization function. This function is called once at the beginning of the program. Checks preconditions.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
A function that is called at the beginning of each time step. For the current plugin, this function loads the next velocity files if necessary and outputs a warning if the end of the set of velocity files is reached.
Reimplemented from aspect::Plugins::InterfaceBase.
|
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 |
Handles the update of the velocity data in lookup. The input parameter makes sure that both velocity files (n and n+1) can be reloaded if the model time step is larger than the velocity file time step.
|
private |
Handles settings and user notification in case the time-dependent part of the boundary condition is over.
|
private |
Create a filename out of the name template.
|
private |
|
private |
Time from which on the data file with number 'First data file number' is used as boundary condition. Previous to this time, 0 is returned for every field. Depending on the setting of the global 'Use years in output instead of seconds' flag in the input file, this number is either interpreted as seconds or as years."
|
private |
|
private |
In some cases the boundary files are not numbered in increasing but in decreasing order (e.g. 'Ma BP'). If this flag is set to 'True' the plugin will first load the file with the number 'First data file number' and decrease the file number during the model run.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Two user defined points that prescribe the plane from which the 2D model takes the velocity boundary condition. One can think of this, as if the model is lying in this plane although no actual model coordinate is changed. The strings need to have the format "a,b" where a and b are doubles and define theta and phi on a sphere.
|
private |
|
private |
|
private |
|
private |
Determines the depth of the lithosphere. The user might want to apply the GPlates velocities not only at the surface of the model, but also in the whole lithosphere. At every side boundary point with a depth smaller than this value (and thus being located in the lithosphere), the surface velocity will be described.
|
private |
|
private |