dune-fem 2.8.0
|
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::HostGridPartType | HostGridPartType |
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 Traits::CollectiveCommunicationType | CollectiveCommunicationType |
typedef AddGridViewType::GridViewType | GridViewType |
typedef Traits::GridPartType | GridPartType |
Type of the implementation. | |
typedef Traits::TwistUtilityType | TwistUtilityType |
Twist utility type. | |
typedef GridType::ctype | ctype |
typedef TraitsImp::GridPartType | GridPartType |
Public Member Functions | |
FilteredGridPart (HostGridPartType &hostGridPart, const FilterType &filter) | |
constructor | |
FilteredGridPart (HostGridPartType &hostGridPart, const FilterType &filter, const GridViewType *gridView) | |
FilteredGridPart (const FilteredGridPart &other) | |
copy constructor | |
const GridType & | grid () const |
return const reference to underlying grid | |
GridType & | grid () |
return reference to underlying grid | |
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 | |
int | boundaryId (const IntersectionType &intersection) const |
boundary id | |
const CollectiveCommunicationType & | comm () const |
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 | |
const FilterType & | filter () const |
return reference to filter | |
FilterType & | filter () |
return reference to filter | |
template<class Entity > | |
bool | contains (const Entity &entity) const |
HostGridPartType & | hostGridPart () |
const HostGridPartType & | hostGridPart () const |
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. | |
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 | |
const GridViewType & | gridView () const |
Public Attributes | |
std::shared_ptr< GridViewType > | gridViewStorage_ |
const GridViewType * | gridView_ |
Static Public Attributes | |
static const PartitionIteratorType | indexSetPartitionType |
Maximum Partition type, the index set provides indices for. | |
static const InterfaceType | indexSetInterfaceType |
static const int | dimension |
static const int | dimensionworld |
A FilteredGridPart allows to extract a set of entities from a grid satisfying a given constrainted defined through a filter class.
typedef Traits::CollectiveCommunicationType Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::CollectiveCommunicationType |
|
inherited |
typedef FilterImp Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::FilterType |
type of filter
|
inherited |
Type of the implementation.
|
inherited |
typedef Traits::GridType Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::GridType |
grid type
typedef AddGridViewType::GridViewType Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::GridViewType |
typedef Traits::HostGridPartType Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::HostGridPartType |
typedef Traits::IndexSetType Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::IndexSetType |
index set type
typedef Traits::IntersectionIteratorType Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::IntersectionIteratorType |
intersection iterator type
typedef IntersectionIteratorType::Intersection Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::IntersectionType |
intersection type
typedef FilteredGridPartTraits< HostGridPartImp, FilterImp, useFilteredIndexSet > Dune::Fem::FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet >::Traits |
traits class
|
inherited |
Twist utility type.
|
inline |
constructor
|
inline |
|
inline |
copy constructor
|
inline |
Begin iterator on the leaf level.
|
inline |
Begin iterator on the leaf level.
|
inline |
boundary id
|
inline |
|
inline |
corresponding communication method for this grid part
|
inline |
|
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.
|
inline |
Begin iterator on the leaf level.
|
inline |
End iterator on the leaf level.
|
inline |
obtain entity pointer from entity seed
|
inline |
return reference to filter
|
inline |
return reference to filter
|
inline |
return reference to underlying grid
|
inline |
return const reference to underlying grid
|
inlineinherited |
|
inline |
|
inline |
|
inline |
ibegin of corresponding intersection iterator for given entity
|
inlineinherited |
ibegin of corresponding intersection iterator for given entity
|
inline |
iend of corresponding intersection iterator for given entity
|
inlineinherited |
iend of corresponding intersection iterator for given entity
|
inline |
return index set of this grid part
|
inline |
Returns maxlevel of the grid.
|
inlineinherited |
return sequence number to update structures depending on the grid part
|
staticinherited |
|
staticinherited |
|
inherited |
|
inherited |
|
staticinherited |
|
staticinherited |
Maximum Partition type, the index set provides indices for.