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 1492 by tim, Fri Sep 24 16:27:58 2004 UTC vs.
Revision 1625 by tim, Thu Oct 21 16:22:01 2004 UTC

# 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