#include <spatial_distribution1d.hpp>
Public Member Functions | |
Uniform (double val) | |
Class constructor. More... | |
double | operator() (double x) const |
Calculates the value at each point. More... | |
![]() | |
virtual | ~SpatialDistribution1D (void) |
Abstract class for initial conditions. More... | |
Uniform distribution.
Definition at line 23 of file spatial_distribution1d.hpp.
|
explicit |
Class constructor.
val | Value at each point |
Definition at line 9 of file spatial_distribution1d.cpp.
|
virtual |
Calculates the value at each point.
x | Position |
Implements SpatialDistribution1D.
Definition at line 11 of file spatial_distribution1d.cpp.