DUNE-FEM (unstable)

Dune::Fem::DofBlockProxy< DiscreteFunction, Dof, Size > Class Template Reference

DoF block proxy for discrete functions with random access to DoFs. More...

#include <dune/fem/function/common/dofblock.hh>

Detailed Description

template<class DiscreteFunction, class Dof, unsigned int Size>
class Dune::Fem::DofBlockProxy< DiscreteFunction, Dof, Size >

DoF block proxy for discrete functions with random access to DoFs.

Discrete functions are required to support random access to DoF blocks. If random access to the DoFs is available, DofBlockProxy can be used to fake the required DoF blocks.

A discrete function willing to use this proxy has to implement a method called "dof" (and it's constant counterpart) that provides access to the DoFs via an index.

Use of the DofBlockProxy is shown in VectorDiscreteFunction.

Parameters
DiscreteFunctiontype of the discrete function (for constant DoF blocks, use the const version here)
Doftype of the degrees of freedom (for constant DoF blocks, use the const version here)
Sizesize of the DoF blocks (block size returned from block mapper)

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.80.0 (May 4, 22:30, 2024)