| 1663 |
|
} |
| 1664 |
|
|
| 1665 |
|
theInfo.addProperty(zconsForcePolicy); |
| 1666 |
+ |
|
| 1667 |
+ |
//set zcons gap |
| 1668 |
+ |
DoubleData* zconsGap = new DoubleData(); |
| 1669 |
+ |
zconsGap->setID(ZCONSGAP_ID); |
| 1670 |
+ |
|
| 1671 |
+ |
if (globals->haveZConsGap()){ |
| 1672 |
+ |
zconsGap->setData(globals->getZconsGap()); |
| 1673 |
+ |
theInfo.addProperty(zconsGap); |
| 1674 |
+ |
} |
| 1675 |
+ |
|
| 1676 |
+ |
//set zcons fixtime |
| 1677 |
+ |
DoubleData* zconsFixtime = new DoubleData(); |
| 1678 |
+ |
zconsFixtime->setID(ZCONSFIXTIME_ID); |
| 1679 |
+ |
|
| 1680 |
+ |
if (globals->haveZConsFixTime()){ |
| 1681 |
+ |
zconsFixtime->setData(globals->getZconsFixtime()); |
| 1682 |
+ |
theInfo.addProperty(zconsFixtime); |
| 1683 |
+ |
} |
| 1684 |
|
|
| 1685 |
+ |
//set zconsUsingSMD |
| 1686 |
+ |
IntData* zconsUsingSMD = new IntData(); |
| 1687 |
+ |
zconsUsingSMD->setID(ZCONSUSINGSMD_ID); |
| 1688 |
+ |
|
| 1689 |
+ |
if (globals->haveZConsUsingSMD()){ |
| 1690 |
+ |
zconsUsingSMD->setData(globals->getZconsUsingSMD()); |
| 1691 |
+ |
theInfo.addProperty(zconsUsingSMD); |
| 1692 |
+ |
} |
| 1693 |
+ |
|
| 1694 |
|
//Determine the name of ouput file and add it into SimInfo's property list |
| 1695 |
|
//Be careful, do not use inFileName, since it is a pointer which |
| 1696 |
|
//point to a string at master node, and slave nodes do not contain that string |
| 1720 |
|
tempParaItem.zPos = zconStamp[i]->getZpos(); |
| 1721 |
|
tempParaItem.zconsIndex = zconStamp[i]->getMolIndex(); |
| 1722 |
|
tempParaItem.kRatio = zconStamp[i]->getKratio(); |
| 1723 |
< |
|
| 1723 |
> |
tempParaItem.havingCantVel = zconStamp[i]->haveCantVel(); |
| 1724 |
> |
tempParaItem.cantVel = zconStamp[i]->getCantVel(); |
| 1725 |
|
zconsParaData->addItem(tempParaItem); |
| 1726 |
|
} |
| 1727 |
|
|