dune-fem 2.8.0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
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
 

Public Member Functions

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

Protected Types

typedef Fem::CommunicationIndexMap IndexMapType
 

Protected Member Functions

void buildMaps (std::set< int > &auxiliarySet)
 
void buildDiscontinuousMaps (std::set< int > &auxiliarySet)
 
void buildCommunicatedMaps (std::set< int > &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: