#include <LinTimeStep.hpp>
Inheritance diagram for LinTimeAssemble< T >:


Public Member Functions | |
| const bool & | RecompMatrix () const |
| Returns true if the matrix is recomputed every time step. | |
| virtual void | PrintParam ()=0 |
| Prints parameters of the discretization. | |
| virtual void | AssembleMatrix (GridVec< T > &u, SysMatrix< T > &A, T s_a)=0 |
| Assembles the matrix. | |
| virtual void | AddExplicit (T factor, GridVec< T > &u, GridVec< T > &v) |
| Adds the terms implemented as explicit. | |
| LinTimeAssemble (bool rAf) | |
| Constructor. | |
| virtual | ~LinTimeAssemble () |
| Virtual destructor. | |
This base class is designed for time-dependent problems discretized in such a way that only a linear system is to be solved in every time step. Nevertheless, there may be non-linear terms discretized explicitly. Besides, the matrix of the linear system may depend on the solution from the old time level. (Cf. also class NLTimeAssemble<T>.)
| LinTimeAssemble< T >::LinTimeAssemble | ( | bool | rAf | ) | [inline] |
Constructor.
| [in] | rAf | If the matrix should be recomputed every time step |
| virtual LinTimeAssemble< T >::~LinTimeAssemble | ( | ) | [inline, virtual] |
Virtual destructor.
| const bool& LinTimeAssemble< T >::RecompMatrix | ( | ) | const [inline] |
Returns true if the matrix is recomputed every time step.
| virtual void LinTimeAssemble< T >::PrintParam | ( | ) | [pure virtual] |
| virtual void LinTimeAssemble< T >::AssembleMatrix | ( | GridVec< T > & | u, | |
| SysMatrix< T > & | A, | |||
| T | s_a | |||
| ) | [pure virtual] |
Assembles the matrix.
| [in] | u | Solution from the last time step |
| [in] | A | The matrix to assemble; the sizes must be set |
| [in] | s_a | The factor for the stiffness matrix (that for the mass matrix is 1) |
Implemented in GenLinVcFV< T, Flux >.
| virtual void LinTimeAssemble< T >::AddExplicit | ( | T | factor, | |
| GridVec< T > & | u, | |||
| GridVec< T > & | v | |||
| ) | [inline, virtual] |
Adds the terms implemented as explicit.
| [in] | factor | The factor to multiply the terms by |
| [in] | u | Solution from the last time step |
| [in] | v | The vector to add the explicit terms to (may not be 'u') |
1.5.2