source_term_1d.hpp
Go to the documentation of this file.
1 
6 #ifndef EXTERNAL_FORCES_1D_HPP
7 #define EXTERNAL_FORCES_1D_HPP 1
8 
9 #include <vector>
10 #include "../common/hydrodynamic_variables.hpp"
11 #include "simulation_state_1d.hpp"
12 #include "../two_dimensional/extensive.hpp"
13 
14 using std::vector;
15 
18 {
19 public:
20 
28  virtual Extensive operator()
29  (const SimulationState1D& state,
30  size_t point,
31  double t,
32  double dt) const = 0;
33 
34  virtual ~SourceTerm1D(void);
35 };
36 
37 #endif // EXTERNAL_FORCES_1D_HPP
Extensive variables.
Definition: extensive.hpp:18
Package for computational domain and hydro cells.
Abstract class for external forces.
Package for computational domain and hydro cells.