Programmierpraktikum NPDGL I
|
initial data function of 1d evolution example Mehr ...
#include <function_library.hh>
Öffentliche Methoden | |
double | operator() (const double x) const |
Auswertung der Funktion. |
initial data function of 1d evolution example
This implements \( f(x) = (-\frac12 x + \frac32)\chi_{[1,3]}(x) \)
double ExerciseA_InitData::operator() | ( | const double | x | ) | const [inline] |
Auswertung der Funktion.
Diese Methode wertet die Funktion \( f \) an einer Stelle \( x \in \mathbb{R} \) aus.
x | Das Argument \(x\) an welcher die Funktion ausgewertet werden soll. |
Erneute Implementation von Function.