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

Comparing trunk/OOPSE-2.0/src/integrators/NVT.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 17 | Line 17 | template<typename T> NVT<T>::NVT ( SimInfo *theInfo, F
17    T( theInfo, the_ff )
18   {
19    GenericData* data;
20 <  DoubleData * chiValue;
21 <  DoubleData * integralOfChidtValue;
20 >  DoubleGenericData * chiValue;
21 >  DoubleGenericData * integralOfChidtValue;
22  
23    chiValue = NULL;
24    integralOfChidtValue = NULL;
# Line 35 | Line 35 | template<typename T> NVT<T>::NVT ( SimInfo *theInfo, F
35      // retrieve chi and integralOfChidt from simInfo
36      data = info->getProperty(CHIVALUE_ID);
37      if(data){
38 <      chiValue = dynamic_cast<DoubleData*>(data);
38 >      chiValue = dynamic_cast<DoubleGenericData*>(data);
39      }
40      
41      data = info->getProperty(INTEGRALOFCHIDT_ID);
42      if(data){
43 <      integralOfChidtValue = dynamic_cast<DoubleData*>(data);
43 >      integralOfChidtValue = dynamic_cast<DoubleGenericData*>(data);
44      }
45      
46      // chi and integralOfChidt should appear by pair

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines