dune-fem
2.4.1-rc
|
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/matrix/spmatrix.hh>
Classes | |
class | LocalMatrix |
LocalMatrix. More... | |
struct | LocalMatrixTraits |
Public Types | |
typedef DomainSpace | DomainSpaceType |
typedef RangeSpace | RangeSpaceType |
typedef DomainSpaceType::EntityType | DomainEntityType |
typedef RangeSpaceType::EntityType | RangeEntityType |
typedef DomainSpaceType::EntityType | ColumnEntityType |
typedef RangeSpaceType::EntityType | RowEntityType |
typedef DomainSpaceType::BlockMapperType | DomainBlockMapperType |
typedef NonBlockMapper< DomainBlockMapperType, DomainSpaceType::localBlockSize > | DomainMapperType |
typedef RangeSpaceType::BlockMapperType | RangeBlockMapperType |
typedef NonBlockMapper< RangeBlockMapperType, RangeSpaceType::localBlockSize > | RangeMapperType |
typedef Matrix | MatrixType |
typedef MatrixType | PreconditionMatrixType |
typedef LocalMatrix< ThisType > | ObjectType |
type of local matrix More... | |
typedef ThisType | LocalMatrixFactoryType |
typedef Fem::ObjectStack< LocalMatrixFactoryType > | LocalMatrixStackType |
typedef LocalMatrixWrapper< LocalMatrixStackType > | LocalMatrixType |
type of local matrix More... | |
typedef ColumnObject< ThisType > | LocalColumnObjectType |
Public Member Functions | |
SparseRowMatrixObject (const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const std::string ¶mfile) | |
construct matrix object More... | |
SparseRowMatrixObject (const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const MatrixParameter ¶m=SparseRowMatrixParameter()) | |
construct matrix object More... | |
const DomainSpaceType & | domainSpace () const |
return domain space (i.e. space that builds the rows) More... | |
const RangeSpaceType & | rangeSpace () const |
return range space (i.e. space that builds the columns) More... | |
MatrixType & | matrix () const |
return reference to stability matrix More... | |
ObjectType * | newObject () const |
interface method from LocalMatrixFactory More... | |
LocalMatrixType | localMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) const |
return local matrix More... | |
LocalColumnObjectType | localColumn (const DomainEntityType &domainEntity) const |
template<class LocalMatrix > | |
void | addLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, const LocalMatrix &localMat) |
template<class LocalMatrix , class Scalar > | |
void | addScaledLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, const LocalMatrix &localMat, const Scalar &s) |
template<class LocalMatrix > | |
void | setLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, const LocalMatrix &localMat) |
template<class LocalMatrix > | |
void | getLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, LocalMatrix &localMat) const |
void | clear () |
resize all matrices and clear them More... | |
bool | hasPreconditionMatrix () const |
return true if precoditioning matrix is provided More... | |
const PreconditionMatrixType & | preconditionMatrix () const |
return reference to preconditioner More... | |
template<class Stencil > | |
void | reserve (const Stencil &stencil, bool verbose=false) |
reserve memory for assemble based on the provided stencil More... | |
template<class DomainFunction , class RangeFunction > | |
void | solveUMF (const DomainFunction &arg, RangeFunction &dest) const |
template<class DomainFunction , class RangeFunction > | |
void | solveUMFNonSymmetric (const DomainFunction &arg, RangeFunction &dest) const |
template<class DomainFunction , class RangeFunction > | |
void | apply (const DomainFunction &arg, RangeFunction &dest) const |
apply matrix to discrete function More... | |
void | apply (const AdaptiveDiscreteFunction< DomainSpaceType > &arg, AdaptiveDiscreteFunction< RangeSpaceType > &dest) const |
apply matrix to discrete function More... | |
template<class DomainFunction , class RangeFunction > | |
void | apply_t (const RangeFunction &arg, DomainFunction &dest) const |
apply transposed matrix to discrete function More... | |
void | apply_t (const AdaptiveDiscreteFunction< RangeSpaceType > &arg, AdaptiveDiscreteFunction< DomainSpaceType > &dest) const |
apply transposed matrix to discrete function More... | |
double | ddotOEM (const double *v, const double *w) const |
mult method of matrix object used by oem solver More... | |
void | multOEM (const double *arg, double *dest) const |
mult method of matrix object used by oem solver More... | |
void | resort () |
resort row numbering in matrix to have ascending numbering More... | |
void | createPreconditionMatrix () |
template<class DiscreteFunctionType > | |
void | extractDiagonal (DiscreteFunctionType &diag) const |
extract diagonal entries from matrix into discrete function More... | |
template<class HangingNodesType > | |
void | changeHangingNodes (const HangingNodesType &hangingNodes) |
delete all row belonging to a hanging node and rebuild them More... | |
Protected Types | |
typedef DomainSpaceType::GridType | GridType |
Protected Member Functions | |
template<class HangingNodesType , class ColumnVectorType > | |
void | insertHangingRow (const HangingNodesType &hangingNodes, const int row, const ColumnVectorType &colVec) |
insert row to be a row for a hanging node More... | |
Protected Attributes | |
const DomainSpaceType & | domainSpace_ |
const RangeSpaceType & | rangeSpace_ |
DomainMapperType | domainMapper_ |
RangeMapperType | rangeMapper_ |
int | sequence_ |
MatrixType | matrix_ |
bool | preconditioning_ |
LocalMatrixStackType | localMatrixStack_ |
typedef DomainSpaceType :: EntityType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::ColumnEntityType |
typedef DomainSpaceType :: BlockMapperType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::DomainBlockMapperType |
typedef DomainSpaceType :: EntityType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::DomainEntityType |
typedef NonBlockMapper< DomainBlockMapperType, DomainSpaceType :: localBlockSize > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::DomainMapperType |
typedef DomainSpace Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::DomainSpaceType |
|
protected |
typedef ColumnObject< ThisType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalColumnObjectType |
typedef ThisType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrixFactoryType |
typedef Fem :: ObjectStack< LocalMatrixFactoryType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrixStackType |
typedef LocalMatrixWrapper< LocalMatrixStackType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrixType |
type of local matrix
typedef Matrix Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::MatrixType |
typedef LocalMatrix<ThisType> Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::ObjectType |
type of local matrix
typedef MatrixType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::PreconditionMatrixType |
typedef RangeSpaceType :: BlockMapperType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::RangeBlockMapperType |
typedef RangeSpaceType :: EntityType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::RangeEntityType |
typedef NonBlockMapper< RangeBlockMapperType, RangeSpaceType :: localBlockSize > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::RangeMapperType |
typedef RangeSpace Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::RangeSpaceType |
typedef RangeSpaceType :: EntityType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::RowEntityType |
|
inline |
construct matrix object
|
inline |
construct matrix object
|
inline |
|
inline |
|
inline |
apply matrix to discrete function
Referenced by Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction >::operator()().
|
inline |
apply matrix to discrete function
|
inline |
apply transposed matrix to discrete function
|
inline |
apply transposed matrix to discrete function
|
inline |
delete all row belonging to a hanging node and rebuild them
|
inline |
resize all matrices and clear them
|
inline |
|
inlinevirtual |
mult method of matrix object used by oem solver
Implements Dune::Fem::OEMMatrix.
|
inline |
return domain space (i.e. space that builds the rows)
|
inline |
extract diagonal entries from matrix into discrete function
|
inline |
|
inline |
return true if precoditioning matrix is provided
|
inlineprotected |
insert row to be a row for a hanging node
|
inline |
|
inline |
return local matrix
|
inline |
return reference to stability matrix
|
inlinevirtual |
mult method of matrix object used by oem solver
Implements Dune::Fem::OEMMatrix.
|
inline |
interface method from LocalMatrixFactory
|
inline |
return reference to preconditioner
|
inline |
return range space (i.e. space that builds the columns)
|
inline |
reserve memory for assemble based on the provided stencil
|
inline |
resort row numbering in matrix to have ascending numbering
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |