| 604 |
|
|
| 605 |
|
//push chi and integralOfChidt into SimInfo::properties which can be |
| 606 |
|
//retrieved by integrator later |
| 607 |
< |
DoubleData* chiValue = new DoubleData(); |
| 607 |
> |
DoubleGenericData* chiValue = new DoubleGenericData(); |
| 608 |
|
chiValue->setID(CHIVALUE_ID); |
| 609 |
|
chiValue->setData(chi); |
| 610 |
|
entry_plug->addProperty(chiValue); |
| 611 |
|
|
| 612 |
< |
DoubleData* integralOfChidtValue = new DoubleData(); |
| 612 |
> |
DoubleGenericData* integralOfChidtValue = new DoubleGenericData(); |
| 613 |
|
integralOfChidtValue->setID(INTEGRALOFCHIDT_ID); |
| 614 |
|
integralOfChidtValue->setData(integralOfChidt); |
| 615 |
|
entry_plug->addProperty(integralOfChidtValue); |
| 639 |
|
//push eta into SimInfo::properties which can be |
| 640 |
|
//retrieved by integrator later |
| 641 |
|
|
| 642 |
< |
DoubleArrayData* etaValue = new DoubleArrayData(); |
| 643 |
< |
etaValue->setID(ETAVALUE_ID); |
| 644 |
< |
etaValue->setData(eta, 9); |
| 642 |
> |
DoubleVectorGenericData* etaValue = new DoubleVectorGenericData(ETAVALUE_ID); |
| 643 |
> |
etaValue->insert(etaValue->end(), eta, eta+9); |
| 644 |
|
entry_plug->addProperty(etaValue); |
| 645 |
|
} |
| 646 |
|
|