|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
filteredgridpart.hh
Go to the documentation of this file.
125 typedef FilteredGridPartIntersection< Filter, typename HostGridPart::IntersectionType > IntersectionImpl;
154 typedef FilteredGridPartIndexSetSelector< GridPartType, HostGridPartType, useFilteredIndexSet > IndexSetSelectorType;
160 typedef typename HostGridPartType::Traits::IntersectionIteratorType HostIntersectionIteratorType;
187 static const PartitionIteratorType indexSetPartitionType = HostGridPartType::indexSetPartitionType;
220 : public GridPartDefault< FilteredGridPartTraits< HostGridPartImp, FilterImp, useFilteredIndexSet > >
224 typedef GridPartDefault< FilteredGridPartTraits< HostGridPartImp, FilterImp, useFilteredIndexSet > > BaseType;
340 return IntersectionIteratorType( IntersectionIteratorImpl( filter(), hostGridPart().ibegin( entity ) ) );
347 return IntersectionIteratorType( IntersectionIteratorImpl( filter(), hostGridPart().iend( entity ) ) );
412 struct GridIntersectionAccess< Dune::Intersection< const GridPartFamily, typename GridPartFamily::IntersectionImpl > >
414 typedef Dune::Intersection< const GridPartFamily, typename GridPartFamily::IntersectionImpl > IntersectionType;
415 typedef GridIntersectionAccess< typename IntersectionType::Implementation::HostIntersectionType > HostAccessType;
418 static const typename HostAccessType::GridIntersectionType &gridIntersection ( const IntersectionType &intersection )
425 struct HasBoundaryIntersection< FilteredGridPart<HostGridPartImp,FilterImp,useFilteredIndexSet> >
static type * create(const M &mat, bool verbose, bool reusevector)
void seed(const Vertex &vertex)
PartitionIteratorType
CommunicationDirection
InterfaceType
Implementation & impl()
IntersectionIteratorImp Implementation
consecutive, persistent index set for the leaf level based on the grid's hierarchy index set
Definition adaptiveleafindexset.hh:1357
Default implementation for the GridPart classes.
Definition gridpart.hh:372
const GridType & grid() const
Returns const reference to the underlying grid.
Definition gridpart.hh:423
GridPartDefault & operator=(const ThisType &other)
Definition gridpart.hh:414
MetaTwistUtility forwards the twist calls to the TwistUtility of the underlying HostTwistUtility.
Definition metatwistutility.hh:22
A FilteredGridPart allows to extract a set of entities from a grid satisfying a given constrainted de...
Definition filteredgridpart.hh:221
FilteredGridPart & operator=(const FilteredGridPart &other)
Definition filteredgridpart.hh:282
FilteredGridPart(HostGridPartType &hostGridPart, const FilterType &filter)
constructor
Definition filteredgridpart.hh:266
Codim< codim >::template Partition< pitype >::IteratorType end() const
End iterator on the leaf level.
Definition filteredgridpart.hh:323
IntersectionIteratorType ibegin(const EntityType &entity) const
ibegin of corresponding intersection iterator for given entity
Definition filteredgridpart.hh:337
Codim< codim >::IteratorType end() const
Begin iterator on the leaf level.
Definition filteredgridpart.hh:316
Traits::GridType GridType
grid type
Definition filteredgridpart.hh:238
Traits::IndexSetType IndexSetType
index set type
Definition filteredgridpart.hh:241
int level() const
Returns maxlevel of the grid.
Definition filteredgridpart.hh:331
Traits::IntersectionIteratorType IntersectionIteratorType
intersection iterator type
Definition filteredgridpart.hh:244
Codim< codim >::template Partition< pitype >::IteratorType begin() const
Begin iterator on the leaf level.
Definition filteredgridpart.hh:307
Codim< codim >::IteratorType begin() const
Begin iterator on the leaf level.
Definition filteredgridpart.hh:300
Traits::CommunicationType CommunicationType
Definition filteredgridpart.hh:249
const HostGridPartType & hostGridPart() const
Definition filteredgridpart.hh:392
FilterType & filter()
return reference to filter
Definition filteredgridpart.hh:375
const Entity & convert(const Entity &entity) const
convert the grid's entity to a grid part entity Usually the parameter is GridType :: Codim< codim > :...
Definition filteredgridpart.hh:400
bool contains(const Entity &entity) const
Definition filteredgridpart.hh:381
HostGridPartType & hostGridPart()
Definition filteredgridpart.hh:386
FilteredGridPart(const FilteredGridPart &other)
copy constructor
Definition filteredgridpart.hh:275
Codim< EntitySeed::codimension >::EntityType entity(const EntitySeed &seed) const
obtain entity pointer from entity seed
Definition filteredgridpart.hh:363
FilteredGridPartTraits< HostGridPartImp, FilterImp, useFilteredIndexSet > Traits
traits class
Definition filteredgridpart.hh:229
FilterImp FilterType
type of filter
Definition filteredgridpart.hh:232
Traits::HostGridPartType HostGridPartType
Definition filteredgridpart.hh:235
const IndexSetType & indexSet() const
return index set of this grid part
Definition filteredgridpart.hh:293
const FilterType & filter() const
return reference to filter
Definition filteredgridpart.hh:369
void communicate(CommDataHandleIF< DataHandleImp, DataType > &dataHandle, InterfaceType iftype, CommunicationDirection dir) const
corresponding communication method for this grid part
Definition filteredgridpart.hh:352
IntersectionIteratorType iend(const EntityType &entity) const
iend of corresponding intersection iterator for given entity
Definition filteredgridpart.hh:344
IntersectionIteratorType::Intersection IntersectionType
intersection type
Definition filteredgridpart.hh:247
Definition filteredgridpart.hh:42
static IndexSetType * create(const FilteredGP &gridPart)
Definition filteredgridpart.hh:45
AdaptiveLeafIndexSet< FilteredGP > IndexSetType
Definition filteredgridpart.hh:43
static const IndexSetType & indexSet(const FilteredGP &gridPart, const std::unique_ptr< IndexSetPtr > &idxSetPtr)
Definition filteredgridpart.hh:52
static IndexSetType * create(const FilteredGP &gridPart)
Definition filteredgridpart.hh:70
static const IndexSetType & indexSet(const FilteredGP &gridPart, const std::unique_ptr< IndexSetPtr > &)
Definition filteredgridpart.hh:77
HostGP::IndexSetType IndexSetType
Definition filteredgridpart.hh:68
Definition filteredgridpart.hh:89
EntityGridTypeGetter< Entity >::Type Type
Definition filteredgridpart.hh:100
Definition filteredgridpart.hh:110
CommunicationType Communication
Definition filteredgridpart.hh:184
HostGridPartImp HostGridPartType
grid part imp
Definition filteredgridpart.hh:137
FilterType::EntityType EntityType
type of entity
Definition filteredgridpart.hh:151
HostGridPartType::Traits::IntersectionIteratorType HostIntersectionIteratorType
of host grid part intersection iterator type
Definition filteredgridpart.hh:160
GridPartFamily::Intersection IntersectionType
type of intersection
Definition filteredgridpart.hh:166
IndexSetSelectorType::IndexSetType IndexSetType
index set use in this gridpart
Definition filteredgridpart.hh:157
FilteredGridPartIndexSetSelector< GridPartType, HostGridPartType, useFilteredIndexSet > IndexSetSelectorType
index set use in this gridpart
Definition filteredgridpart.hh:154
FilteredGridPart< HostGridPartImp, FilterImp, useFilteredIndexSet > GridPartType
type of grid part
Definition filteredgridpart.hh:112
static const bool conforming
is true if grid on this view only has conforming intersections
Definition filteredgridpart.hh:192
MetaTwistUtility< typename HostGridPartType ::TwistUtilityType > TwistUtilityType
The type of the corresponding TwistUtility.
Definition filteredgridpart.hh:145
static const InterfaceType indexSetInterfaceType
Definition filteredgridpart.hh:189
HostGridPartType::CommunicationType CommunicationType
Definition filteredgridpart.hh:183
static const PartitionIteratorType indexSetPartitionType
maximum partition type, the index set provides indices for
Definition filteredgridpart.hh:187
HostGridPartType::GridType GridType
type of grid
Definition filteredgridpart.hh:140
GridPartFamily::IntersectionIterator IntersectionIteratorType
type of intersection iterator
Definition filteredgridpart.hh:163
FilterImp FilterType
export filter type
Definition filteredgridpart.hh:148
Definition filteredgridpart.hh:115
Dune::Intersection< const GridPartFamily, IntersectionImpl > Intersection
Definition filteredgridpart.hh:128
HostGridPart::ctype ctype
Definition filteredgridpart.hh:122
HostGridPartImp HostGridPart
Definition filteredgridpart.hh:117
static const int dimension
Definition filteredgridpart.hh:119
FilterImp Filter
Definition filteredgridpart.hh:116
FilteredGridPartIntersectionIterator< const GridPartFamily > IntersectionIteratorImpl
Definition filteredgridpart.hh:124
FilteredGridPartIntersection< Filter, typename HostGridPart::IntersectionType > IntersectionImpl
Definition filteredgridpart.hh:125
static const int dimensionworld
Definition filteredgridpart.hh:120
Dune::IntersectionIterator< const GridPartFamily, IntersectionIteratorImpl, IntersectionImpl > IntersectionIterator
Definition filteredgridpart.hh:127
Definition filteredgridpart.hh:132
struct providing types of the iterators on codimension cd
Definition filteredgridpart.hh:171
Partition< InteriorBorder_Partition >::IteratorType IteratorType
Definition filteredgridpart.hh:179
IteratorType Iterator
Definition filteredgridpart.hh:180
Definition filteredgridpart.hh:174
Dune::EntityIterator< codim, typename EntityGridTypeGetter< EntityType >::Type, FilteredGridPartIterator< codim, pitype, GridPartType > > IteratorType
Definition filteredgridpart.hh:175
IteratorType Iterator
Definition filteredgridpart.hh:176
grid part typedefs, use those of traits
Definition filteredgridpart.hh:256
GridIntersectionAccess< typename IntersectionType::Implementation::HostIntersectionType > HostAccessType
Definition filteredgridpart.hh:415
static const HostAccessType::GridIntersectionType & gridIntersection(const IntersectionType &intersection)
Definition filteredgridpart.hh:418
Dune::Intersection< const GridPartFamily, typename GridPartFamily::IntersectionImpl > IntersectionType
Definition filteredgridpart.hh:414
HostAccessType::GridIntersectionType GridIntersectionType
Definition filteredgridpart.hh:416
static bool apply(const EntityType &entity)
Definition filteredgridpart.hh:429
typename GridPartType::template Codim< 0 >::EntityType EntityType
Definition filteredgridpart.hh:428
Definition gridpart/filteredgridpart/datahandle.hh:31
Definition filteredgridpart/intersection.hh:21
Definition filteredgridpart/intersectioniterator.hh:24
Definition filteredgridpart/iterator.hh:21
Definition hasboundaryintersection.hh:11
Definition twistutility.hh:22
T reset(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8