affectors
Class ConstantLevelAff

java.lang.Object
  extended byaffectors.Affector
      extended byaffectors.ConstantLevelAff
All Implemented Interfaces:
java.lang.Cloneable

public class ConstantLevelAff
extends Affector

This affector returns a constant value to cause the target node to go to the specified final value (Final) when coupled to constant linear decay. The rate of decay is needed for scaling with the nondimensionalization.

Formula
dNODEX/dt = Final/H_Nodex

Parameters

Half life [H_Nodex] The half life of the target node.
Final level [Final] The final concentration of the target assuming constant linear degredation.

Usage
&Nodex

&ConstantLevelAff H_nodex Final
&endnodex

See Also:
ConstantInputAff

Field Summary
 
Fields inherited from class affectors.Affector
ADesc, affectorType, CC, CERTIFICATION, CONVERSION, copyNumber, DEGRADATION, FF, firstFreeParam, GG, GUI_CAPABLE, HH, KK, MATHTYPE, NDesc, PDesc, PRODUCTION, RETURNS_DERIV, RETURNS_PARTIALS, TERMTYPE, TT, Type, UNSPECIFIED
 
Constructor Summary
ConstantLevelAff()
           
 
Method Summary
 float getValue(Node which_node)
           
protected  void setLabelsAndTypes()
           
 void setParameterNumbers(int[] param_nums)
           
 
Methods inherited from class affectors.Affector
addDefaultParam, Chi, clearStatic, copy_, copy, doesContainTarget, findOrCreateParam, findParam, fixNodes, getNCValue, getNodes, getNumNodes, getNumParameters, getOtherSide, getParameter, getParameter, getParamName, getParamPos, getParamValue, getParamValue, getParamVariationMode, init, isLinearInTarget, Phi, Psi, setContainsTarget, setDescriptions, setParameter, setParamRange, setParamRange, setParamValue, setParamValue, setSide, setSided
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantLevelAff

public ConstantLevelAff()
Method Detail

setLabelsAndTypes

protected void setLabelsAndTypes()
Specified by:
setLabelsAndTypes in class Affector

setParameterNumbers

public void setParameterNumbers(int[] param_nums)
Specified by:
setParameterNumbers in class Affector

getValue

public float getValue(Node which_node)
Overrides:
getValue in class Affector