| 9 | 
  | 
#include <sys/types.h> | 
| 10 | 
  | 
#include <sys/stat.h> | 
| 11 | 
  | 
 | 
| 12 | 
< | 
#include "ReadWrite.hpp" | 
| 13 | 
< | 
#include "simError.h" | 
| 14 | 
< | 
#include "GenericData.hpp" | 
| 12 | 
> | 
#include "io/ReadWrite.hpp" | 
| 13 | 
> | 
#include "utils/simError.h" | 
| 14 | 
> | 
#include "utils/GenericData.hpp" | 
| 15 | 
  | 
 | 
| 16 | 
  | 
#ifdef IS_MPI | 
| 17 | 
  | 
#include <mpi.h> | 
| 18 | 
< | 
#include "mpiSimulation.hpp" | 
| 18 | 
> | 
#include "brains/mpiSimulation.hpp" | 
| 19 | 
  | 
#define TAKE_THIS_TAG_CHAR 3134 | 
| 20 | 
  | 
#define TAKE_THIS_TAG_INT 3135 | 
| 21 | 
  | 
 | 
| 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 | 
  | 
 |