Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
multires_conduction.cpp File Reference
#include <algorithm>
#include <array>
#include "common/multires_conduction.hlsli"
#include "sim/multires_nest.h"
#include "sim/multires_nest_internal.h"
Include dependency graph for multires_conduction.cpp:

Go to the source code of this file.

Classes

struct  bicameral::sim::anonymous_namespace{multires_conduction.cpp}::CellFaces
class  bicameral::sim::anonymous_namespace{multires_conduction.cpp}::CellThermals
struct  bicameral::sim::anonymous_namespace{multires_conduction.cpp}::CpuTree

Namespaces

namespace  bicameral
namespace  bicameral::sim
namespace  bicameral::sim::anonymous_namespace{multires_conduction.cpp}
namespace  bicameral::sim::nest_detail

Functions

uint32_t bicameral::sim::anonymous_namespace{multires_conduction.cpp}::SubcycleShift (const MultiresStepOptions &options, int32_t level)
bool bicameral::sim::anonymous_namespace{multires_conduction.cpp}::IsFrozen (std::span< const uint8_t > frozen, uint32_t slot)
CellFaces bicameral::sim::anonymous_namespace{multires_conduction.cpp}::CollectCellFaces (const MultiresNest &nest, CellThermals &thermals, uint32_t slot, uint32_t index, std::span< const uint8_t > frozen, std::span< const uint8_t > implicitBlocks, const MultiresStepOptions &options)
bool bicameral::sim::anonymous_namespace{multires_conduction.cpp}::IsSteppedSlot (std::span< const uint8_t > stepped, uint32_t slot)
bool bicameral::sim::anonymous_namespace{multires_conduction.cpp}::OnBlockSurface (uint32_t index)
bool bicameral::sim::anonymous_namespace{multires_conduction.cpp}::MarkCrossSends (MultiresNest &nest, const CellFaces &faces, std::span< uint8_t > wantsFraction)
void bicameral::sim::anonymous_namespace{multires_conduction.cpp}::MarkBlockWants (MultiresNest &nest, CellThermals &thermals, uint32_t slot, std::span< uint8_t > wantsFraction, const MultiresStepOptions &options)
void bicameral::sim::anonymous_namespace{multires_conduction.cpp}::AllocateConductionFractions (MultiresNest &nest, std::span< const uint8_t > frozen, std::span< const uint8_t > wantsFraction)
void bicameral::sim::anonymous_namespace{multires_conduction.cpp}::AddCellFlows (const MultiresNest &nest, CellThermals &thermals, uint32_t slot, uint32_t index, std::span< const uint8_t > frozen, std::span< const uint8_t > implicitBlocks, const MultiresStepOptions &options, std::span< MrEnergyDelta > deltas)
void bicameral::sim::anonymous_namespace{multires_conduction.cpp}::MarkSubstepBlocks (const MultiresNest &nest, std::span< const uint8_t > stepped, uint32_t substep, const MultiresStepOptions &options, std::span< uint8_t > active)
std::vector< uint32_t > bicameral::sim::anonymous_namespace{multires_conduction.cpp}::ApplyEndingDeltas (MultiresNest &nest, CellThermals &thermals, uint32_t substep, const MultiresStepOptions &options, std::span< MrEnergyDelta > deltas)
void bicameral::sim::anonymous_namespace{multires_conduction.cpp}::WakeChangedBlocks (MultiresNest &nest, std::span< const uint32_t > changed, uint32_t wakeMark, std::span< uint8_t > stepped)
std::vector< uint8_t > bicameral::sim::nest_detail::MarkConductionWants (MultiresNest &nest, CellThermals &thermals, std::span< const uint8_t > stepped, const MultiresStepOptions &options)
void bicameral::sim::nest_detail::ComputeConduction (MultiresNest &nest, CellThermals &thermals, std::span< const uint8_t > stepped, std::span< const uint8_t > frozen, std::span< const uint8_t > wantsFraction, std::span< const uint8_t > implicitBlocks, const MultiresStepOptions &options, std::span< MrEnergyDelta > deltas)
std::vector< MrEnergyDelta > bicameral::sim::nest_detail::StepConduction (MultiresNest &nest, const ReactionTableView &view, std::span< uint8_t > stepped, const MultiresStepOptions &options, uint32_t wakeMark, std::span< BlockStepResult > results)