ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/io/DumpReader.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/io/DumpReader.cpp (file contents):
Revision 1490 by gezelter, Fri Sep 24 04:16:43 2004 UTC vs.
Revision 1625 by tim, Thu Oct 21 16:22:01 2004 UTC

# Line 12 | Line 12
12   #include <string.h>
13  
14  
15 < #include "ReadWrite.hpp"
16 < #include "simError.h"
15 > #include "io/ReadWrite.hpp"
16 > #include "utils/simError.h"
17  
18   #ifdef IS_MPI
19   #include <mpi.h>
20 < #include "mpiSimulation.hpp"
20 > #include "brains/mpiSimulation.hpp"
21   #define TAKE_THIS_TAG_CHAR 0
22   #define TAKE_THIS_TAG_INT 1
23   #endif // is_mpi
# Line 698 | Line 698 | char* DumpReader::parseCommentLine(char* readLine, Sim
698        
699        //push chi and integralOfChidt into SimInfo::properties which can be
700        //retrieved by integrator later
701 <      DoubleData* chiValue = new DoubleData();
701 >      DoubleGenericData* chiValue = new DoubleGenericData();
702        chiValue->setID(CHIVALUE_ID);
703        chiValue->setData(chi);
704        entry_plug->addProperty(chiValue);
705        
706 <      DoubleData* integralOfChidtValue = new DoubleData();
706 >      DoubleGenericData* integralOfChidtValue = new DoubleGenericData();
707        integralOfChidtValue->setID(INTEGRALOFCHIDT_ID);
708        integralOfChidtValue->setData(integralOfChidt);
709        entry_plug->addProperty(integralOfChidtValue);
# Line 733 | Line 733 | char* DumpReader::parseCommentLine(char* readLine, Sim
733      //push eta into SimInfo::properties which can be
734      //retrieved by integrator later
735      //entry_plug->setBoxM( theBoxMat3 );
736 <    DoubleArrayData* etaValue = new DoubleArrayData();
737 <    etaValue->setID(ETAVALUE_ID);
738 <    etaValue->setData(eta, 9);
736 >    DoubleVectorGenericData* etaValue = new DoubleVectorGenericData(ETAVALUE_ID);
737 >    etaValue->insert(etaValue->end(), eta, eta+9);
738      entry_plug->addProperty(etaValue);
739    }
740  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines