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 | use_spherical_unit_vectors |
bool | use_ascii_data |
std::unique_ptr< BoundaryVelocity::internal::GPlatesLookup< dim > > | gplates_lookup |
std::unique_ptr< Utilities::StructuredDataLookup< dim > > | data_lookup |
std::string | data_directory |
std::string | data_file_name |
double | scale_factor |
A postprocessor that computes some statistics about the velocity residual at the top surface. The velocity residual is calculated as the difference between the modeled velocities and input data velocities (GPlates model or ascii data).
Definition at line 44 of file boundary_velocity_residual_statistics.h.
|
overridevirtual |
This function reads the specified input velocity data files, i.e., either an ascii data file or a file from the GPlates model.
Reimplemented from aspect::Plugins::InterfaceBase.
Tensor<1,dim> aspect::Postprocess::BoundaryVelocityResidualStatistics< dim >::get_data_velocity | ( | const Point< dim > & | p | ) | const |
This function returns the input data velocity, (GPlates model or ascii data) value at a point. This function is called from execute() function.
|
overridevirtual |
Evaluate the solution statistics for some velocity residual at the top boundary.
Implements aspect::Postprocess::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 |
Determines if the input ascii data file has velocity components in spherical, i.e., (r, phi, theta) or in cartesian, i.e., (x, y, z) coordinate system.
Definition at line 85 of file boundary_velocity_residual_statistics.h.
|
private |
Determines if the model velocities are compared against ascii data files, or a gplates model.
Definition at line 91 of file boundary_velocity_residual_statistics.h.
|
private |
Pointer to the gplates boundary velocity model
Definition at line 96 of file boundary_velocity_residual_statistics.h.
|
private |
Pointer to the structured data
Definition at line 101 of file boundary_velocity_residual_statistics.h.
|
private |
Directory in which the input data files, i.e., GPlates model or ascii data are present.
Definition at line 107 of file boundary_velocity_residual_statistics.h.
|
private |
Filename of the input Gplates model or ascii data file. For GPlates, the file names can contain the specifiers s and/or c (in this order), meaning the name of the boundary and the number of the data file time step.
Definition at line 114 of file boundary_velocity_residual_statistics.h.
|
private |
Scale the input data by a scalar factor. Can be used to transform the unit of the data (if they are not specified in SI units (m/s or m/yr depending on the "Use years in output instead of seconds" parameter).
Definition at line 122 of file boundary_velocity_residual_statistics.h.