package integrators; /** This class just holds a list of all available integrators. Right now its only used by the options dlog. */ public class IntegratorList { public static String [][] integrators = {{"Cash Karp", "CashKarp"}, {"Backward Euler", "BackwardEuler"}, {"Semi Explicit APC", "SemiExplicitAPC"}, {"Adams", "Adams"}, {"Huen", "Huen"}}; public IntegratorList() {} // Never used public static int getNumIntegrators() { return integrators.length; } public static String getIntegratorName(int i) { return integrators[i][0]; } public static String getIntegratorClass(int i) { return integrators[i][1]; } }