public class Helper
extends java.lang.Object
Constructor and Description |
---|
Helper() |
Modifier and Type | Method and Description |
---|---|
static double |
computesNaEquivalent(Environment environment)
computes a sodium equivalent concentration from the different ion concentrations of the Environment object.
|
static java.lang.String |
extractsOptionFileName(java.lang.String methodName)
This method is called to extract the new file name to the method or model option entered by the user.
|
static java.lang.String |
extractsOptionMethodName(java.lang.String methodName)
This method is called to extract the method or model name to the method or model option entered by the user.
|
static boolean |
useOtherDataFile(java.lang.String methodName)
to check if the user wants to use another thermodynamic parameters file with the used model.
|
public static boolean useOtherDataFile(java.lang.String methodName)
methodName
- : the method or model option entered by the user.public static java.lang.String extractsOptionFileName(java.lang.String methodName)
methodName
- : the method or model option entered by the user.public static java.lang.String extractsOptionMethodName(java.lang.String methodName)
methodName
- : the method or model option entered by the user.public static double computesNaEquivalent(Environment environment)
environment
-