Class NeqSimUnitSet
java.lang.Object
neqsim.util.unit.NeqSimUnitSet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcomponentConcentrationUnit.Getter for the fieldflowRateUnit.Getter for the fieldpressureUnit.Getter for the fieldtemperatureUnit.voidsetComponentConcentrationUnit(String componentConcentrationUnit) Setter for the fieldcomponentConcentrationUnit.voidsetFlowRateUnit(String flowRateUnit) Setter for the fieldflowRateUnit.static voidsetNeqSimUnits(String unitSystem) Sets the global NeqSim unit system.voidsetPressureUnit(String pressureUnit) Setter for the fieldpressureUnit.voidsetTemperatureUnit(String temperatureUnit) Setter for the fieldtemperatureUnit.
-
Field Details
-
temperatureUnit
-
pressureUnit
-
flowRateUnit
-
componentConcentrationUnit
-
-
Constructor Details
-
NeqSimUnitSet
public NeqSimUnitSet()
-
-
Method Details
-
getComponentConcentrationUnit
Getter for the field
componentConcentrationUnit.- Returns:
- the componentConcentrationUnit
-
getFlowRateUnit
-
getPressureUnit
-
getTemperatureUnit
Getter for the field
temperatureUnit.- Returns:
- the temperatureUnit
-
setComponentConcentrationUnit
Setter for the field
componentConcentrationUnit.- Parameters:
componentConcentrationUnit- the componentConcentrationUnit to set
-
setFlowRateUnit
Setter for the field
flowRateUnit.- Parameters:
flowRateUnit- the flowRateUnit to set
-
setPressureUnit
Setter for the field
pressureUnit.- Parameters:
pressureUnit- the pressureUnit to set
-
setTemperatureUnit
Setter for the field
temperatureUnit.- Parameters:
temperatureUnit- the temperatureUnit to set
-
setNeqSimUnits
Sets the global NeqSim unit system.- Parameters:
unitSystem- the unit system to activate. Options: "default", "field", "SI".
-