|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
#include <global.h>
Public Member Functions | |
| Parameters (ParameterMap &pmap) | |
A collection of assorted parameter values.
The existence of this type is largely a historical artifact. The plan is to gradually remove data members from this type.
In the vast majority of cases, a parameter value is temporarily stored here and then they are only referenced one subsequent time (while the simulation is being initialized).
When relocating other parameters, be mindful that a single execution of Cholla should NEVER read a parameter's value from ParameterMap more than once
|
explicit |
Construct a new instance using values from pmap
| [in] | pmap | The map of all parsed parameters. Reminder: the only reason this isn't marked const is to reflect the fact that the type internally tracks each parameter that is accessed. |