dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage Struct Reference

#include <dune/fem/space/mapper/genericadaptivedofmapper.hh>

Public Types

typedef std::vector< int > DofVectorType
 

Public Member Functions

 EntityDofStorage ()
 
void assign (const EntityDofStorage &other)
 
 EntityDofStorage (const EntityDofStorage &other)
 
EntityDofStorageoperator= (const EntityDofStorage &other)
 
bool exists (const int codim, const int polOrd) const
 
bool use (const int codim, const int polOrd)
 returns true if entry has a reference count of 1
 
void insert (const GeometryType type, const int codim, const int polOrd, const int numDofs, const int startDof)
 
int determineVectorEntry (const int codim, const int polOrd) const
 
const GeometryTypetype () const
 
void remove (const int codim, const int polOrd)
 
void reset ()
 
int dof (const int codim, const int polOrd, const size_t dofNumber) const
 
int entityDof (int dofNumber) const
 
int entityDofs () const
 
template<class VectorType >
void detectUnusedDofs (VectorType &isHole, const int actSize)
 
void printDofs () const
 
template<class VectorType >
bool removeHoles (VectorType &oldIdx, VectorType &newIdx, VectorType &holesVec, int &currentHole, const int usedSize, int &holes)
 

Public Attributes

std::vector< DofVectorTypedofs_
 
GeometryType type_
 
char used_ [numOrders]
 

Member Typedef Documentation

◆ DofVectorType

template<class TraitsImp >
typedef std::vector< int > Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::DofVectorType

Constructor & Destructor Documentation

◆ EntityDofStorage() [1/2]

template<class TraitsImp >
Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::EntityDofStorage ( )
inline

◆ EntityDofStorage() [2/2]

template<class TraitsImp >
Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::EntityDofStorage ( const EntityDofStorage other)
inline

Member Function Documentation

◆ assign()

template<class TraitsImp >
void Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::assign ( const EntityDofStorage other)
inline

◆ detectUnusedDofs()

template<class TraitsImp >
template<class VectorType >
void Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::detectUnusedDofs ( VectorType &  isHole,
const int  actSize 
)
inline

◆ determineVectorEntry()

template<class TraitsImp >
int Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::determineVectorEntry ( const int  codim,
const int  polOrd 
) const
inline

◆ dof()

template<class TraitsImp >
int Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::dof ( const int  codim,
const int  polOrd,
const size_t  dofNumber 
) const
inline

◆ entityDof()

template<class TraitsImp >
int Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::entityDof ( int  dofNumber) const
inline

◆ entityDofs()

template<class TraitsImp >
int Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::entityDofs ( ) const
inline

◆ exists()

template<class TraitsImp >
bool Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::exists ( const int  codim,
const int  polOrd 
) const
inline

◆ insert()

template<class TraitsImp >
void Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::insert ( const GeometryType  type,
const int  codim,
const int  polOrd,
const int  numDofs,
const int  startDof 
)
inline

◆ operator=()

template<class TraitsImp >
EntityDofStorage & Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::operator= ( const EntityDofStorage other)
inline

◆ printDofs()

template<class TraitsImp >
void Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::printDofs ( ) const
inline

◆ remove()

template<class TraitsImp >
void Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::remove ( const int  codim,
const int  polOrd 
)
inline

◆ removeHoles()

template<class TraitsImp >
template<class VectorType >
bool Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::removeHoles ( VectorType &  oldIdx,
VectorType &  newIdx,
VectorType &  holesVec,
int &  currentHole,
const int  usedSize,
int &  holes 
)
inline

◆ reset()

template<class TraitsImp >
void Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::reset ( )
inline

◆ type()

template<class TraitsImp >
const GeometryType & Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::type ( ) const
inline

◆ use()

template<class TraitsImp >
bool Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::use ( const int  codim,
const int  polOrd 
)
inline

returns true if entry has a reference count of 1

Member Data Documentation

◆ dofs_

template<class TraitsImp >
std::vector< DofVectorType > Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::dofs_

◆ type_

template<class TraitsImp >
GeometryType Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::type_

◆ used_

template<class TraitsImp >
char Dune::Fem::GenericAdaptiveDofMapper< TraitsImp >::EntityDofStorage::used_[numOrders]

The documentation for this struct was generated from the following file: