dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::AuxiliaryDofs< GridPart, Mapper > Class Template Reference

In parallel computations the dofs of a discrete function are made up by all primary dofs. For technical reasons some dofs exists on multiply processes but are only primary on exactly one process. Dofs on processes that are not primary are called auxiliary. More...

#include <dune/fem/space/common/auxiliarydofs.hh>

Inheritance diagram for Dune::Fem::AuxiliaryDofs< GridPart, Mapper >:
Inheritance graph

Classes

struct  ConstIterator
 
class  LinkBuilder
 

Public Types

typedef GridPart GridPartType
 type of grid part
 
typedef Mapper MapperType
 type of used mapper
 
typedef IndexMapType::IndexType IndexType
 

Public Member Functions

 AuxiliaryDofs (const GridPartType &gridPart, const MapperType &mapper)
 
 AuxiliaryDofs (const AuxiliaryDofs &)=delete
 
IndexType operator[] (const IndexType index) const
 return dof number of auxiliary for index
 
IndexType size () const
 return number of auxiliary dofs
 
IndexType primarySize () const
 return number of primaryDofs
 
ConstIterator begin () const
 
ConstIterator end () const
 
bool contains (IndexType index) const
 return true if index is contained, meaning it is a auxiliary dof
 
bool isSlave (IndexType index) const
 
void rebuild ()
 
const GridPartTypegridPart () const
 

Protected Types

typedef Fem::CommunicationIndexMap IndexMapType
 

Protected Member Functions

void buildMaps (std::set< IndexType > &auxiliarySet)
 
void buildDiscontinuousMaps (std::set< IndexType > &auxiliarySet)
 
void buildCommunicatedMaps (std::set< IndexType > &auxiliarySet)
 

Protected Attributes

const GridPartTypegridPart_
 
const MapperTypemapper_
 
IndexMapType auxiliarys_
 

Detailed Description

template<class GridPart, class Mapper>
class Dune::Fem::AuxiliaryDofs< GridPart, Mapper >

In parallel computations the dofs of a discrete function are made up by all primary dofs. For technical reasons some dofs exists on multiply processes but are only primary on exactly one process. Dofs on processes that are not primary are called auxiliary.


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