Dune Core Modules (2.4.1)

Dune::IdentityGridEntityPointer< codim, GridImp, HostGridEntityPointer_ > Class Template Reference

#include <dune/grid/identitygrid/identitygridentitypointer.hh>

Public Types

enum  
 Codimension of entity pointed to.
 
typedef IdentityGridEntityPointer EntityPointerImp
 

Public Member Functions

 IdentityGridEntityPointer (const GridImp *identityGrid, const HostGridEntityPointer &hostEntityPointer)
 constructor
 
template<typename ForeignHostGridEntityPointer >
 IdentityGridEntityPointer (const IdentityGridEntityPointer< codim, GridImp, ForeignHostGridEntityPointer > &entityPointer)
 ! copy constructor from EntityPointer storing different host EntityPointer
 
template<typename ForeignHostGridEntityPointer >
IdentityGridEntityPointeroperator= (const IdentityGridEntityPointer< codim, GridImp, ForeignHostGridEntityPointer > &entityPointer)
 ! assignment operator from EntityPointer storing different host EntityPointer
 
 IdentityGridEntityPointer (const GridImp *identityGrid, HostGridEntityPointer &&hostEntityPointer)
 Move constructor to avoid copying the host EntityPointer.
 
 IdentityGridEntityPointer (const IdentityGridEntity< codim, dim, GridImp > &entity)
 Constructor from an IdentityGrid entity.
 
bool equals (const IdentityGridEntityPointer &i) const
 equality
 
template<typename ForeignHostGridEntityPointer >
bool equals (const IdentityGridEntityPointer< codim, GridImp, ForeignHostGridEntityPointer > &entityPointer) const
 equality with EntityPointer based on different host EntityPointer
 
Entity dereference () const
 dereferencing
 
void compactify ()
 Make this pointer as small as possible.
 
int level () const
 ask for level of entity
 

Protected Attributes

HostGridEntityPointer hostEntityPointer_
 host EntityPointer
 

Detailed Description

template<int codim, class GridImp, class HostGridEntityPointer_>
class Dune::IdentityGridEntityPointer< codim, GridImp, HostGridEntityPointer_ >

Acts as a pointer to an entities of a given codimension.

Member Typedef Documentation

◆ EntityPointerImp

template<int codim, class GridImp , class HostGridEntityPointer_ >
typedef IdentityGridEntityPointer Dune::IdentityGridEntityPointer< codim, GridImp, HostGridEntityPointer_ >::EntityPointerImp

export the type of the EntityPointer Implementation. Necessary for the typeconversion between Iterators and EntityPointer


The documentation for this class was generated from the following files:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)