openPSTD
2.0
Open source simulation for sound propagation in urban environments
|
Solver that exploits the multiple CPU cores of a machine. More...
#include <Solver.h>
Public Member Functions | |
MultiThreadSolver (std::shared_ptr< Scene > scene, KernelCallback *callback) | |
Multithreaded solver. More... | |
Public Member Functions inherited from OpenPSTD::Kernel::Solver | |
Solver (std::shared_ptr< Scene > scene, KernelCallback *callback) | |
Solver constructor (abstract). More... | |
void | compute_propagation () |
Start the simulation solver. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from OpenPSTD::Kernel::Solver | |
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. More... | |
PSTD_FRAME_PTR | get_pressure_vector () |
The GUI format for pressure fields. More... | |
Protected Attributes inherited from OpenPSTD::Kernel::Solver | |
KernelCallback * | callback |
int | number_of_time_steps |
The final number of computed frames. | |
Solver that exploits the multiple CPU cores of a machine.
OpenPSTD::Kernel::MultiThreadSolver::MultiThreadSolver | ( | std::shared_ptr< Scene > | scene, |
KernelCallback * | callback | ||
) |