DUNE-FEM (unstable)
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 <dune/fem/operator/common/stencil.hh>
Public Types | |
typedef std::vector< std::size_t >::size_type | IndexType |
type of std::vector for indexing | |
Public Member Functions | |
void | fill (const DomainEntityType &dEntity, const RangeEntityType &rEntity, bool fillGhost=true) const |
Create stencil entries for (dEntity,rEntity) pair. More... | |
const LocalStencilType & | localStencil (const RangeGlobalKeyType &key) const |
Return stencil for a given row of the matrix. More... | |
const GlobalStencilType & | globalStencil () const |
Return the full stencil. | |
int | maxNonZerosEstimate () const |
Return an upper bound for the maximum number of non-zero entries in all rows. | |
void | update () |
clear previously computed entries such that a re-compute happens when used again | |
Protected Member Functions | |
virtual void | setupStencil () const override |
method to setup stencil depending on entity set defined in derived class | |
Detailed Description
class Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace, Partition >
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.
- Template Parameters
-
DomainSpace type of discrete function space for the domain RangeSpace type of discrete function space for the range
Member Function Documentation
◆ fill()
|
inlineinherited |
Create stencil entries for (dEntity,rEntity) pair.
- Parameters
-
[in] dEntity domain entity [in] rEntity range entity [in] fillGhost setup stencil even for a ghost domain entity
References Dune::GhostEntity.
Referenced by Dune::Fem::DiagonalStencil< DomainSpace, RangeSpace, Partition >::setupStencil(), and Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::setupStencil().
◆ localStencil()
|
inlineinherited |
Return stencil for a given row of the matrix.
- Parameters
-
[in] key key for matrix row
References Dune::Fem::Stencil< DomainSpace, RangeSpace >::globalStencil().
Referenced by Dune::Fem::Stencil< DomainSpace, RangeSpace >::setupStencil().
The documentation for this class was generated from the following file:
- dune/fem/operator/common/stencil.hh