Acoustic FDTD Solver
Sensor.hpp
Go to the documentation of this file.
1 #ifndef SENSOR_HPP
2 #define SENSOR_HPP
3 
4 #include "Grid.hpp"
5 
6 
7 class Sensor {
8 public:
9  virtual void initialize(const Grid &grid, const unsigned n)=0;
10  virtual void recordPressureField(double **field, const unsigned i) = 0;
11  virtual int clear() = 0;
12  virtual ~Sensor() {}
13 };
14 
15 #endif