org.jscience.physics.solids
Class AtlasPreferences

java.lang.Object
  extended by org.jscience.physics.solids.AtlasPreferences

public class AtlasPreferences
extends java.lang.Object

Reference class of constansts used by ATLAS.

Evenutally, these values will be able to be set by a prefrences file or something...


Constructor Summary
AtlasPreferences()
           
AtlasPreferences(int intLevel, int logLevel)
           
 
Method Summary
 int getIntegrationLevel()
           
 int getLoggingLevel()
           
static double getSingularityTolerance()
          Returns the definition of a singularity for a singluatory matrix.
static double getZeroTolerance()
          Returns the definition of "zero".
 void setIntegrationLevel(int integrationLevel)
           
 void setLoggingLevel(int loggingLevel)
           
static void setSingularityTolerance(double tolerance)
          Sets the definition of a singularity for a singluatory matrix.
static void setZeroTolerance(double tolerance)
          Sets the definition of "zero".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtlasPreferences

public AtlasPreferences()

AtlasPreferences

public AtlasPreferences(int intLevel,
                        int logLevel)
Method Detail

setZeroTolerance

public static void setZeroTolerance(double tolerance)
Sets the definition of "zero". This tolerance is used to determine if spatial entities are equivalent. For example, if the angle between two vectors is less than this value, then they are considered colinear. Default value is .00001.


getZeroTolerance

public static double getZeroTolerance()
Returns the definition of "zero". This tolerance is used to determine if spatial entities are equivalent. For example, if the angle between two vectors is less than this value, then they are considered colinear. Default value is .00001.


setSingularityTolerance

public static void setSingularityTolerance(double tolerance)
Sets the definition of a singularity for a singluatory matrix. Default value is 1e-10.


getSingularityTolerance

public static double getSingularityTolerance()
Returns the definition of a singularity for a singluatory matrix. Default value is 1e-10.


getLoggingLevel

public int getLoggingLevel()
Returns:
Returns the loggingLevel.

setLoggingLevel

public void setLoggingLevel(int loggingLevel)
Parameters:
loggingLevel - Sets the desired loggingLevel. 1 equals info 2 equals warn 3 equals error 4 equals fatal

getIntegrationLevel

public int getIntegrationLevel()
Returns:
Returns the integrationLevel.

setIntegrationLevel

public void setIntegrationLevel(int integrationLevel)
Parameters:
integrationLevel - The integrationLevel to set.