deal.II version GIT relicensing-2169-gec1b43f35b 2024-11-22 07:10:00+00:00
|
#include <deal.II/lac/petsc_ts.h>
Public Types | |
using | real_type = PetscReal |
Public Member Functions | |
TimeStepperData (const std::string &options_prefix="", const std::string &ts_type="", const real_type initial_time=0.0, const real_type final_time=0.0, const real_type initial_step_size=0.0, const int max_steps=-1, const bool match_step=false, const bool restart_if_remesh=false, const std::string &ts_adapt_type="none", const real_type minimum_step_size=-1.0, const real_type maximum_step_size=-1.0, const real_type absolute_tolerance=-1.0, const real_type relative_tolerance=-1.0, const bool ignore_algebraic_lte=true) | |
void | add_parameters (ParameterHandler &prm) |
Public Attributes | |
std::string | options_prefix |
std::string | ts_type |
real_type | initial_time |
real_type | final_time |
real_type | initial_step_size |
int | max_steps |
bool | match_step |
bool | restart_if_remesh |
std::string | ts_adapt_type |
real_type | minimum_step_size |
real_type | maximum_step_size |
real_type | absolute_tolerance |
real_type | relative_tolerance |
bool | ignore_algebraic_lte |
Additional parameters that can be passed to the TimeStepper class.
Definition at line 44 of file petsc_ts.h.
using PETScWrappers::TimeStepperData::real_type = PetscReal |
Type that holds real-valued numbers.
Used to represent time and norms tolerances.
Definition at line 52 of file petsc_ts.h.
void PETScWrappers::TimeStepperData::add_parameters | ( | ParameterHandler & | prm | ) |
Import parameter values.
std::string PETScWrappers::TimeStepperData::options_prefix |
Options database prefix.
Definition at line 130 of file petsc_ts.h.
std::string PETScWrappers::TimeStepperData::ts_type |
PETSc solver type.
Definition at line 135 of file petsc_ts.h.
real_type PETScWrappers::TimeStepperData::initial_time |
Initial time for the DAE.
Definition at line 140 of file petsc_ts.h.
real_type PETScWrappers::TimeStepperData::final_time |
Final time.
Definition at line 145 of file petsc_ts.h.
real_type PETScWrappers::TimeStepperData::initial_step_size |
int PETScWrappers::TimeStepperData::max_steps |
Maximum number of steps to be taken.
Definition at line 159 of file petsc_ts.h.
bool PETScWrappers::TimeStepperData::match_step |
Flag to indicate to stop exactly at the requested final time.
Definition at line 164 of file petsc_ts.h.
bool PETScWrappers::TimeStepperData::restart_if_remesh |
Flag to indicate to restart the step if remeshing is flagged.
Definition at line 169 of file petsc_ts.h.
std::string PETScWrappers::TimeStepperData::ts_adapt_type |
PETSc time step adaptor type.
Definition at line 174 of file petsc_ts.h.
real_type PETScWrappers::TimeStepperData::minimum_step_size |
Minimum allowed step size for adaptive time stepping.
Definition at line 181 of file petsc_ts.h.
real_type PETScWrappers::TimeStepperData::maximum_step_size |
Maximum allowed step size for adaptive time stepping.
Definition at line 188 of file petsc_ts.h.
real_type PETScWrappers::TimeStepperData::absolute_tolerance |
Absolute error tolerance for adaptive time stepping.
Definition at line 195 of file petsc_ts.h.
real_type PETScWrappers::TimeStepperData::relative_tolerance |
Relative error tolerance for adaptive time stepping.
Definition at line 202 of file petsc_ts.h.
bool PETScWrappers::TimeStepperData::ignore_algebraic_lte |
Ignore algebraic terms for local truncation error.
Definition at line 207 of file petsc_ts.h.