#include <spatial_distribution1d.hpp>
Public Member Functions | |
Step (double val1, double val2, double steppos) | |
Class constructor. More... | |
double | operator() (double x) const |
Evaluates the distribution at a certain spot. More... | |
![]() | |
virtual | ~SpatialDistribution1D (void) |
Abstract class for initial conditions. More... | |
Step distribution.
Definition at line 44 of file spatial_distribution1d.hpp.
Step::Step | ( | double | val1, |
double | val2, | ||
double | steppos | ||
) |
Class constructor.
val1 | Value befor the step |
val2 | Value after the step |
steppos | Position Step position |
Definition at line 16 of file spatial_distribution1d.cpp.
|
virtual |
Evaluates the distribution at a certain spot.
x | Position |
Implements SpatialDistribution1D.
Definition at line 20 of file spatial_distribution1d.cpp.