openPSTD  2.0
Open source simulation for sound propagation in urban environments
Public Member Functions | List of all members
OpenPSTD::Kernel::GPUMultiThreadSolver Class Reference

Solver that both utilized multiple cores and the GPU. More...

#include <Solver.h>

Inheritance diagram for OpenPSTD::Kernel::GPUMultiThreadSolver:
Inheritance graph
Collaboration diagram for OpenPSTD::Kernel::GPUMultiThreadSolver:
Collaboration graph

Public Member Functions

 GPUMultiThreadSolver (std::shared_ptr< Scene > scene, KernelCallback *callback)
 Multithreaded GPU 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
KernelCallbackcallback
 
int number_of_time_steps
 The final number of computed frames.
 

Detailed Description

Solver that both utilized multiple cores and the GPU.

Constructor & Destructor Documentation

OpenPSTD::Kernel::GPUMultiThreadSolver::GPUMultiThreadSolver ( std::shared_ptr< Scene scene,
KernelCallback callback 
)

Multithreaded GPU solver.

This instance employs both multiple CPU's as well as the graphics card.

See also
Solver

The documentation for this class was generated from the following files: