dune-fem 2.8.0
|
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>
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 GridPartType & | gridPart () 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 GridPartType & | gridPart_ |
const MapperType & | mapper_ |
IndexMapType | auxiliarys_ |
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.