#include <systemimplicitnonlinear.hpp>
Describes nonlinear implicit systems.
Public Types | |
Typedefs | |
typedef SystemImplicitNonLinear < SpaceType > | self_type |
typedef SystemImplicitNonLinear < SpaceType > | system_type |
typedef super::value_type | value_type |
typedef super::functionspace_type | functionspace_type |
typedef super::functionspace_type | functionspace_ptrtype |
typedef super::element_type | element_type |
typedef super::backend_type | backend_type |
typedef super::backend_ptrtype | backend_ptrtype |
typedef super::sparse_matrix_type | sparse_matrix_type |
typedef super::sparse_matrix_ptrtype | sparse_matrix_ptrtype |
typedef super::vector_type | vector_type |
typedef super::vector_ptrtype | vector_ptrtype |
![]() | |
typedef SystemImplicit< SpaceType > | system_type |
typedef super::value_type | value_type |
typedef super::functionspace_type | functionspace_type |
typedef super::functionspace_type | functionspace_ptrtype |
typedef super::element_type | element_type |
typedef Backend< value_type > | backend_type |
typedef boost::shared_ptr < backend_type > | backend_ptrtype |
typedef backend_type::sparse_matrix_type | sparse_matrix_type |
typedef backend_type::sparse_matrix_ptrtype | sparse_matrix_ptrtype |
typedef backend_type::vector_type | vector_type |
typedef backend_type::vector_ptrtype | vector_ptrtype |
Public Member Functions | |
Constructors, destructor | |
SystemImplicitNonLinear (functionspace_ptrtype const &Xh, po::variables_map const &vm) | |
default constructor | |
SystemImplicitNonLinear (SystemImplicitNonLinear const &) | |
copy constructor | |
~SystemImplicitNonLinear () | |
destructor | |
Operator overloads | |
SystemImplicitNonLinear & | operator= (SystemImplicitNonLinear const &o) |
copy operator | |
Accessors | |
sparse_matrix_ptrtype const & | jacobian () const |
sparse_matrix_ptrtype & | jacobian () |
vector_ptrtype const & | residual () const |
vector_ptrtype & | residual () |
Methods | |
virtual void | updateResidual (const vector_ptrtype &X, vector_ptrtype &R)=0 |
function that update the residual at each non linear iteration | |
virtual void | updateJacobian (const vector_ptrtype &X, sparse_matrix_ptrtype &J)=0 |
function that update the jacobian at each non linear iteration | |
void | solve (element_type &u) |
default implementation that solves the nonlinear system | |
![]() | |
SystemImplicit (functionspace_ptrtype const &Xh, po::variables_map const &vm) | |
SystemImplicit (SystemImplicit const &si) | |
copy constructor | |
~SystemImplicit () | |
destructor | |
SystemImplicit & | operator= (SystemImplicit const &o) |
copy operator | |
backend_ptrtype & | backend () |
set the backend | |
backend_ptrtype const & | backend () const |
void | backend (backend_ptrtype const &b) |
set the backend | |
Protected Attributes | |
sparse_matrix_ptrtype | M_J |
vector_ptrtype | M_R |
![]() | |
backend_ptrtype | M_backend |
|
inline |
|
inline |
|
inline |
|
inline |