myO2StoreImpl.setInitialLevel(calculateMoles(20.0f)); myCO2StoreImpl.setInitialLevel(calculateMoles(0.111f)); myOtherStoreImpl.setInitialLevel(calculateMoles(1.0f)); myVaporStoreImpl.setInitialLevel(calculateMoles(1.0f)); myNitrogenStoreImpl.setInitialLevel(calculateMoles(78.96f));
myO2StoreImpl.setInitialLevel(currentVolume *  moleOfAirPerCubicMeter * 0.20f); myCO2StoreImpl.setInitialLevel(currentVolume *  moleOfAirPerCubicMeter * 0.00111f); myOtherStoreImpl.setInitialLevel(currentVolume *  moleOfAirPerCubicMeter * 0.01f); myVaporStoreImpl.setInitialLevel(currentVolume *  moleOfAirPerCubicMeter * 0.01f); myNitrogenStoreImpl.setInitialLevel(currentVolume *  moleOfAirPerCubicMeter * 0.7896f);
    public void setInitialVolumeAtSeaLevel(float pInitialVolume) {        currentVolume = initialVolume = pInitialVolume;        myO2StoreImpl.setInitialLevel(calculateMoles(20.0f));        myCO2StoreImpl.setInitialLevel(calculateMoles(0.111f));        myOtherStoreImpl.setInitialLevel(calculateMoles(1.0f));        myVaporStoreImpl.setInitialLevel(calculateMoles(1.0f));        myNitrogenStoreImpl.setInitialLevel(calculateMoles(78.96f));    }