ug4
ug::ILocalToGlobalMapper< TAlgebra > Class Template Referenceabstract

interface for definition of special LocalToGlobal mappings More...

#include <local_to_global_mapper.h>

+ Inheritance diagram for ug::ILocalToGlobalMapper< TAlgebra >:

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 Member Functions

virtual void add_local_mat_to_global (matrix_type &mat, const LocalMatrix &lmat, ConstSmartPtr< DoFDistribution > dd)=0
 send local entries to global rhs More...
 
virtual void add_local_vec_to_global (vector_type &vec, const LocalVector &lvec, ConstSmartPtr< DoFDistribution > dd)=0
 send local entries to global matrix More...
 
 ILocalToGlobalMapper ()
 default Constructor More...
 
virtual void modify_LocalSol (LocalVector &vecMod, const LocalVector &lvec, ConstSmartPtr< DoFDistribution > dd)=0
 modifies local solution vector for adapted defect computation More...
 
virtual ~ILocalToGlobalMapper ()
 virtual destructor More...
 

Detailed Description

template<typename TAlgebra>
class ug::ILocalToGlobalMapper< TAlgebra >

interface for definition of special LocalToGlobal mappings

Template Parameters
TAlgebratype of Algebra

Member Typedef Documentation

◆ algebra_type

template<typename TAlgebra >
typedef TAlgebra ug::ILocalToGlobalMapper< TAlgebra >::algebra_type

Algebra type.

◆ matrix_type

template<typename TAlgebra >
typedef algebra_type::matrix_type ug::ILocalToGlobalMapper< TAlgebra >::matrix_type

Type of algebra matrix.

◆ vector_type

template<typename TAlgebra >
typedef algebra_type::vector_type ug::ILocalToGlobalMapper< TAlgebra >::vector_type

Type of algebra vector.

Constructor & Destructor Documentation

◆ ILocalToGlobalMapper()

template<typename TAlgebra >
ug::ILocalToGlobalMapper< TAlgebra >::ILocalToGlobalMapper ( )
inline

default Constructor

◆ ~ILocalToGlobalMapper()

template<typename TAlgebra >
virtual ug::ILocalToGlobalMapper< TAlgebra >::~ILocalToGlobalMapper ( )
inlinevirtual

virtual destructor

Member Function Documentation

◆ add_local_mat_to_global()

template<typename TAlgebra >
virtual void ug::ILocalToGlobalMapper< TAlgebra >::add_local_mat_to_global ( matrix_type mat,
const LocalMatrix lmat,
ConstSmartPtr< DoFDistribution dd 
)
pure virtual

send local entries to global rhs

Implemented in ug::LocalToGlobalMapperNLGS< TAlgebra >.

◆ add_local_vec_to_global()

template<typename TAlgebra >
virtual void ug::ILocalToGlobalMapper< TAlgebra >::add_local_vec_to_global ( vector_type vec,
const LocalVector lvec,
ConstSmartPtr< DoFDistribution dd 
)
pure virtual

send local entries to global matrix

Implemented in ug::LocalToGlobalMapperNLGS< TAlgebra >.

◆ modify_LocalSol()

template<typename TAlgebra >
virtual void ug::ILocalToGlobalMapper< TAlgebra >::modify_LocalSol ( LocalVector vecMod,
const LocalVector lvec,
ConstSmartPtr< DoFDistribution dd 
)
pure virtual

modifies local solution vector for adapted defect computation

Implemented in ug::LocalToGlobalMapperNLGS< TAlgebra >.


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