ucl.physiol.neuroconstruct.genesis
Class GenesisSettings

java.lang.Object
  extended by ucl.physiol.neuroconstruct.genesis.GenesisSettings

public class GenesisSettings
extends Object

The general parameters needed for GENESIS simulations

Author:
Padraig Gleeson

Nested Class Summary
static class GenesisSettings.GraphicsMode
           
 
Constructor Summary
GenesisSettings()
           
 
Method Summary
 float getAbsRefractSpikegen()
           
 GenesisSettings.GraphicsMode getGraphicsMode()
           
 String getNativeBlock(ScriptLocation ncl)
           
 Hashtable<Integer,String> getNativeBlocks()
          Deprecated.  
 NumericalMethod getNumMethod()
           
 float getReloadSimAfterSecs()
           
 int getUnitSystemToUse()
           
 boolean isCopySimFiles()
           
 boolean isGenerateComments()
           
 boolean isMooseCompatMode()
           
 boolean isPhysiologicalUnits()
           
 boolean isShowShapePlot()
           
 boolean isShowVoltPlot()
           
 boolean isSIUnits()
           
 boolean isSymmetricCompartments()
           
 void setAbsRefractSpikegen(float absRefractSpikegen)
           
 void setCopySimFiles(boolean copySimFiles)
           
 void setGenerateComments(boolean generateComments)
           
 void setGraphicsMode(boolean graphicsMode)
          Deprecated.  
 void setGraphicsMode(GenesisSettings.GraphicsMode graphicsMode)
           
 void setMooseCompatMode(boolean mooseCompatMode)
           
 void setNativeBlock(ScriptLocation ncl, String text)
           
 void setNativeBlocks(Hashtable<Integer,String> nb)
          Deprecated.  
 void setNoConsole()
           
 void setNumMethod(NumericalMethod numMethod)
           
 void setReloadSimAfterSecs(float reloadSimAfterSecs)
           
 void setShowShapePlot(boolean showShapePlot)
           
 void setShowVoltPlot(boolean showVoltPlot)
           
 void setSymmetricCompartments(boolean symmetricCompartments)
           
 void setTextAfterCellCreation(String textAfterCellCreation)
          Deprecated.  
 void setTextBeforeCellCreation(String textBeforeCellCreation)
          Deprecated.  
 void setUnitSystemToUse(int unitSystemToUse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenesisSettings

public GenesisSettings()
Method Detail

getNativeBlocks

public Hashtable<Integer,String> getNativeBlocks()
Deprecated. 

Should only be used by XMLEncoder, hence use of deprecated


setNativeBlocks

public void setNativeBlocks(Hashtable<Integer,String> nb)
Deprecated. 

Should only be used by XMLEncoder, hence use of deprecated


getNativeBlock

public String getNativeBlock(ScriptLocation ncl)

setNativeBlock

public void setNativeBlock(ScriptLocation ncl,
                           String text)

getReloadSimAfterSecs

public float getReloadSimAfterSecs()

setReloadSimAfterSecs

public void setReloadSimAfterSecs(float reloadSimAfterSecs)

getAbsRefractSpikegen

public float getAbsRefractSpikegen()

setAbsRefractSpikegen

public void setAbsRefractSpikegen(float absRefractSpikegen)

setTextAfterCellCreation

public void setTextAfterCellCreation(String textAfterCellCreation)
Deprecated. 

Used to ensure compatibility with old method of code blocks...


setTextBeforeCellCreation

public void setTextBeforeCellCreation(String textBeforeCellCreation)
Deprecated. 

Used to ensure compatibility with old method of code blocks...


isSymmetricCompartments

public boolean isSymmetricCompartments()

setSymmetricCompartments

public void setSymmetricCompartments(boolean symmetricCompartments)

getUnitSystemToUse

public int getUnitSystemToUse()

isSIUnits

public boolean isSIUnits()

isPhysiologicalUnits

public boolean isPhysiologicalUnits()

isMooseCompatMode

public boolean isMooseCompatMode()

setMooseCompatMode

public void setMooseCompatMode(boolean mooseCompatMode)

isShowShapePlot

public boolean isShowShapePlot()

isShowVoltPlot

public boolean isShowVoltPlot()

setShowVoltPlot

public void setShowVoltPlot(boolean showVoltPlot)

setShowShapePlot

public void setShowShapePlot(boolean showShapePlot)

isGenerateComments

public boolean isGenerateComments()

setGenerateComments

public void setGenerateComments(boolean generateComments)

getNumMethod

public NumericalMethod getNumMethod()

setNumMethod

public void setNumMethod(NumericalMethod numMethod)

setUnitSystemToUse

public void setUnitSystemToUse(int unitSystemToUse)

setGraphicsMode

public void setGraphicsMode(boolean graphicsMode)
Deprecated. 


setNoConsole

public void setNoConsole()

setGraphicsMode

public void setGraphicsMode(GenesisSettings.GraphicsMode graphicsMode)

getGraphicsMode

public GenesisSettings.GraphicsMode getGraphicsMode()

isCopySimFiles

public boolean isCopySimFiles()

setCopySimFiles

public void setCopySimFiles(boolean copySimFiles)