ASPECT
|
Classes | |
struct | DataPoint |
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 | set_last_output_time (const double current_time) |
Private Attributes | |
double | output_interval |
double | last_output_time |
std::vector< std::string > | output_formats |
unsigned int | n_depth_zones |
std::vector< double > | depth_bounds |
std::vector< std::string > | variables |
std::vector< DataPoint > | entries |
A postprocessor that generates depth average output in periodic intervals or every time step.
Definition at line 43 of file depth_average.h.
aspect::Postprocess::DepthAverage< dim >::DepthAverage | ( | ) |
Constructor.
|
overridevirtual |
Evaluate the solution and compute the requested depth averages.
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.
|
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::DepthAverage< 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 |
Set the time output was supposed to be written. In the simplest case, this is the previous last output time plus the interval, but in general we'd like to ensure that it is the largest supposed output time, which is smaller than the current time, to avoid falling behind with last_output_time and having to catch up once the time step becomes larger. This is done after every output.
|
private |
Interval between the generation of output in seconds. 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 93 of file depth_average.h.
|
private |
A time (in seconds) the last output has been produced.
Definition at line 98 of file depth_average.h.
|
private |
The formats in which to produce graphical output. This also determines the extension of the file names to which to write.
Definition at line 104 of file depth_average.h.
|
private |
Number of zones in depth direction over which we are supposed to average.
Definition at line 110 of file depth_average.h.
|
private |
The boundaries of the depth zones. This vector contains exactly n_depth_zones + 1 entries, and entries i and i+1 represent the lower and upper depth bound of zone i.
Definition at line 118 of file depth_average.h.
|
private |
List of the quantities to calculate for each depth zone.
Definition at line 123 of file depth_average.h.
|
private |
An array of all the past values
Definition at line 140 of file depth_average.h.