public static void Amount(SampleValue sample, AmountEntry amountEntry, Style style) { if (device == null || (!style.chartOutput) || Exec.IsVesselVariant(sample)) { return; } }
public static void Amount(SampleValue sample, AmountEntry amountEntry, Style style) { sample.stateMap.AddDimensionedSpecies(amountEntry.species, amountEntry.initial.value, amountEntry.initialVariance.value, amountEntry.dimension, sample.Volume(), style); }