dune-fem
2.4.1-rc
|
Stencil contaning the entries (en,en) for all entities in the space. Defailt for an operator over a Lagrange space or a DG mass operator. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/common/stencil.hh>
Public Types | |
typedef Stencil< DomainSpace, RangeSpace > | BaseType |
typedef BaseType::DomainEntityType | DomainEntityType |
typedef BaseType::RangeEntityType | RangeEntityType |
typedef BaseType::DomainGlobalKeyType | DomainGlobalKeyType |
typedef BaseType::RangeGlobalKeyType | RangeGlobalKeyType |
typedef BaseType::LocalStencilType | LocalStencilType |
typedef BaseType::GlobalStencilType | GlobalStencilType |
Public Member Functions | |
DiagonalStencil (const DomainSpace &dSpace, const RangeSpace &rSpace) | |
void | fill (const DomainEntityType &dEntity, const RangeEntityType &rEntity, bool fillGhost=true) |
Create stencil entries for (dEntity,rEntity) pair. More... | |
const LocalStencilType & | localStencil (const DomainGlobalKeyType &key) const |
Return stencil for a given row of the matrix. More... | |
const GlobalStencilType & | globalStencil () const |
Return the full stencil. More... | |
int | maxNonZerosEstimate () const |
Return an upper bound for the maximum number of non-zero entries in all row. More... | |
Stencil contaning the entries (en,en) for all entities in the space. Defailt for an operator over a Lagrange space or a DG mass operator.
DomainSpace | type of discrete function space for the domain |
RangeSpace | type of discrete function space for the range |
typedef Stencil<DomainSpace,RangeSpace> Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace >::BaseType |
typedef BaseType::DomainEntityType Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace >::DomainEntityType |
typedef BaseType::DomainGlobalKeyType Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace >::DomainGlobalKeyType |
typedef BaseType::GlobalStencilType Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace >::GlobalStencilType |
typedef BaseType::LocalStencilType Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace >::LocalStencilType |
typedef BaseType::RangeEntityType Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace >::RangeEntityType |
typedef BaseType::RangeGlobalKeyType Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace >::RangeGlobalKeyType |
|
inline |
|
inlineinherited |
Create stencil entries for (dEntity,rEntity) pair.
[in] | dEntity | domain entity |
[in] | rEntity | range entity |
[in] | fillGhost | setup stencil even for a ghost domain entity |
Referenced by Dune::Fem::Stencil< DomainSpace, RangeSpace >::maxNonZerosEstimate().
|
inlineinherited |
Return the full stencil.
Referenced by Dune::Fem::Stencil< DomainSpace, RangeSpace >::maxNonZerosEstimate().
|
inlineinherited |
Return stencil for a given row of the matrix.
[in] | key | key for matrix row |
|
inlineinherited |
Return an upper bound for the maximum number of non-zero entries in all row.
References Dune::Fem::Stencil< DomainSpace, RangeSpace >::fill(), Dune::Fem::Stencil< DomainSpace, RangeSpace >::globalStencil(), and Dune::Std::max().
Referenced by Dune::Fem::SparseRowMatrixObject< DomainFunction::DiscreteFunctionSpaceType, RangeFunction::DiscreteFunctionSpaceType >::reserve().