SpecificEnergy constructor

SpecificEnergy({
  1. dynamic joulesPerKilogram,
  2. double uncert = 0.0,
})

Constructs a SpecificEnergy with joules per kilogram. Optionally specify a relative standard uncertainty.

Implementation

SpecificEnergy({dynamic joulesPerKilogram, double uncert = 0.0})
    : super(
          joulesPerKilogram ?? 0.0, SpecificEnergy.joulesPerKilogram, uncert);