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 | generate_global_statistics (TableHandler &statistics) |
void | clear_data () |
void | store_stokes_solver_history (const unsigned int number_S_iterations, const unsigned int number_A_iterations, const SolverControl &solver_control_cheap, const SolverControl &solver_control_expensive) |
void | store_advection_solver_history (const bool solved_temperature_field, const unsigned int compositional_index, const SolverControl &solver_control) |
Private Attributes | |
std::vector< unsigned int > | list_of_S_iterations |
std::vector< unsigned int > | list_of_A_iterations |
std::vector< unsigned int > | stokes_iterations_cheap |
std::vector< unsigned int > | stokes_iterations_expensive |
std::vector< std::pair< std::string, std::vector< unsigned int > > > | advection_iterations |
bool | one_line_per_iteration |
A postprocessor that outputs all the global statistics information, e.g. the time of the simulation, the timestep number, number of degrees of freedom and solver iterations for each timestep. The postprocessor can output different formats, the first printing one line in the statistics file per nonlinear solver iteration (if a nonlinear solver scheme is selected). The second prints one line per timestep, summing the information about all nonlinear iterations in this line. Note that this postprocessor is always active independent on whether or not it is selected in the parameter file.
Definition at line 51 of file global_statistics.h.
|
overridevirtual |
Connect the callback functions to the respective signals.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Write all global statistics columns into the statistics object.
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 |
Write global statistics such as the time step number and the number of degrees of freedom into the statistics object.
|
private |
This function clears all the saved solver information that is stored in this class. It is executed every time the output is written into the statistics object, but also after each initial refinement step, in case it is not written (to avoid summing information across different refinement steps).
|
private |
Callback function that is connected to the post_stokes_solver signal to store the solver history.
|
private |
Callback function that is connected to the post_advection_solver signal to store the solver history.
|
private |
Variables that store the Stokes solver history of the current timestep, until they are written into the statistics object upon the call to execute(). They are cleared after writing the content.
Definition at line 122 of file global_statistics.h.
|
private |
Definition at line 123 of file global_statistics.h.
|
private |
Definition at line 124 of file global_statistics.h.
|
private |
Definition at line 125 of file global_statistics.h.
|
private |
A container that stores the advection solver history of the current timestep, until it is written into the statistics object upon the call to execute(). It is cleared after writing the content. The vector contains pairs, which consist of a column name (for the temperature or one of the compositional fields), and a vector of SolverControl objects (one per nonlinear iteration for this particular field). This layout allows storing varying numbers of nonlinear iterations for temperature and compositional fields (if any nonlinear solver scheme would implement that at some point).
Definition at line 140 of file global_statistics.h.
|
private |
Whether to put every nonlinear iteration into a separate line in the statistics file or to only output one line per time step.
Definition at line 147 of file global_statistics.h.