| 32 | 
  | 
#define FF_H2O   3 | 
| 33 | 
  | 
 | 
| 34 | 
  | 
using namespace std; | 
| 35 | 
+ | 
using namespace oopse; | 
| 36 | 
  | 
 | 
| 37 | 
  | 
/** | 
| 38 | 
  | 
 * Check whether dividend is divisble by divisor or not | 
| 1791 | 
  | 
 | 
| 1792 | 
  | 
  if (globals->haveZconstraintTime()){ | 
| 1793 | 
  | 
    //add sample time of z-constraint  into SimInfo's property list                     | 
| 1794 | 
< | 
    DoubleData* zconsTimeProp = new DoubleData(); | 
| 1794 | 
> | 
    DoubleGenericData* zconsTimeProp = new DoubleGenericData(); | 
| 1795 | 
  | 
    zconsTimeProp->setID(ZCONSTIME_ID); | 
| 1796 | 
  | 
    zconsTimeProp->setData(globals->getZconsTime()); | 
| 1797 | 
  | 
    theInfo.addProperty(zconsTimeProp); | 
| 1806 | 
  | 
 | 
| 1807 | 
  | 
  //push zconsTol into siminfo, if user does not specify | 
| 1808 | 
  | 
  //value for zconsTol, a default value will be used | 
| 1809 | 
< | 
  DoubleData* zconsTol = new DoubleData(); | 
| 1809 | 
> | 
  DoubleGenericData* zconsTol = new DoubleGenericData(); | 
| 1810 | 
  | 
  zconsTol->setID(ZCONSTOL_ID); | 
| 1811 | 
  | 
  if (globals->haveZconsTol()){ | 
| 1812 | 
  | 
    zconsTol->setData(globals->getZconsTol()); | 
| 1826 | 
  | 
  theInfo.addProperty(zconsTol); | 
| 1827 | 
  | 
 | 
| 1828 | 
  | 
  //set Force Subtraction Policy | 
| 1829 | 
< | 
  StringData* zconsForcePolicy = new StringData(); | 
| 1829 | 
> | 
  StringGenericData* zconsForcePolicy = new StringGenericData(); | 
| 1830 | 
  | 
  zconsForcePolicy->setID(ZCONSFORCEPOLICY_ID); | 
| 1831 | 
  | 
 | 
| 1832 | 
  | 
  if (globals->haveZconsForcePolicy()){ | 
| 1845 | 
  | 
  theInfo.addProperty(zconsForcePolicy); | 
| 1846 | 
  | 
 | 
| 1847 | 
  | 
  //set zcons gap | 
| 1848 | 
< | 
  DoubleData* zconsGap = new DoubleData(); | 
| 1848 | 
> | 
  DoubleGenericData* zconsGap = new DoubleGenericData(); | 
| 1849 | 
  | 
  zconsGap->setID(ZCONSGAP_ID); | 
| 1850 | 
  | 
 | 
| 1851 | 
  | 
  if (globals->haveZConsGap()){ | 
| 1854 | 
  | 
  } | 
| 1855 | 
  | 
 | 
| 1856 | 
  | 
  //set zcons fixtime | 
| 1857 | 
< | 
  DoubleData* zconsFixtime = new DoubleData(); | 
| 1857 | 
> | 
  DoubleGenericData* zconsFixtime = new DoubleGenericData(); | 
| 1858 | 
  | 
  zconsFixtime->setID(ZCONSFIXTIME_ID); | 
| 1859 | 
  | 
 | 
| 1860 | 
  | 
  if (globals->haveZConsFixTime()){ | 
| 1863 | 
  | 
  } | 
| 1864 | 
  | 
 | 
| 1865 | 
  | 
  //set zconsUsingSMD | 
| 1866 | 
< | 
  IntData* zconsUsingSMD = new IntData(); | 
| 1866 | 
> | 
  IntGenericData* zconsUsingSMD = new IntGenericData(); | 
| 1867 | 
  | 
  zconsUsingSMD->setID(ZCONSUSINGSMD_ID); | 
| 1868 | 
  | 
 | 
| 1869 | 
  | 
  if (globals->haveZConsUsingSMD()){ | 
| 1879 | 
  | 
 | 
| 1880 | 
  | 
  zconsOutput = zconsOutput.substr(0, zconsOutput.rfind(".")) + ".fz"; | 
| 1881 | 
  | 
 | 
| 1882 | 
< | 
  StringData* zconsFilename = new StringData(); | 
| 1882 | 
> | 
  StringGenericData* zconsFilename = new StringGenericData(); | 
| 1883 | 
  | 
  zconsFilename->setID(ZCONSFILENAME_ID); | 
| 1884 | 
  | 
  zconsFilename->setData(zconsOutput); | 
| 1885 | 
  | 
 |