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 | |
double | compute_nonuniform_sea_level_change (const Point< dim > &position) const |
double | compute_sea_level_offset () |
Private Attributes | |
std::string | data_directory_topography |
std::string | data_file_name_topography |
std::string | data_directory_ice_height |
std::string | data_file_name_ice_height |
std::unique_ptr< Utilities::StructuredDataLookup< 2 > > | topography_lookup |
std::unique_ptr< Utilities::StructuredDataLookup< 2 > > | ice_height_lookup |
double | density_water |
double | density_ice |
double | sea_level_offset |
bool | write_to_file |
double | output_interval |
double | last_output_time |
A postprocessor that outputs the sea level to file. The sea level is based on the ice heights input data, the solid Earth topography input data for defining the ocean basin, the geoid displacement from the geoid postprocessor, and the free surface topography from the geometry model. The sea level postprocessor requires a 3D spherical shell geometry with a free surface. The sea level computation is based on \cite{Martinec2018}.
Definition at line 45 of file sea_level.h.
|
overridevirtual |
Sets up structured data lookup for topography and ice height input data.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Output non-uniform sea level change [m] to file.
Implements aspect::Postprocess::Interface< dim >.
double aspect::Postprocess::SeaLevel< dim >::compute_total_surface_pressure | ( | const Point< dim > & | position | ) | const |
Evaluate the total surface pressure from ice and water loading at a point at the top surface of the domain. While the function will return pressure values for any location, it will always assume the volume between the point and the sea level is filled with water or ice, therefore calling this function for positions inside the domain will result in unrealistic pressure values.
|
overridevirtual |
Register with the simulator the other postprocessors that we need (namely: geoid).
Reimplemented from 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.
|
overridevirtual |
Save the state of this object.
Reimplemented from aspect::Postprocess::Interface< dim >.
|
overridevirtual |
Restore the state of the object.
Reimplemented from aspect::Postprocess::Interface< dim >.
void aspect::Postprocess::SeaLevel< dim >::serialize | ( | Archive & | ar, |
const unsigned int | version | ||
) |
Serialize the contents of this class as far as they are not read from input parameter files.
|
private |
Function to determine non-uniform sea level change for any given location. This is a local computation that makes use of the computed sea level offset, so make sure to call compute_sea_level_offset() before calling this function.
|
private |
Function to determine the global sea level offset.
|
private |
Information about the location of topography data files.
Definition at line 125 of file sea_level.h.
|
private |
Definition at line 126 of file sea_level.h.
|
private |
Information about the location of ice height data files.
Definition at line 131 of file sea_level.h.
|
private |
Definition at line 132 of file sea_level.h.
|
private |
Pointer to the StructuredDataLookup object that holds the topography and ice height data.
Definition at line 137 of file sea_level.h.
|
private |
Definition at line 138 of file sea_level.h.
|
private |
The density of water.
Definition at line 143 of file sea_level.h.
|
private |
The density of ice.
Definition at line 148 of file sea_level.h.
|
private |
The global sea level offset.
Definition at line 153 of file sea_level.h.
|
private |
Whether or not to produce text files with sea level values.
Definition at line 158 of file sea_level.h.
|
private |
Interval between the generation of text output. This parameter is read from the input file and consequently is not part of the state that needs to be saved and restored.
Definition at line 165 of file sea_level.h.
|
private |
A time (in seconds) at which the last text output was supposed to be produced. Used to check for the next necessary output time.
Definition at line 171 of file sea_level.h.