libsbml.Species.isSetInitialAmount C# (CSharp) Method

isSetInitialAmount() public method

public isSetInitialAmount ( ) : bool
return bool
        public bool isSetInitialAmount()
        {
            bool ret = libsbmlPINVOKE.Species_isSetInitialAmount(swigCPtr);
            return ret;
        }

Usage Example

Beispiel #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="aSpecies"></param>
 /// <returns></returns>
 public static double GetInitialAmount(Species aSpecies)
 {
     double anInitialAmount_Sp;
     if (aSpecies.isSetInitialAmount())
         anInitialAmount_Sp = aSpecies.getInitialAmount();
     else
         anInitialAmount_Sp = double.NaN;
     return anInitialAmount_Sp;
 }
All Usage Examples Of libsbml.Species::isSetInitialAmount