ug4
|
#include <nl_gauss_seidel.h>
Public Types | |
typedef TAlgebra | algebra_type |
Algebra type. More... | |
typedef algebra_type::matrix_type | matrix_type |
Type of algebra matrix. More... | |
typedef algebra_type::vector_type | vector_type |
Type of algebra vector. More... | |
Public Types inherited from ug::ILocalToGlobalMapper< TAlgebra > | |
typedef TAlgebra | algebra_type |
Algebra type. More... | |
typedef algebra_type::matrix_type | matrix_type |
Type of algebra matrix. More... | |
typedef algebra_type::vector_type | vector_type |
Type of algebra vector. More... | |
Public Member Functions | |
void | add_local_mat_to_global (matrix_type &mat, const LocalMatrix &lmat, ConstSmartPtr< DoFDistribution > dd) |
adds a local matrix to the global matrix More... | |
void | add_local_vec_to_global (vector_type &vec, const LocalVector &lvec, ConstSmartPtr< DoFDistribution > dd) |
adds a local vector to the global rhs More... | |
LocalToGlobalMapperNLGS () | |
default constructor More... | |
void | modify_LocalSol (LocalVector &vecMod, const LocalVector &lvec, ConstSmartPtr< DoFDistribution > dd) |
modifies local solution vector for adapted defect computation More... | |
void | set_assembling_index (const size_t assIndex) |
sets assembling index More... | |
~LocalToGlobalMapperNLGS () | |
destructor More... | |
Public Member Functions inherited from ug::ILocalToGlobalMapper< TAlgebra > | |
ILocalToGlobalMapper () | |
default Constructor More... | |
virtual | ~ILocalToGlobalMapper () |
virtual destructor More... | |
Private Attributes | |
size_t | m_assemblingIndex |
typedef TAlgebra ug::LocalToGlobalMapperNLGS< TAlgebra >::algebra_type |
Algebra type.
typedef algebra_type::matrix_type ug::LocalToGlobalMapperNLGS< TAlgebra >::matrix_type |
Type of algebra matrix.
typedef algebra_type::vector_type ug::LocalToGlobalMapperNLGS< TAlgebra >::vector_type |
Type of algebra vector.
|
inline |
default constructor
|
inline |
destructor
|
virtual |
adds a local matrix to the global matrix
Implements ug::ILocalToGlobalMapper< TAlgebra >.
References ug::BlockRef(), ug::LocalIndices::comp(), ug::LocalMatrix::get_col_indices(), ug::LocalMatrix::get_row_indices(), ug::LocalIndices::index(), ug::LocalMatrix::num_all_col_dof(), ug::LocalMatrix::num_all_col_fct(), ug::LocalMatrix::num_all_row_dof(), ug::LocalMatrix::num_all_row_fct(), and ug::LocalMatrix::value().
|
virtual |
adds a local vector to the global rhs
Implements ug::ILocalToGlobalMapper< TAlgebra >.
References ug::BlockRef(), ug::LocalIndices::comp(), ug::LocalVector::get_indices(), ug::LocalIndices::index(), ug::LocalVector::num_all_dof(), ug::LocalVector::num_all_fct(), and ug::LocalVector::value().
|
inlinevirtual |
modifies local solution vector for adapted defect computation
Implements ug::ILocalToGlobalMapper< TAlgebra >.
|
inline |
sets assembling index
References ug::LocalToGlobalMapperNLGS< TAlgebra >::m_assemblingIndex.
|
private |