dune-fem
2.8-git
|
#include <dune/fem/operator/common/localmatrixwrapper.hh>
Public Types | |
typedef LocalMatrixStack | LocalMatrixStackType |
type of the local matrix stack More... | |
typedef LocalMatrixWrapperTraits< LocalMatrixStackType > | Traits |
type of the traits More... | |
typedef Traits::WrappedLocalMatrixType | WrappedLocalMatrixType |
type of the wrapped local matrix More... | |
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 More... | |
typedef Traits ::LocalMatrixType | LocalMatrixType |
type of local matrix implementation More... | |
typedef Traits ::LittleBlockType | LittleBlockType |
typedef MatrixColumnObject< Traits > | MatrixColumnType |
Public Member Functions | |
LocalMatrixWrapper (LocalMatrixStackType &stack) | |
constructor creating an uninitialized local matrix More... | |
template<class DomainEntityType , class RangeEntityType > | |
LocalMatrixWrapper (LocalMatrixStackType &stack, const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) | |
constructor initializing the wrapped local matrix More... | |
LocalMatrixWrapper (const ThisType &other) | |
copy constructor More... | |
~LocalMatrixWrapper () | |
destructor More... | |
ThisType & | operator= (const ThisType &)=delete |
void | init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
initialize the local matrix to entities More... | |
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 More... | |
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 More... | |
void | clearRow (const int localRow) |
set row to zero values More... | |
void | clearCol (const int localCol) |
set row to zero values More... | |
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 More... | |
void | scale (const RangeFieldType &scalar) |
scale matrix with scalar value More... | |
void | clear () |
set all entries of local matrix to zero More... | |
void | resort () |
resort ordering in global matrix (if possible) More... | |
int | rows () const |
get number of rows within the matrix More... | |
int | columns () const |
get number of columns within the matrix More... | |
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 More... | |
const DomainSpaceType & | domainSpace () const |
access to the domain space More... | |
const RangeSpaceType & | rangeSpace () const |
access to the range space More... | |
const DomainEntityType & | domainEntity () const |
const RangeEntityType & | rangeEntity () const |
const DomainBasisFunctionSetType & | domainBasisFunctionSet () const |
access to the base function set within the domain space More... | |
const RangeBasisFunctionSetType & | rangeBasisFunctionSet () const |
access to the base function set within the range space More... | |
void | bind (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
initialize the local matrix to entities More... | |
void | unbind () |
clear local matrix from entities More... | |
void | add (const int localRow, const int localCol, const RangeFieldType &value) |
add value to matrix entry (row,col) where row and col are local row and local column More... | |
void | set (const int localRow, const int localCol, const RangeFieldType &value) |
set value of matrix entry (row,col) where row and col are local row and local column More... | |
void | multiplyAdd (const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const |
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs More... | |
void | scale (const RangeFieldType &scalar) |
scale matrix with scalar value More... | |
MatrixColumnType | column (const unsigned int col) |
return column object for local matrix which contains axpy methods for convenience More... | |
void | finalize () |
finalize local matrix setup and possibly add values to real matrix More... | |
Protected Member Functions | |
const WrappedLocalMatrixType & | localMatrix () const |
WrappedLocalMatrixType & | localMatrix () |
const Implementation & | asImp () const |
Implementation & | asImp () |
const Implementation & | asImp () const |
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) |
typedef BaseType::DomainBasisFunctionSetType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::DomainBasisFunctionSetType |
typedef BaseType::DomainEntityType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::DomainEntityType |
typedef BaseType::DomainSpaceType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::DomainSpaceType |
|
inherited |
type of block (i.e. FieldMatrix for BlockMatrices
|
inherited |
type of this interface
typedef LocalMatrixStack Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::LocalMatrixStackType |
type of the local matrix stack
|
inherited |
type of local matrix implementation
|
inherited |
typedef BaseType::RangeBasisFunctionSetType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeBasisFunctionSetType |
typedef BaseType::RangeEntityType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeEntityType |
typedef Traits::RangeFieldType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeFieldType |
typedef BaseType::RangeSpaceType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::RangeSpaceType |
typedef LocalMatrixWrapperTraits< LocalMatrixStackType > Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::Traits |
type of the traits
typedef Traits::WrappedLocalMatrixType Dune::Fem::LocalMatrixWrapper< LocalMatrixStack >::WrappedLocalMatrixType |
type of the wrapped local matrix
|
inlineexplicit |
constructor creating an uninitialized local matrix
|
inline |
constructor initializing the wrapped local matrix
|
inline |
copy constructor
[in] | other | LocalMatrixWrapper to copy |
|
inline |
destructor
|
inlineinherited |
add value to matrix entry (row,col) where row and col are local row and local column
[in] | localRow | local row |
[in] | localCol | local column |
[in] | value | value to add |
|
inline |
add value to matrix entry (row,col) where row and col are local row and local column
[in] | localRow | local row |
[in] | localCol | local column |
[in] | value | value to add |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineinherited |
initialize the local matrix to entities
[in] | domainEntity | entity within grid of domain space, |
[in] | rangeEntity | entity within grid of range space |
|
inline |
set all entries of local matrix to zero
|
inline |
set row to zero values
[in] | localRow | local row that is set to zero |
|
inline |
set row to zero values
[in] | localRow | local row that is set to zero |
|
inlineinherited |
return column object for local matrix which contains axpy methods for convenience
col | local column number |
|
inline |
get number of columns within the matrix
|
inline |
access to the base function set within the domain space
|
inline |
|
inline |
access to the domain space
|
inlineinherited |
finalize local matrix setup and possibly add values to real matrix
|
inline |
get value of matrix entry (row,col) where row and col are local row and local column
[in] | localRow | local row |
[in] | localCol | local column |
|
inline |
initialize the local matrix to entities
[in] | domainEntity | entity within grid of domain space, |
[in] | rangeEntity | entity within grid of range space |
|
inlineprotected |
|
inlineprotected |
|
inline |
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
[in] | lhs | left hand side |
[out] | rhs | right hand side |
|
inlineinherited |
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
[in] | lhs | left hand side |
[out] | rhs | right hand side |
|
delete |
|
inline |
access to the base function set within the range space
|
inline |
|
inline |
access to the range space
|
inline |
resort ordering in global matrix (if possible)
|
inline |
get number of rows within the matrix
|
inlineinherited |
scale matrix with scalar value
[in] | scalar | scalar value that scales the matrix |
|
inline |
scale matrix with scalar value
[in] | scalar | scalar value that scales the matrix |
|
inlineinherited |
set value of matrix entry (row,col) where row and col are local row and local column
[in] | localRow | local row |
[in] | localCol | local column |
[in] | value | value to set |
|
inline |
set value of matrix entry (row,col) where row and col are local row and local column
[in] | localRow | local row |
[in] | localCol | local column |
[in] | value | value to set |
|
inlineinherited |
clear local matrix from entities