|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
#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 |
Definition at line 54 of file gas_reference.h.
| std::array<GasBoundary, GAS_AXES> bicameral::sim::GasConfig::boundary = {GasBoundary::Wall, GasBoundary::Wall, GasBoundary::Wall} |
Definition at line 59 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::EnumerateFaces(), and bicameral::sim::anonymous_namespace{gas_reference.cpp}::SideAt().
| bool bicameral::sim::GasConfig::gravity = true |
| uint64_t bicameral::sim::GasConfig::randomSeed = 0 |
Definition at line 76 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::ComputeMovedAmounts().
| GasReconstruction bicameral::sim::GasConfig::reconstruction = GasReconstruction::MonotonizedCentral |
Definition at line 74 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::HalfSlope(), and bicameral::sim::anonymous_namespace{gas_reference.cpp}::MovedAmountQ32().
| uint32_t bicameral::sim::GasConfig::sizeX = 8 |
Definition at line 56 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::AxisSize(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::CellCoordinate(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::CellLayer(), and bicameral::sim::MakeGasBox().
| uint32_t bicameral::sim::GasConfig::sizeY = 8 |
Definition at line 57 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::AxisSize(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::CellCoordinate(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::CellLayer(), and bicameral::sim::MakeGasBox().
| uint32_t bicameral::sim::GasConfig::sizeZ = 8 |
Definition at line 58 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::AxisSize(), bicameral::sim::MakeGasBox(), and bicameral::sim::MakeHydrostaticReference().
| uint32_t bicameral::sim::GasConfig::soundSpeedMmPerS = 30000 |
Definition at line 67 of file gas_reference.h.
Referenced by bicameral::sim::MakeGasBox(), and bicameral::sim::MakeGasCoefficients().
| std::array<GasSpecies, GAS_MAX_SPECIES> bicameral::sim::GasConfig::species = {} |
Definition at line 63 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::ChemicalEnergy(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::HeatCapacity(), and bicameral::sim::MakeGasCoefficients().
| uint32_t bicameral::sim::GasConfig::speciesCount = 0 |
Definition at line 62 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::CellMass(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::ChemicalEnergy(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::ComputeMovedAmounts(), bicameral::sim::HashGas(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::HeatCapacity(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::LimitMovedAmounts(), bicameral::sim::MakeGasCell(), bicameral::sim::MakeGasCoefficients(), bicameral::sim::MakeHydrostaticReference(), bicameral::sim::SumGas(), bicameral::sim::anonymous_namespace{gas_reference.cpp}::TotalAmount(), and bicameral::sim::anonymous_namespace{gas_reference.cpp}::Transfer().
| bool bicameral::sim::GasConfig::stochasticRounding = true |
Definition at line 75 of file gas_reference.h.
Referenced by bicameral::sim::anonymous_namespace{gas_reference.cpp}::RoundAmount().
| 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().
| 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().