Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::Range< MeshType, MESH_ENTITIES, > Class Template Reference
+ Inheritance diagram for Feel::Range< MeshType, MESH_ENTITIES, >:
+ Collaboration diagram for Feel::Range< MeshType, MESH_ENTITIES, >:

Public Types

using container_ptr_t = typename boost::tuples::element< 3, super >::type
 
using container_t = typename boost::tuples::element< 3, super >::type::element_type
 
using element_t = typename boost::unwrap_reference< typename iterator_t::value_type >::type
 
using idim_t = typename boost::tuples::template element< 0, super >::type
 
using index_t = index_type
 
using index_type = typename mesh_t::index_type
 
using iterator_t = typename boost::tuples::template element< 1, super >::type
 
using mesh_const_t = std::add_const_t< mesh_t >
 
using mesh_non_const_t = std::remove_const_t< decay_type< std::remove_pointer_t< MeshType > > >
 
using mesh_ptr_const_t = std::shared_ptr< const mesh_non_const_t >
 
using mesh_ptr_non_const_t = std::shared_ptr< mesh_non_const_t >
 
using mesh_ptr_t = std::shared_ptr< mesh_t >
 
using mesh_support_ptr_t = std::shared_ptr< MeshSupport< decay_type< std::remove_pointer_t< MeshType > > > >
 
using mesh_support_t = MeshSupport< decay_type< MeshType > >
 
using mesh_t = mesh_non_const_t
 
using value_t = typename mesh_t::value_type
 
- Public Types inherited from Feel::RangeBase< decay_type< std::remove_pointer_t< MeshType > >::index_t >
using index_t = decay_type< std::remove_pointer_t< MeshType > >::index_t
 

Public Member Functions

element_t const & back () const
 
auto begin ()
 
auto begin () const
 
void clear ()
 
container_ptr_t container ()
 
container_ptr_t const & container () const
 
auto end ()
 
auto end () const
 
element_t const & front () const
 
template<int N>
auto get ()
 
bool hasMeshSupport () const
 Check if the range has mesh support.
 
bool isEmpty () const
 
auto mesh () const
 
mesh_support_ptr_t meshSupport () const
 Get the mesh support.
 
Range & operator= (Range &&)=default
 
Range & operator= (Range const &)=default
 
void push_back (element_t const &e)
 
template<typename OtherMeshType >
 Range (const Range< OtherMeshType, MESH_ENTITIES > &other)
 
 Range (mesh_non_const_t const &m)
 
 Range (mesh_non_const_t const &m, iterator_t beg, iterator_t end)
 
 Range (mesh_non_const_t const *m)
 
 Range (mesh_non_const_t const *m, iterator_t beg, iterator_t end)
 
 Range (mesh_ptr_const_t const &m)
 
 Range (mesh_ptr_const_t const &m, iterator_t beg, iterator_t end)
 
 Range (mesh_ptr_non_const_t const &m)
 
 Range (mesh_ptr_non_const_t const &m, iterator_t beg, iterator_t end)
 
 Range (Range &&e)=default
 
 Range (Range const &e)
 
 Range (super const &er, mesh_non_const_t const &m)
 
 Range (super const &er, mesh_non_const_t const *m)
 
 Range (super const &er, std::shared_ptr< const MeshType > const &m)
 
 Range (super const &er, std::shared_ptr< std::remove_const_t< MeshType > > const &m)
 
void setMeshSupport (mesh_support_ptr_t const &ms)
 
void shrink_to_fit ()
 
int size () const
 
- Public Member Functions inherited from Feel::RangeBase< decay_type< std::remove_pointer_t< MeshType > >::index_t >
MeshBase< index_t > const * meshBase () const
 
RangeBase & operator= (RangeBase &&)=default
 
RangeBase & operator= (RangeBase const &)=default
 
 RangeBase (MeshBase< index_t > const *b)
 
 RangeBase (MeshType const &b)
 
 RangeBase (MeshType const b)
 
 RangeBase (RangeBase &&)=default
 
 RangeBase (RangeBase const &)=default
 
 RangeBase (std::shared_ptr< const MeshType > const &b)
 
 RangeBase (std::shared_ptr< MeshType > const &b)
 
void setMesh (std::shared_ptr< MeshType > const &m)
 
- Public Member Functions inherited from Feel::CommObject
WorldComm const & comm () const
 
 CommObject (CommObject &&)=default
 
 CommObject (CommObject const &)=default
 
 CommObject (worldcomm_ptr_t &w)
 
 CommObject (worldcomm_ptr_t const &w)
 
bool hasWorldComm () const
 returns true if worldcomm is allocated, false othewise
 
CommObject & operator= (CommObject &&)=default
 
CommObject & operator= (CommObject const &)=default
 
virtual void setWorldComm (worldcomm_ptr_t const &w)
 
virtual void setWorldComm (worldcomm_t &w)
 
worldcomm_ptr_t & subWorldCommSeqPtr ()
 
worldcomm_ptr_t const & subWorldCommSeqPtr () const
 
WorldComm & worldComm ()
 
WorldComm const & worldComm () const
 
worldcomm_ptr_t & worldCommPtr ()
 
worldcomm_ptr_t const & worldCommPtr () const
 

Static Public Member Functions

static constexpr int entities ()
 
static constexpr idim_t idim ()
 
static constexpr int iDim ()
 
static constexpr bool isOnEdges ()
 
static constexpr bool isOnElements ()
 
static constexpr bool isOnFaces ()
 
static constexpr bool isOnFacets ()
 
static constexpr bool isOnPoints ()
 

Static Public Attributes

static constexpr int mesh_entities = MESH_ENTITIES
 
static constexpr int nDim = mesh_t::nDim
 
static constexpr int nRealDim = mesh_t::nRealDim
 

Additional Inherited Members

- Protected Attributes inherited from Feel::RangeBase< decay_type< std::remove_pointer_t< MeshType > >::index_t >
MeshBase< index_t > const * M_mesh_base