dune-fem 2.8.0
|
Stencil contaning the entries (en,en) and (en,nb) for all entities en in the space and neighbors nb of en. Defailt for an operator over a DG space. More...
#include <dune/fem/operator/common/stencil.hh>
Public Types | |
typedef Stencil< DomainSpace, RangeSpace > | BaseType |
typedef Partition | PartitionType |
typedef BaseType::DomainEntityType | DomainEntityType |
typedef BaseType::RangeEntityType | RangeEntityType |
typedef BaseType::DomainGlobalKeyType | DomainGlobalKeyType |
typedef BaseType::RangeGlobalKeyType | RangeGlobalKeyType |
typedef BaseType::LocalStencilType | LocalStencilType |
typedef BaseType::GlobalStencilType | GlobalStencilType |
typedef std::vector< std::size_t >::size_type | IndexType |
type of std::vector for indexing | |
Public Member Functions | |
DiagonalAndNeighborStencil (const DomainSpace &dSpace, const RangeSpace &rSpace, bool onlyNonContinuousNeighbors=false) | |
const DomainSpace & | domainSpace () const |
const RangeSpace & | rangeSpace () const |
void | fill (const DomainEntityType &dEntity, const RangeEntityType &rEntity, bool fillGhost=true) const |
Create stencil entries for (dEntity,rEntity) pair. | |
const LocalStencilType & | localStencil (const RangeGlobalKeyType &key) const |
Return stencil for a given row of the matrix. | |
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. | |
int | rows () const |
int | cols () const |
void | update () |
clear previously computed entries such that a re-compute happens when used again | |
void | setup () |
Static Public Attributes | |
static const bool | indexIsSimple = std::is_convertible< RangeGlobalKeyType, IndexType >::value |
Protected Member Functions | |
virtual void | setupStencil () const override |
method to setup stencil depending on entity set defined in derived class | |
Protected Attributes | |
bool | onlyNonContinuousNeighbors_ |
const DomainSpace & | domainSpace_ |
const RangeSpace & | rangeSpace_ |
const DomainBlockMapper & | domainBlockMapper_ |
const RangeBlockMapper & | rangeBlockMapper_ |
GlobalStencilType | globalStencil_ |
Stencil contaning the entries (en,en) and (en,nb) for all entities en in the space and neighbors nb of en. Defailt for an operator over a DG space.
DomainSpace | type of discrete function space for the domain |
RangeSpace | type of discrete function space for the range |
typedef Stencil<DomainSpace,RangeSpace> Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::BaseType |
typedef BaseType::DomainEntityType Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::DomainEntityType |
typedef BaseType::DomainGlobalKeyType Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::DomainGlobalKeyType |
typedef BaseType::GlobalStencilType Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::GlobalStencilType |
|
inherited |
type of std::vector for indexing
typedef BaseType::LocalStencilType Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::LocalStencilType |
typedef Partition Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::PartitionType |
typedef BaseType::RangeEntityType Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::RangeEntityType |
typedef BaseType::RangeGlobalKeyType Dune::Fem::DiagonalAndNeighborStencil< DomainSpace, RangeSpace, Partition >::RangeGlobalKeyType |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
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 |
|
inlineinherited |
Return the full stencil.
|
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 rows.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineoverrideprotectedvirtual |
method to setup stencil depending on entity set defined in derived class
Implements Dune::Fem::Stencil< DomainSpace, RangeSpace >.
|
inlineinherited |
clear previously computed entries such that a re-compute happens when used again
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
staticinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |