|
dune-fem 2.12-git
|
#include <dune/fem/operator/common/localmatrixwrapper.hh>

Public Types | |
| typedef LocalMatrixStack | LocalMatrixStackType |
| type of the local matrix stack | |
| typedef LocalMatrixWrapperTraits< LocalMatrixStackType > | Traits |
| type of the traits | |
| typedef Traits::WrappedLocalMatrixType | WrappedLocalMatrixType |
| type of the wrapped local matrix | |
| typedef Traits::RangeFieldType | RangeFieldType |
| typedef BaseType::DomainSpaceType | DomainSpaceType |
| typedef BaseType::RangeSpaceType | RangeSpaceType |
| typedef BaseType::DomainBasisFunctionSetType | DomainBasisFunctionSetType |
| typedef BaseType::RangeBasisFunctionSetType | RangeBasisFunctionSetType |
| typedef BaseType::DomainEntityType | DomainEntityType |
| typedef BaseType::RangeEntityType | RangeEntityType |
| typedef ThisType | LocalMatrixInterfaceType |
| type of this interface | |
| typedef Traits::LocalMatrixType | LocalMatrixType |
| type of local matrix implementation | |
| typedef Traits::LittleBlockType | LittleBlockType |
| typedef MatrixColumnObject< Traits > | MatrixColumnType |
Public Member Functions | |
| LocalMatrixWrapper (LocalMatrixStackType &stack) | |
| constructor creating an uninitialized local matrix | |
| template<class DomainEntityType , class RangeEntityType > | |
| LocalMatrixWrapper (LocalMatrixStackType &stack, const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) | |
| constructor initializing the wrapped local matrix | |
| LocalMatrixWrapper (const ThisType &other) | |
| copy constructor | |
| ~LocalMatrixWrapper () | |
| destructor | |
| ThisType & | operator= (const ThisType &)=delete |
| void | init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
| initialize the local matrix to entities | |
| void | add (int localRow, int localCol, const RangeFieldType &value) |
| add value to matrix entry (row,col) where row and col are local row and local column | |
| void | set (int localRow, int localCol, const RangeFieldType &value) |
| set value of matrix entry (row,col) where row and col are local row and local column | |
| void | clearRow (const int localRow) |
| set row to zero values | |
| void | clearCol (const int localCol) |
| set row to zero values | |
| const RangeFieldType | get (const int localRow, const int localCol) const |
| get value of matrix entry (row,col) where row and col are local row and local column | |
| void | scale (const RangeFieldType &scalar) |
| scale matrix with scalar value | |
| void | clear () |
| set all entries of local matrix to zero | |
| void | resort () |
| resort ordering in global matrix (if possible) | |
| int | rows () const |
| get number of rows within the matrix | |
| int | columns () const |
| get number of columns within the matrix | |
| template<class DomainLocalFunctionImp , class RangeLocalFunctionImp > | |
| void | multiplyAdd (const DomainLocalFunctionImp &dLf, RangeLocalFunctionImp &rLf) |
| multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs | |
| const DomainSpaceType & | domainSpace () const |
| access to the domain space | |
| const RangeSpaceType & | rangeSpace () const |
| access to the range space | |
| const DomainEntityType & | domainEntity () const |
| const RangeEntityType & | rangeEntity () const |
| const DomainBasisFunctionSetType & | domainBasisFunctionSet () const |
| access to the base function set within the domain space | |
| const RangeBasisFunctionSetType & | rangeBasisFunctionSet () const |
| access to the base function set within the range space | |
| void | bind (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
| initialize the local matrix to entities | |
| void | unbind () |
| clear local matrix from entities | |
| void | multiplyAdd (const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const |
| multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs | |
| MatrixColumnType | column (const unsigned int col) |
| return column object for local matrix which contains axpy methods for convenience | |
| void | finalize () |
| finalize local matrix setup and possibly add values to real matrix | |
Protected Member Functions | |
| const WrappedLocalMatrixType & | localMatrix () const |
| WrappedLocalMatrixType & | localMatrix () |
| const Implementation & | asImp () const |
| Implementation & | asImp () |
Static Protected Member Functions | |
| static const Implementation & | asImp (const ThisType &other) |
| static Implementation & | asImp (ThisType &other) |
| static const Implementation & | asImp (const ThisType &other) |
| static Implementation & | asImp (ThisType &other) |
Member Typedef Documentation
◆ DomainBasisFunctionSetType
| typedef BaseType::DomainBasisFunctionSetType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::DomainBasisFunctionSetType |
◆ DomainEntityType
| typedef BaseType::DomainEntityType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::DomainEntityType |
◆ DomainSpaceType
| typedef BaseType::DomainSpaceType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::DomainSpaceType |
◆ LittleBlockType
|
inherited |
type of block (i.e. FieldMatrix for BlockMatrices
◆ LocalMatrixInterfaceType
|
inherited |
type of this interface
◆ LocalMatrixStackType
| typedef LocalMatrixStack Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::LocalMatrixStackType |
type of the local matrix stack
◆ LocalMatrixType
|
inherited |
type of local matrix implementation
◆ MatrixColumnType
|
inherited |
◆ RangeBasisFunctionSetType
| typedef BaseType::RangeBasisFunctionSetType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeBasisFunctionSetType |
◆ RangeEntityType
| typedef BaseType::RangeEntityType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeEntityType |
◆ RangeFieldType
| typedef Traits::RangeFieldType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeFieldType |
◆ RangeSpaceType
| typedef BaseType::RangeSpaceType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeSpaceType |
◆ Traits
| typedef LocalMatrixWrapperTraits< LocalMatrixStackType > Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::Traits |
type of the traits
◆ WrappedLocalMatrixType
| typedef Traits::WrappedLocalMatrixType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::WrappedLocalMatrixType |
type of the wrapped local matrix
Constructor & Destructor Documentation
◆ LocalMatrixWrapper() [1/3]
|
inlineexplicit |
constructor creating an uninitialized local matrix
◆ LocalMatrixWrapper() [2/3]
|
inline |
constructor initializing the wrapped local matrix
◆ LocalMatrixWrapper() [3/3]
|
inline |
copy constructor
- Parameters
-
[in] other LocalMatrixWrapper to copy
◆ ~LocalMatrixWrapper()
|
inline |
destructor
Member Function Documentation
◆ add()
|
inline |
add value to matrix entry (row,col) where row and col are local row and local column
- Parameters
-
[in] localRow local row [in] localCol local column [in] value value to add
◆ asImp() [1/6]
|
inlineprotectedinherited |
◆ asImp() [2/6]
|
inlineprotectedinherited |
◆ asImp() [3/6]
|
inlinestaticprotectedinherited |
◆ asImp() [4/6]
|
inlinestaticprotectedinherited |
◆ asImp() [5/6]
|
inlinestaticprotectedinherited |
◆ asImp() [6/6]
|
inlinestaticprotectedinherited |
◆ bind()
|
inlineinherited |
initialize the local matrix to entities
- Parameters
-
[in] domainEntity entity within grid of domain space, [in] rangeEntity entity within grid of range space
◆ clear()
|
inline |
set all entries of local matrix to zero
◆ clearCol()
|
inline |
set row to zero values
- Parameters
-
[in] localRow local row that is set to zero
◆ clearRow()
|
inline |
set row to zero values
- Parameters
-
[in] localRow local row that is set to zero
◆ column()
|
inlineinherited |
return column object for local matrix which contains axpy methods for convenience
- Parameters
-
col local column number
- Returns
- object of type MatrixColumnObject
◆ columns()
|
inline |
get number of columns within the matrix
◆ domainBasisFunctionSet()
|
inline |
access to the base function set within the domain space
◆ domainEntity()
|
inline |
◆ domainSpace()
|
inline |
access to the domain space
◆ finalize()
|
inlineinherited |
finalize local matrix setup and possibly add values to real matrix
◆ get()
|
inline |
get value of matrix entry (row,col) where row and col are local row and local column
- Parameters
-
[in] localRow local row [in] localCol local column
- Returns
- value of matrix entry
◆ init()
|
inline |
initialize the local matrix to entities
- Parameters
-
[in] domainEntity entity within grid of domain space, [in] rangeEntity entity within grid of range space
◆ localMatrix() [1/2]
|
inlineprotected |
◆ localMatrix() [2/2]
|
inlineprotected |
◆ multiplyAdd() [1/2]
|
inline |
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
- Parameters
-
[in] lhs left hand side [out] rhs right hand side
◆ multiplyAdd() [2/2]
|
inlineinherited |
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
- Parameters
-
[in] lhs left hand side [out] rhs right hand side
◆ operator=()
|
delete |
◆ rangeBasisFunctionSet()
|
inline |
access to the base function set within the range space
◆ rangeEntity()
|
inline |
◆ rangeSpace()
|
inline |
access to the range space
◆ resort()
|
inline |
resort ordering in global matrix (if possible)
◆ rows()
|
inline |
get number of rows within the matrix
◆ scale()
|
inline |
scale matrix with scalar value
- Parameters
-
[in] scalar scalar value that scales the matrix
◆ set()
|
inline |
set value of matrix entry (row,col) where row and col are local row and local column
- Parameters
-
[in] localRow local row [in] localCol local column [in] value value to set
◆ unbind()
|
inlineinherited |
clear local matrix from entities
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8