TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver > Class Template Reference#
|
DiFfRG
|
DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver > Class Template Reference
#include <trbdf2.hh>
Inheritance diagram for DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver >:
Public Types | |
| using | NumberType = typename Base::NumberType |
| using | InverseSparseMatrixType = typename Base::InverseSparseMatrixType |
| using | BlockVectorType = typename Base::BlockVectorType |
Public Member Functions | |
| virtual void | run (AbstractFlowingVariables< NumberType > *initial_condition, const double t_start, const double t_stop) override |
| Any derived class must implement this method to run the timestepping algorithm. | |
| uint | get_jacobians () |
| double | get_error () |
| void | set_ignore_nonconv (bool x) |
Public Member Functions inherited from DiFfRG::AbstractTimestepper< VectorType, SparseMatrixType, dim > | |
| AbstractTimestepper (const JSONValue &json, AbstractAssembler< VectorType, SparseMatrixType, dim > *assembler, DataOutput< dim, VectorType > *data_out=nullptr, AbstractAdaptor< VectorType > *adaptor=nullptr) | |
| Construct a new Abstract Timestepper object. | |
| DataOutput< dim, VectorType > * | get_data_out () |
| Utility function to obtain a DataOutput object. If no DataOutput object is provided, a default one is created. | |
| AbstractAdaptor< VectorType > * | get_adaptor () |
| Utility function to obtain an Adaptor object. If no Adaptor object is provided, a default one is created, which is the NoAdaptivity object, i.e. no mesh adaptivity is used. | |
Private Types | |
| using | Base = AbstractTimestepper<VectorType, SparseMatrixType, dim> |
Private Attributes | |
| std::shared_ptr< Newton< VectorType > > | ptr_newton_TR |
| std::shared_ptr< Newton< VectorType > > | ptr_newton_BDF2 |
Member Typedef Documentation
◆ Base
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
|
private |
◆ BlockVectorType
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
| using DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver >::BlockVectorType = typename Base::BlockVectorType |
◆ InverseSparseMatrixType
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
| using DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver >::InverseSparseMatrixType = typename Base::InverseSparseMatrixType |
◆ NumberType
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
| using DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver >::NumberType = typename Base::NumberType |
Member Function Documentation
◆ get_error()
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
| double DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver >::get_error | ( | ) |
◆ get_jacobians()
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
| uint DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver >::get_jacobians | ( | ) |
◆ run()
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
|
overridevirtual |
Any derived class must implement this method to run the timestepping algorithm.
- Parameters
-
initial_condition A pointer to a flowing variables object that contains the initial condition. t_start The start time of the simulation. t_stop The run method will evolve the system from t_start to t_stop.
Implements DiFfRG::AbstractTimestepper< VectorType, SparseMatrixType, dim >.
◆ set_ignore_nonconv()
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
| void DiFfRG::TimeStepperTRBDF2< VectorType, SparseMatrixType, dim, LinearSolver >::set_ignore_nonconv | ( | bool | x | ) |
Member Data Documentation
◆ ptr_newton_BDF2
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
|
private |
◆ ptr_newton_TR
template<typename VectorType , typename SparseMatrixType , uint dim, template< typename, typename > typename LinearSolver>
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/timestepping/trbdf2.hh
Generated by
Public Member Functions inherited from