ug4
ug::VertexCenteredVankaSubspace< TDomain, TAlgebra > Class Template Reference

Collects indices on all elements with v \in Vtx(elem) More...

#include <sequential_subspace_correction.h>

+ Inheritance diagram for ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >:

Public Types

typedef TAlgebra algebra_type
 Algebra type. More...
 
typedef LocalDoFSubspace< TDomain, TAlgebra, Vertexbase_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< DoFIndexindex_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< DoFIndexm_vInd
 Algebraic indices. More...
 

Detailed Description

template<typename TDomain, typename TAlgebra>
class ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >

Collects indices on all elements with v \in Vtx(elem)

Member Typedef Documentation

◆ algebra_type

template<typename TDomain , typename TAlgebra >
typedef TAlgebra ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::algebra_type

Algebra type.

◆ base_type

template<typename TDomain , typename TAlgebra >
typedef LocalDoFSubspace<TDomain, TAlgebra, Vertex> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::base_type

Base type.

◆ grid_function_type

template<typename TDomain , typename TAlgebra >
typedef GridFunction<TDomain, TAlgebra> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::grid_function_type

◆ matrix_type

template<typename TDomain , typename TAlgebra >
typedef TAlgebra::matrix_type ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::matrix_type

Matrix type.

◆ vector_type

template<typename TDomain , typename TAlgebra >
typedef TAlgebra::vector_type ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::vector_type

Vector type.

Constructor & Destructor Documentation

◆ VertexCenteredVankaSubspace()

template<typename TDomain , typename TAlgebra >
ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::VertexCenteredVankaSubspace ( const std::vector< std::string > &  vVtxCmp,
const std::vector< std::string > &  vElemCmp 
)
inline

CTOR.

◆ ~VertexCenteredVankaSubspace()

template<typename TDomain , typename TAlgebra >
virtual ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::~VertexCenteredVankaSubspace ( )
inlinevirtual

virtual DTOR

Member Function Documentation

◆ extract_ids()

◆ init()

◆ preprocess()

template<typename TDomain , typename TAlgebra >
bool ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::preprocess ( const vector_type cvec)
inlinevirtual

Member Data Documentation

◆ m_vElemCmp

template<typename TDomain , typename TAlgebra >
std::vector<std::string> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vElemCmp
protected

◆ m_vElemFct

template<typename TDomain , typename TAlgebra >
std::vector<size_t> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vElemFct
protected

◆ m_vVtxCmp

template<typename TDomain , typename TAlgebra >
std::vector<std::string> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vVtxCmp
protected

◆ m_vVtxFct

template<typename TDomain , typename TAlgebra >
std::vector<size_t> ug::VertexCenteredVankaSubspace< TDomain, TAlgebra >::m_vVtxFct
protected

The documentation for this class was generated from the following file: