#include <SAssemble.hpp>
Inheritance diagram for SAssemble< T >:


Public Member Functions | |
| virtual void | PrintParam ()=0 |
| Prints parameters of the discretization. | |
| virtual void | Run (GridVec< T > &u, SysMatrix< T > &A, GridVec< T > &f)=0 |
| Assembles the matrix hierarchy, the right-hand side and (optionally) the boundary conditions of the problem. | |
| virtual | ~SAssemble () |
| The virtual destructor. | |
The virtual destructor.
| virtual void SAssemble< T >::PrintParam | ( | ) | [pure virtual] |
| virtual void SAssemble< T >::Run | ( | GridVec< T > & | u, | |
| SysMatrix< T > & | A, | |||
| GridVec< T > & | f | |||
| ) | [pure virtual] |
Assembles the matrix hierarchy, the right-hand side and (optionally) the boundary conditions of the problem.
The sizes of the matrices in the hierarchy and the vectors must be initialized. At the assembling of non-linear problems the vector 'u' must contain the current guess. This guess is then used for the linearization. Assemblers of linear problems do not depend on the guess and would ignore it.
This function does not return any value but can throw exceptions
| [in] | u | The solution vector / current guess |
| [in] | A | The system matrix hierarchy (Jacobian) |
| [in] | f | The right-hand side |
Implemented in GenLinVcFV< T, Flux >.
1.5.2