ug4
|
Collects indices on all elements with v \in Vtx(elem) More...
#include <sequential_subspace_correction.h>
Public Types | |
typedef TAlgebra | algebra_type |
Algebra type. More... | |
typedef LocalIndexSubspace< TDomain, TAlgebra, Vertex > | base_type |
Base type. More... | |
typedef TAlgebra::matrix_type | matrix_type |
Matrix type. More... | |
typedef TAlgebra::vector_type | vector_type |
Vector type. More... | |
Public Types inherited from ug::LocalIndexSubspace< TDomain, TAlgebra, Vertex > | |
typedef TAlgebra | algebra_type |
Algebra type. More... | |
typedef std::vector< size_t > | index_vector |
Local data. More... | |
typedef TAlgebra::matrix_type | matrix_type |
Matrix type. More... | |
typedef DenseMatrix< VariableArray2< number > > | matrix_type_local |
typedef TAlgebra::vector_type | vector_type |
Vector type. More... | |
typedef DenseVector< VariableArray1< number > > | vector_type_local |
Public Types inherited from ug::ILocalSubspace< TDomain, TAlgebra, TObject > | |
typedef TAlgebra | algebra_type |
Algebra type. More... | |
typedef GridFunction< TDomain, TAlgebra > | grid_function_type |
Grid function type. More... | |
typedef TAlgebra::matrix_type | matrix_type |
Matrix type. More... | |
typedef DenseMatrix< VariableArray2< number > > | matrix_type_local |
typedef TAlgebra::vector_type | vector_type |
Vector type. More... | |
typedef DenseVector< VariableArray1< number > > | vector_type_local |
Public Member Functions | |
bool | check (void *obj) const |
void | init (void *obj, const vector_type &cvec) |
Extract indices for local DoFs. More... | |
VertexBasedSubspace () | |
CTOR. More... | |
virtual | ~VertexBasedSubspace () |
virtual DTOR More... | |
Public Member Functions inherited from ug::LocalIndexSubspace< TDomain, TAlgebra, Vertex > | |
virtual void | extract_matrix (const matrix_type &A) |
Extract matrix (on local index set) More... | |
virtual void | extract_rhs (const vector_type &d) |
Extract rhs (on local index set) for parallel subspace correction. More... | |
virtual void | extract_rhs (const vector_type &d, const matrix_type &A, const vector_type &c) |
Extract rhs (on local index set) for sequential subspace correction. More... | |
virtual void | init (Vertex *, const vector_type &)=0 |
Called once. More... | |
virtual size_t | size () |
virtual void | update_solution (vector_type &u, double omega=1.0) |
u = u + ck More... | |
virtual | ~LocalIndexSubspace () |
virtual DTOR More... | |
Public Member Functions inherited from ug::ILocalSubspace< TDomain, TAlgebra, TObject > | |
virtual void | init (TObject *, const vector_type &)=0 |
Extract local data (based on group obj). More... | |
virtual bool | preprocess (const vector_type &c) |
Called once. More... | |
virtual | ~ILocalSubspace () |
virtual DTOR More... | |
Protected Types | |
typedef Vertex | TObject |
Additional Inherited Members | |
Protected Attributes inherited from ug::LocalIndexSubspace< TDomain, TAlgebra, Vertex > | |
matrix_type_local | m_Aloc |
vector_type_local | m_dloc |
vector_type_local | m_uloc |
Memory for local algebra. More... | |
index_vector | m_vInd |
Algebraic indices. More... | |
Collects indices on all elements with v \in Vtx(elem)
typedef TAlgebra ug::VertexBasedSubspace< TDomain, TAlgebra >::algebra_type |
Algebra type.
typedef LocalIndexSubspace<TDomain, TAlgebra, Vertex> ug::VertexBasedSubspace< TDomain, TAlgebra >::base_type |
Base type.
typedef TAlgebra::matrix_type ug::VertexBasedSubspace< TDomain, TAlgebra >::matrix_type |
Matrix type.
|
protected |
typedef TAlgebra::vector_type ug::VertexBasedSubspace< TDomain, TAlgebra >::vector_type |
Vector type.
|
inline |
CTOR.
|
inlinevirtual |
virtual DTOR
|
inline |
Referenced by ug::VertexBasedSubspace< TDomain, TAlgebra >::init().
|
inline |
Extract indices for local DoFs.
References ug::VertexBasedSubspace< TDomain, TAlgebra >::check(), ug::GridFunction< TDomain, TAlgebra >::collect_associated(), ug::LocalIndexSubspace< TDomain, TAlgebra, Vertex >::m_vInd, and UG_ASSERT.