Chemistry · interface

AmbientState

Explained in Chemistry.

interface AmbientState
import type { AmbientState } from '@driftengine/chemistry';

Properties

NameTypeDescription
temperaturereadonlynumber
pressurereadonlynumber
humidityreadonlynumberRelative humidity, 0..1. Added to the dry composition when a cell is filled.
compositionreadonlyReadonly<Record<string, number>>Dry mass fractions over gas species, summing to one.