dune-pdelab 2.7-git
|
#include <dune/pdelab/common/partitionviewentityset.hh>
Public Types | |
using | Traits = PartitionViewEntitySetTraits< GV, P > |
using | Partitions = typename Traits::Partitions |
using | Grid = typename Traits::Grid |
using | GridView = typename Traits::GridView |
using | IndexSet = typename Traits::IndexSet |
using | BaseIndexSet = typename Traits::BaseIndexSet |
using | Element = typename Traits::Element |
using | Intersection = typename Traits::Intersection |
using | IntersectionIterator = typename Traits::IntersectionIterator |
using | CollectiveCommunication = typename Traits::CollectiveCommunication |
using | CodimMask = typename Traits::CodimMask |
using | CoordinateField = typename Traits::CoordinateField |
using | size_type = typename Traits::size_type |
using | dim_type = typename Traits::dim_type |
using | ctype = CoordinateField |
template<dim_type codim> | |
using | Codim = typename Traits::template Codim< codim > |
Public Member Functions | |
const Grid & | grid () const |
const IndexSet & | indexSet () const |
Returns the IndexSet of this EntitySet. | |
const BaseIndexSet & | baseIndexSet () const |
Returns the IndexSet of the underlying GridView. | |
template<dim_type codim> | |
Codim< codim >::Iterator | begin () const |
template<dim_type codim> | |
Codim< codim >::Iterator | end () const |
template<dim_type codim, PartitionIteratorType pitype> | |
GV::template Codim< codim >::template Partition< pitype >::Iterator | begin () const |
template<dim_type codim, PartitionIteratorType pitype> | |
GV::template Codim< codim >::template Partition< pitype >::Iterator | end () const |
size_type | size (dim_type codim) const |
size_type | size (const GeometryType >) const |
template<typename Entity > | |
bool | contains (const Entity &e) const |
bool | contains (dim_type codim) const |
bool | contains (const GeometryType >) const |
IntersectionIterator | ibegin (const typename Codim< 0 >::Entity &entity) const |
IntersectionIterator | iend (const typename Codim< 0 >::Entity &entity) const |
const CollectiveCommunication & | comm () const |
size_type | overlapSize (dim_type codim) const |
Returns the overlap size of this EntitySet, which depends on its PartitionSet. | |
size_type | ghostSize (dim_type codim) const |
Returns the ghost size of this EntitySet, which depends on its PartitionSet. | |
template<typename DataHandle > | |
void | communicate (DataHandle &data, InterfaceType iftype, CommunicationDirection dir) const |
const GridView & | gridView () const |
Returns the underlying GridView. | |
PartitionViewEntitySet (const GridView &gv, CodimMask supported_codims) | |
PartitionViewEntitySet (const GridView &gv, bool initialize=true) | |
void | reset () |
Reset this EntitySet, which removes all entities from it. | |
void | addCodim (dim_type codim) |
Add all entities of the given codim to this EntitySet. | |
void | removeCodim (dim_type codim) |
Remove all entities of the given codim from this EntitySet. | |
bool | needsUpdate () const |
Returns true if you need to call update on this EntitySet before using it. | |
bool | update (bool force=false) |
Update the internal state of this EntitySet. | |
Static Public Member Functions | |
static constexpr Partitions | partitions () |
static constexpr CodimMask | allCodims () |
Static Public Attributes | |
static const bool | conforming = Traits::conforming |
static const dim_type | dimension = Traits::dimension |
static const dim_type | dimensionworld = Traits::dimensionworld |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::BaseIndexSet = typename Traits::BaseIndexSet |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::Codim = typename Traits::template Codim<codim> |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::CodimMask = typename Traits::CodimMask |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::CollectiveCommunication = typename Traits::CollectiveCommunication |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::CoordinateField = typename Traits::CoordinateField |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::ctype = CoordinateField |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::dim_type = typename Traits::dim_type |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::Element = typename Traits::Element |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::Grid = typename Traits::Grid |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::GridView = typename Traits::GridView |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::IndexSet = typename Traits::IndexSet |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::Intersection = typename Traits::Intersection |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::IntersectionIterator = typename Traits::IntersectionIterator |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::Partitions = typename Traits::Partitions |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::size_type = typename Traits::size_type |
using Dune::PDELab::PartitionViewEntitySet< GV, P >::Traits = PartitionViewEntitySetTraits<GV,P> |
|
inline |
|
inlineexplicit |
|
inline |
Add all entities of the given codim to this EntitySet.
|
inlinestaticconstexpr |
|
inline |
Returns the IndexSet of the underlying GridView.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the ghost size of this EntitySet, which depends on its PartitionSet.
|
inline |
|
inline |
Returns the underlying GridView.
|
inline |
|
inline |
|
inline |
Returns the IndexSet of this EntitySet.
|
inline |
Returns true if you need to call update on this EntitySet before using it.
|
inline |
Returns the overlap size of this EntitySet, which depends on its PartitionSet.
|
inlinestaticconstexpr |
|
inline |
Remove all entities of the given codim from this EntitySet.
|
inline |
Reset this EntitySet, which removes all entities from it.
|
inline |
|
inline |
|
inline |
Update the internal state of this EntitySet.
force | If true, forces an update even if the EntitySet parameters have not changed. This is e.g. required if the underlying grid has changed due to adaptivity. |
|
static |
|
static |
|
static |