DUNE-FEM (2.10)
A FilteredGridPart allows to extract a set of entities from a grid satisfying a given constrainted defined through a filter class. More...
#include <dune/fem/gridpart/filteredgridpart.hh>
Classes | |
struct | Codim |
grid part typedefs, use those of traits More... | |
Public Types | |
typedef FilteredGridPartTraits< HostGridPartImp, FilterImp, useFilteredIndexSet > | Traits |
traits class | |
typedef FilterImp | FilterType |
type of filter | |
typedef Traits::GridType | GridType |
grid type | |
typedef Traits::IndexSetType | IndexSetType |
index set type | |
typedef Traits::IntersectionIteratorType | IntersectionIteratorType |
intersection iterator type | |
typedef IntersectionIteratorType::Intersection | IntersectionType |
intersection type | |
typedef DofManager< GridType > | DofManagerType |
type of DofManager | |
typedef BoundaryIdProvider< GridType > | BoundaryIdProviderType |
type of boundary id provider specialized for each grid type | |
typedef Traits::GridPartType | GridPartType |
Type of the implementation. | |
typedef GridType | Grid |
type of Grid implementation | |
typedef IndexSetType | IndexSet |
Index set implementation. | |
typedef CommunicationType | Communication |
Collective communication. | |
typedef Traits::TwistUtilityType | TwistUtilityType |
Twist utility type. | |
typedef IntersectionIteratorType | IntersectionIterator |
type of IntersectionIterator | |
typedef IntersectionType | Intersection |
type of Intersection | |
Public Member Functions | |
FilteredGridPart (HostGridPartType &hostGridPart, const FilterType &filter) | |
constructor | |
FilteredGridPart (const FilteredGridPart &other) | |
copy constructor | |
const IndexSetType & | indexSet () const |
return index set of this grid part | |
template<int codim> | |
Codim< codim >::IteratorType | begin () const |
Begin iterator on the leaf level. | |
template<int codim, PartitionIteratorType pitype> | |
Codim< codim >::template Partition< pitype >::IteratorType | begin () const |
Begin iterator on the leaf level. | |
template<int codim> | |
Codim< codim >::IteratorType | end () const |
Begin iterator on the leaf level. | |
template<int codim, PartitionIteratorType pitype> | |
Codim< codim >::template Partition< pitype >::IteratorType | end () const |
End iterator on the leaf level. | |
int | level () const |
Returns maxlevel of the grid. | |
IntersectionIteratorType | ibegin (const EntityType &entity) const |
ibegin of corresponding intersection iterator for given entity | |
IntersectionIteratorType | iend (const EntityType &entity) const |
iend of corresponding intersection iterator for given entity | |
template<class DataHandleImp , class DataType > | |
void | communicate (CommDataHandleIF< DataHandleImp, DataType > &dataHandle, InterfaceType iftype, CommunicationDirection dir) const |
corresponding communication method for this grid part | |
template<class EntitySeed > | |
Codim< EntitySeed::codimension >::EntityType | entity (const EntitySeed &seed) const |
obtain entity pointer from entity seed More... | |
const FilterType & | filter () const |
return reference to filter | |
FilterType & | filter () |
return reference to filter | |
template<class Entity > | |
const Entity & | convert (const Entity &entity) const |
convert the grid's entity to a grid part entity Usually the parameter is GridType :: Codim< codim > :: Entity and the return is Codim< codim > :: EntityType. In general these types are the same, but for overloaded entities on grid parts this can differ. More... | |
const GridType & | grid () const |
Returns const reference to the underlying grid. | |
GridType & | grid () |
Returns reference to the underlying grid. | |
bool | isConforming () const |
returns true if current grid part represents a conforming grid | |
int | size (int codim) const |
obtain number of entities in a given codimension | |
int | size (const GeometryType &type) const |
obtain number of entities with a given geometry type | |
const CommunicationType & | comm () const |
obtain collective communication object | |
int | boundaryId (const IntersectionType &intersection) const |
IntersectionIteratorType | ibegin (const typename Codim< 0 >::EntityType &entity) const |
ibegin of corresponding intersection iterator for given entity | |
IntersectionIteratorType | iend (const typename Codim< 0 >::EntityType &entity) const |
iend of corresponding intersection iterator for given entity | |
int | sequence () const |
return sequence number to update structures depending on the grid part More... | |
Static Public Attributes | |
static const PartitionIteratorType | indexSetPartitionType |
Maximum Partition type, the index set provides indices for. | |
Detailed Description
class Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >
A FilteredGridPart allows to extract a set of entities from a grid satisfying a given constrainted defined through a filter class.
Member Function Documentation
◆ boundaryId()
|
inlineinherited |
obtain entity pointer from entity seed
◆ convert()
|
inline |
convert the grid's entity to a grid part entity Usually the parameter is GridType :: Codim< codim > :: Entity and the return is Codim< codim > :: EntityType. In general these types are the same, but for overloaded entities on grid parts this can differ.
References Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::entity().
◆ entity()
|
inline |
obtain entity pointer from entity seed
Referenced by Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::convert(), Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::ibegin(), and Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::iend().
◆ sequence()
|
inlineinherited |
return sequence number to update structures depending on the grid part
- Note
- The default returns DofManager< Grid > :: sequence ()
The documentation for this class was generated from the following file:
- dune/fem/gridpart/filteredgridpart.hh
