A wrapper that converts a 1d spatial profile to 2d. More...
#include <profile_1d.hpp>
Public Member Functions | |
Profile1D (SpatialDistribution1D const &prof_1d) | |
Class constructor. More... | |
double | operator() (const Vector2D &r) const |
Evaluates the function. More... | |
A wrapper that converts a 1d spatial profile to 2d.
This distribution will only depend on the x component of the coordinate
Definition at line 16 of file profile_1d.hpp.
|
explicit |
Class constructor.
prof_1d | One dimensional profile |
Definition at line 3 of file profile_1d.cpp.
|
virtual |
Evaluates the function.
point | Position |
Implements SpatialDistribution.
Definition at line 6 of file profile_1d.cpp.