dune-fem 2.8.0
|
#include <dune/fem/operator/matrix/spmatrix.hh>
Public Member Functions | |
LocalMatrix (const MatrixObjectType &matrixObject, const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const DomainMapperType &domainMapper, const RangeMapperType &rangeMapper) | |
constructor | |
LocalMatrix (const LocalMatrix &)=delete | |
void | init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
size_type | rows () const |
return number of rows | |
size_type | columns () const |
return number of columns | |
void | add (size_type localRow, size_type localCol, DofType value) |
add value to matrix entry | |
DofType | get (size_type localRow, size_type localCol) const |
get matrix entry | |
void | set (size_type localRow, size_type localCol, DofType value) |
set matrix entry to value | |
void | unitRow (size_type localRow) |
set matrix row to zero except diagonla entry | |
void | clearRow (size_type localRow) |
set matrix row to zero | |
void | clearCol (size_type localCol) |
set matrix column to zero | |
void | clear () |
clear all entries belonging to local matrix | |
void | resort () |
resort all global rows of matrix to have ascending numbering | |
void | scale (const DofType &value) |
scale local matrix with a certain value | |
void | init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
initialize the local matrix to entities | |
void | bind (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
initialize the local matrix to entities | |
void | unbind () |
clear local matrix from entities | |
void | finalize () |
finalize local matrix setup and possibly add values to real matrix | |
const DomainSpaceType & | domainSpace () const |
access to the domain space | |
const RangeSpaceType & | rangeSpace () const |
access to the range space | |
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 | |
const DomainEntityType & | domainEntity () const |
const RangeEntityType & | rangeEntity () const |
void | multiplyAdd (const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const |
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs | |
void | clearRow (const int localRow) |
set row to zero values | |
void | clearCol (const int localCol) |
ser column entries to zero | |
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 | |
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 | |
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 | |
MatrixColumnType | column (const unsigned int col) |
return column object for local matrix which contains axpy methods for convenience | |
Protected Member Functions | |
void | scale (size_type localRow, size_type localCol, DofType value) |
scale matrix entry with value | |
const Implementation & | asImp () const |
Implementation & | asImp () |
Static Protected Member Functions | |
static const Implementation & | asImp (const ThisType &other) |
static Implementation & | asImp (ThisType &other) |
static const LocalMatrixTraits::LocalMatrixType & | asImp (const ThisType &other) |
static LocalMatrixTraits::LocalMatrixType & | asImp (ThisType &other) |
Protected Attributes | |
MatrixType & | matrix_ |
const DomainMapperType & | domainMapper_ |
const RangeMapperType & | rangeMapper_ |
RowIndicesType | rowIndices_ |
ColumnIndicesType | columnIndices_ |
const DomainSpaceType & | domainSpace_ |
const RangeSpaceType & | rangeSpace_ |
DomainBasisFunctionSetType | domainBaseSet_ |
RangeBasisFunctionSetType | rangeBaseSet_ |
std::optional< DomainEntityType > | domainEntity_ |
std::optional< RangeEntityType > | rangeEntity_ |
typedef std::vector< typename DomainMapperType::SizeType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::ColumnIndicesType |
typedef RangeFieldType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::DofType |
type of the DoFs
|
inherited |
|
inherited |
typedef Traits::DomainMapperType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::DomainMapperType |
type of nonblocked domain mapper
|
inherited |
typedef Traits::LittleBlockType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::LittleBlockType |
type of little blocks
|
inherited |
type of this interface
|
inherited |
type of local matrix implementation
|
inherited |
typedef MatrixObject Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::MatrixObjectType |
type of matrix object
typedef MatrixObjectType::MatrixType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::MatrixType |
type of matrix
|
inherited |
|
inherited |
typedef Traits::RangeFieldType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::RangeFieldType |
type of entries of little blocks
typedef Traits::RangeMapperType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::RangeMapperType |
type of nonblocked domain mapper
|
inherited |
typedef std::vector< typename RangeMapperType::SizeType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::RowIndicesType |
typedef LocalMatrixTraits< MatrixObjectType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::Traits |
type of the traits
|
inline |
constructor
|
delete |
|
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
|
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 |
clear all entries belonging to local matrix
|
inlineinherited |
ser column entries to zero
[in] | localCol | local column that is set to zero |
|
inline |
set matrix column to zero
|
inlineinherited |
set row to zero values
[in] | localRow | local row that is set to zero |
|
inline |
set matrix row to zero
|
inlineinherited |
return column object for local matrix which contains axpy methods for convenience
col | local column number |
|
inline |
return number of columns
|
inlineinherited |
access to the base function set within the domain space
|
inlineinherited |
|
inlineinherited |
access to the domain space
|
inlineinherited |
finalize local matrix setup and possibly add values to real matrix
|
inlineinherited |
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 |
get matrix entry
|
inlineinherited |
initialize the local matrix to entities
[in] | domainEntity | entity within grid of domain space, |
[in] | rangeEntity | entity within grid of range space |
|
inline |
|
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 |
|
inlineinherited |
access to the base function set within the range space
|
inlineinherited |
|
inlineinherited |
access to the range space
|
inline |
resort all global rows of matrix to have ascending numbering
|
inline |
return number of rows
|
inline |
scale local matrix with a certain value
|
inlineinherited |
scale matrix with scalar value
[in] | scalar | scalar value that scales the matrix |
|
inlineprotected |
scale matrix entry with value
|
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 matrix entry to value
|
inlineinherited |
clear local matrix from entities
|
inline |
set matrix row to zero except diagonla entry
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protected |