Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::sim::GasConfig Struct Reference

#include <gas_reference.h>

Public Attributes

uint32_t sizeX = 8
uint32_t sizeY = 8
uint32_t sizeZ = 8
std::array< GasBoundary, GAS_AXES > boundary = {GasBoundary::Wall, GasBoundary::Wall, GasBoundary::Wall}
uint32_t speciesCount = 0
std::array< GasSpecies, GAS_MAX_SPECIES > species = {}
uint32_t substeps = 4
uint32_t soundSpeedMmPerS = 30000
bool gravity = true
std::array< int32_t, GAS_AXES > windVelocity = {0, 0, 0}
GasReconstruction reconstruction = GasReconstruction::MonotonizedCentral
bool stochasticRounding = true
uint64_t randomSeed = 0

Detailed Description

Definition at line 54 of file gas_reference.h.

Member Data Documentation

◆ boundary

◆ gravity

◆ randomSeed

uint64_t bicameral::sim::GasConfig::randomSeed = 0

◆ reconstruction

◆ sizeX

◆ sizeY

◆ sizeZ

◆ soundSpeedMmPerS

uint32_t bicameral::sim::GasConfig::soundSpeedMmPerS = 30000

◆ species

◆ speciesCount

◆ stochasticRounding

bool bicameral::sim::GasConfig::stochasticRounding = true

◆ substeps

uint32_t bicameral::sim::GasConfig::substeps = 4

Definition at line 66 of file gas_reference.h.

Referenced by bicameral::sim::MakeGasCoefficients(), and bicameral::sim::StepGas().

◆ windVelocity

std::array<int32_t, GAS_AXES> bicameral::sim::GasConfig::windVelocity = {0, 0, 0}

Definition at line 71 of file gas_reference.h.

Referenced by bicameral::sim::MakeGasBox().


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