SeveralSources.hpp
Go to the documentation of this file.
1 
6 #ifndef SEVERALSOURCES_HPP
7 #define SEVERALSOURCES_HPP 1
8 
9 #include "../SourceTerm.hpp"
10 #include <vector>
11 
14 {
15 public:
18  explicit SeveralSources(vector<SourceTerm*> forces);
20  ~SeveralSources(void);
21 
22  vector<Extensive> operator()
23  (const Tessellation& tess,
24  const PhysicalGeometry& pg,
25  const CacheData& cd,
26  const vector<ComputationalCell>& cells,
27  const vector<Extensive>& fluxes,
28  const vector<Vector2D>& point_velocities,
29  const double t,
30  TracerStickerNames const& tracerstickernames) const;
31 
32 private:
33  vector<SourceTerm*> sources_;
34 };
35 
36 #endif //SEVERALSOURCES_HPP
Abstract class for tessellation.
SeveralSources(vector< SourceTerm *> forces)
Class constructor.
Abstract class for external forces.
Definition: SourceTerm.hpp:17
~SeveralSources(void)
Class destructor.
Container for cache data.
Definition: cache_data.hpp:14
Class for keeping the names of the tracers and stickers.
Class for a combination of external sources.
Base class for physical geometry.