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

A collection of parameters and settings for the simulation. More...

#include <KernelInterface.h>

Collaboration diagram for OpenPSTD::Kernel::PSTDSettings:
Collaboration graph

Public Member Functions

float GetGridSpacing ()
 
void SetGridSpacing (float value)
 
float GetPatchError ()
 
void SetPatchError (float value)
 
int GetWindowSize ()
 
float GetRenderTime ()
 
void SetRenderTime (float value)
 
int GetPMLCells ()
 
void SetPMLCells (int value)
 
float GetAttenuationOfPMLCells ()
 
void SetAttenuationOfPMLCells (float value)
 
float GetDensityOfAir ()
 
void SetDensityOfAir (float value)
 
float GetMaxFrequency ()
 TODO: add dynamic behavior to setters of freqMax and grid spacing.
 
void SetMaxFrequency (float value)
 
float GetSoundSpeed ()
 
void SetSoundSpeed (float value)
 
float GetFactRK ()
 
void SetFactRK (float value)
 
int GetSaveNth ()
 
void SetSaveNth (int value)
 
float GetBandWidth ()
 
void SetBandWidth (float value)
 
bool GetSpectralInterpolation ()
 
void SetSpectralInterpolation (bool value)
 
float GetWaveLength ()
 
void SetWaveLength (float value)
 
float GetTimeStep ()
 
bool GetGPUAccel ()
 
void SetGPUAccel (bool value)
 
bool GetMultiThread ()
 
void SetMultiThread (bool value)
 
std::vector< float > GetRKCoefficients ()
 
void SetRKCoefficients (std::vector< float > coef)
 

Detailed Description

A collection of parameters and settings for the simulation.

PSTDSettings contains various parameters like simulation duration, time step size window shape, etcetera. Most of these can freely be set, some depend on other parameters.


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