Two steps. More...
#include <spatial_distribution1d.hpp>
Public Member Functions | |
TwoSteps (double ivl, double ilip, double ivm, double irip, double ivr) | |
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... | |
Two steps.
Definition at line 74 of file spatial_distribution1d.hpp.
TwoSteps::TwoSteps | ( | double | ivl, |
double | ilip, | ||
double | ivm, | ||
double | irip, | ||
double | ivr | ||
) |
Class constructor.
ivl | Value on the left step |
ilip | Position of the left interface |
ivm | Value on the middle step |
irip | Position of the right interface |
ivr | Value on the right step |
Definition at line 28 of file spatial_distribution1d.cpp.
|
virtual |
Evaluates the distribution at a certain spot.
x | Position |
Implements SpatialDistribution1D.
Definition at line 37 of file spatial_distribution1d.cpp.