Programmierpraktikum NPDGL I
Öffentliche Methoden

Projection Klassenreferenz

class projecting an analytical function on a FV function space Mehr ...

#include <projection.hh>

Zusammengehörigkeiten von Projection:
Collaboration graph
[Legende]

Aufstellung aller Elemente

Öffentliche Methoden

 Projection (const Grid &grid)
 constructor
template<class Function , class DofVecType >
void apply (const Function &func, DofVecType &dofs)
 applies the projection

Ausführliche Beschreibung

class projecting an analytical function on a FV function space

It implements a midpoint evaluation to compute the Dofs.

This class has a method apply() which projects an analytical function implementing the interface Function onto a discrete function vector.

Beispiele:

test_projection.cc und test_spaceoperator.cc.


Beschreibung der Konstruktoren und Destruktoren

Projection::Projection ( const Grid grid) [inline]

constructor

This defines the used discretization by initializing the underlying grid

Parameter:
gridthe underlying grid

Dokumentation der Elementfunktionen

template<class Function , class DofVecType >
void Projection::apply ( const Function func,
DofVecType &  dofs 
) [inline]

applies the projection

Parameter:
funcThe analytical function to be projected
dofsDof vector holding the dofs of the projected discrete function
Template Parameters:
Functiontype of function to be projected. This type needs to be derived from the Function interface class.
DofVecTypetype of Dof vector. This type needs to be derived from the DofVectorInterface class.
Beispiele:
test_projection.cc und test_spaceoperator.cc.

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: