profile_1d.hpp
Go to the documentation of this file.
1 
6 #ifndef PROFILE_1D_HPP
7 #define PROFILE_1D_HPP 1
8 
9 #include "../one_dimensional/spatial_distribution1d.hpp"
10 #include "../two_dimensional/spatial_distribution2d.hpp"
11 #include "../../tessellation/tessellation.hpp"
12 
17 {
18 public:
19 
23  explicit Profile1D(SpatialDistribution1D const& prof_1d);
24 
25  double operator()(const Vector2D& r) const;
26 
27 private:
28 
29  SpatialDistribution1D const& prof_1d_;
30 };
31 
32 #endif // PROFILE_1D_HPP
Profile1D(SpatialDistribution1D const &prof_1d)
Class constructor.
Definition: profile_1d.cpp:3
A wrapper that converts a 1d spatial profile to 2d.
Definition: profile_1d.hpp:16
Spatial distribution for initial conditions.
Base class for initial conditions.
double operator()(const Vector2D &r) const
Evaluates the function.
Definition: profile_1d.cpp:6
2D Mathematical vector
Definition: geometry.hpp:15