DUNE-FEM (unstable)

Dune::Fem::PointBasedDofConversionUtility< dimRange > Class Template Reference

Specialisation for PointBased approach. More...

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

Public Member Functions

 PointBasedDofConversionUtility (int numComponents)
 
void newSize (const int size)
 
int component (const int combinedIndex) const
 
int containedDof (const int combinedIndex) const
 Number of the (scalar) base function belonging to base function index.
 
int combinedDof (const int containedIndex, const int component) const
 

Static Public Member Functions

static DofStoragePolicy policy ()
 Find out what type of policy this is.
 

Detailed Description

template<unsigned int dimRange>
class Dune::Fem::PointBasedDofConversionUtility< dimRange >

Specialisation for PointBased approach.

Constructor & Destructor Documentation

◆ PointBasedDofConversionUtility()

template<unsigned int dimRange>
Dune::Fem::PointBasedDofConversionUtility< dimRange >::PointBasedDofConversionUtility ( int  numComponents)
inline

Constructor

Parameters
numComponentsNumber of components in range vector (==dimRange).

Member Function Documentation

◆ combinedDof()

template<unsigned int dimRange>
int Dune::Fem::PointBasedDofConversionUtility< dimRange >::combinedDof ( const int  containedIndex,
const int  component 
) const
inline

Reverse operation of containedDof, component i == combinedDof(containedDof(i), component(i))

References Dune::Fem::PointBasedDofConversionUtility< dimRange >::component().

◆ component()

template<unsigned int dimRange>
int Dune::Fem::PointBasedDofConversionUtility< dimRange >::component ( const int  combinedIndex) const
inline

Component which the actual base function index gives a contribution

Returns
is in range {0, dimRange-1}

Referenced by Dune::Fem::PointBasedDofConversionUtility< dimRange >::combinedDof().

◆ newSize()

template<unsigned int dimRange>
void Dune::Fem::PointBasedDofConversionUtility< dimRange >::newSize ( const int  size)
inline

The size of the range vector cannot change, hence this method does nothing. (In fact, this method is only here so that you can treat all DofStorageUtility objects identically without knowing whether they are PointBased or VariableBased.)


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