Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Parameters Struct Reference

#include <global.h>

Public Member Functions

 Parameters (ParameterMap &pmap)
 

Public Attributes

int nx
 
int ny
 
int nz
 
double tout
 
double outstep
 
int n_steps_output
 
Real gamma
 
char init [MAXLEN]
 
int nfile
 
bool gas_only_use_static_grav
 
bool output_always = false
 
int n_steps_limit = -1
 
Real xmin
 
Real ymin
 
Real zmin
 
Real xlen
 
Real ylen
 
Real zlen
 
int xl_bcnd
 
int xu_bcnd
 
int yl_bcnd
 
int yu_bcnd
 
int zl_bcnd
 
int zu_bcnd
 
char custom_bcnd [MAXLEN]
 
char indir [MAXLEN]
 
Real rho
 
Real vx
 
Real vy
 
Real vz
 
Real P
 
Real A
 
Real Bx
 
Real By
 
Real Bz
 
Real rho_l
 
Real vx_l
 
Real vy_l
 
Real vz_l
 
Real P_l
 
Real Bx_l
 
Real By_l
 
Real Bz_l
 
Real rho_r
 
Real vx_r
 
Real vy_r
 
Real vz_r
 
Real P_r
 
Real Bx_r
 
Real By_r
 
Real Bz_r
 
Real diaph
 
Real rEigenVec_rho
 
Real rEigenVec_MomentumX
 
Real rEigenVec_MomentumY
 
Real rEigenVec_MomentumZ
 
Real rEigenVec_E
 
Real rEigenVec_Bx
 
Real rEigenVec_By
 
Real rEigenVec_Bz
 
Real pitch
 
Real yaw
 
Real polarization
 
Real radius
 
Real P_blast
 
Real wave_length
 
int n_proc_x
 
int n_proc_y
 
int n_proc_z
 
int bc_potential_type
 
Real temperature_floor = 0
 
Real density_floor = 0
 
Real scalar_floor = 0
 

Detailed Description

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.

Guidelines for Removing Parameters

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

Constructor & Destructor Documentation

◆ Parameters()

Parameters::Parameters ( ParameterMap pmap)
explicit

Construct a new instance using values from pmap

Parameters
[in]pmapThe 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.

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