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 LocalDoFSubspace< TDomain, TAlgebra, Vertex > | base_type |
Base type. More... | |
typedef GridFunction< TDomain, TAlgebra > | grid_function_type |
typedef TAlgebra::matrix_type | matrix_type |
Matrix type. More... | |
typedef TAlgebra::vector_type | vector_type |
Vector type. More... | |
Public Types inherited from ug::LocalDoFSubspace< TDomain, TAlgebra, Vertex > | |
typedef TAlgebra | algebra_type |
Algebra type. More... | |
typedef std::vector< DoFIndex > | 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 | |
void | init (Vertex *groupObj, const vector_type &cvec) |
Extract indices for single vertex. More... | |
bool | preprocess (const vector_type &cvec) |
OVERRIDE. More... | |
VertexCenteredVankaSubspace (const std::vector< std::string > &vVtxCmp, const std::vector< std::string > &vElemCmp) | |
CTOR. More... | |
virtual | ~VertexCenteredVankaSubspace () |
virtual DTOR More... | |
Public Member Functions inherited from ug::LocalDoFSubspace< TDomain, TAlgebra, Vertex > | |
bool | check (void *obj) const |
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 size_t | size () |
virtual void | update_solution (vector_type &u, double omega=1.0) |
u = u + ck More... | |
virtual | ~LocalDoFSubspace () |
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 | ~ILocalSubspace () |
virtual DTOR More... | |
Protected Member Functions | |
void | extract_ids (const grid_function_type *c) |
Extracts function IDs. More... | |
Protected Attributes | |
std::vector< std::string > | m_vElemCmp |
std::vector< size_t > | m_vElemFct |
std::vector< std::string > | m_vVtxCmp |
std::vector< size_t > | m_vVtxFct |
Protected Attributes inherited from ug::LocalDoFSubspace< TDomain, TAlgebra, Vertex > | |
matrix_type_local | m_Aloc |
vector_type_local | m_dloc |
vector_type_local | m_uloc |
std::vector< DoFIndex > | m_vInd |
Algebraic indices. More... | |
Collects indices on all elements with v \in Vtx(elem)
typedef TAlgebra ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::algebra_type |
Algebra type.
typedef LocalDoFSubspace<TDomain, TAlgebra, Vertex> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::base_type |
Base type.
typedef GridFunction<TDomain, TAlgebra> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::grid_function_type |
typedef TAlgebra::matrix_type ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::matrix_type |
Matrix type.
typedef TAlgebra::vector_type ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::vector_type |
Vector type.
|
inline |
CTOR.
|
inlinevirtual |
virtual DTOR
|
inlineprotected |
Extracts function IDs.
References ug::GridFunction< TDomain, TAlgebra >::approx_space(), ConstSmartPtr< T, FreePolicy >::invalid(), ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vElemCmp, ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vElemFct, ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vVtxCmp, ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vVtxFct, and UG_COND_THROW.
Referenced by ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::preprocess().
|
inlinevirtual |
Extract indices for single vertex.
Implements ug::LocalDoFSubspace< TDomain, TAlgebra, Vertex >.
References ug::GridFunction< TDomain, TAlgebra >::collect_associated(), ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vElemFct, ug::LocalDoFSubspace< TDomain, TAlgebra, Vertex >::m_vInd, and ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vVtxFct.
|
inlinevirtual |
OVERRIDE.
Reimplemented from ug::ILocalSubspace< TDomain, TAlgebra, TObject >.
References ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::extract_ids(), and UG_COND_THROW.
|
protected |
|
protected |
|
protected |
|
protected |