33 #ifndef OPENPSTD_SOLVER_H 34 #define OPENPSTD_SOLVER_H 36 #include "KernelInterface.h" 37 #include "core/Scene.h" 38 #include "PSTDKernel.h" 54 std::shared_ptr<PSTDSettings> settings;
56 std::shared_ptr<Scene> scene;
145 #endif //OPENPSTD_SOLVER_H This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33
PSTD_FRAME_PTR get_pressure_vector()
The GUI format for pressure fields.
Definition: Solver.cpp:121
Solver that performs the computational intensive parts on a GPU.
Definition: Solver.h:122
Solver that exploits the multiple CPU cores of a machine.
Definition: Solver.h:110
Solver that both utilized multiple cores and the GPU.
Definition: Solver.h:134
int number_of_time_steps
The final number of computed frames.
Definition: Solver.h:63
Solver(std::shared_ptr< Scene > scene, KernelCallback *callback)
Solver constructor (abstract).
Definition: Solver.cpp:33
Component that computes the state variables of the scene for consecutive time steps.
Definition: Solver.h:51
void update_field_values(std::shared_ptr< Domain > domain, unsigned long rk_step)
Updates the pressure and velocity fields of the domains to the new values computed in the RK scheme...
Definition: Solver.cpp:104
void compute_propagation()
Start the simulation solver.
Definition: Solver.cpp:63
Callback interface for communication with the CLI or the GUI.
Definition: KernelInterface.h:212
Default singlethreaded solver.
Definition: Solver.h:98