32 #ifndef OPENPSTD_SPEAKER_H 33 #define OPENPSTD_SPEAKER_H 39 #include <Eigen/Dense> 57 std::vector<float> location;
58 Point grid_point =
Point((
int) x, (
int) y, (
int) z);
59 std::vector<float> grid_offset;
65 Speaker(std::vector<float> location);
81 #endif //OPENPSTD_SPEAKER_H This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33
The points of the grid, represented by 2D integer vectors.
Definition: Geometry.h:43
void addDomainContribution(std::shared_ptr< Domain > domain)
Adds the initial sound pressure to the domain values.
Definition: Speaker.cpp:21
Locations and amplitude of initial sound pressure.
Definition: Speaker.h:51
Speaker(std::vector< float > location)
Speaker initialization with coordinates from scene.
Definition: Speaker.cpp:13