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

Comparing trunk/OOPSE-2.0/src/integrators/NPT.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 29 | Line 29 | template<typename T> NPT<T>::NPT ( SimInfo *theInfo, F
29    T( theInfo, the_ff )
30   {
31    GenericData* data;
32 <  DoubleData * chiValue;
33 <  DoubleData * integralOfChidtValue;
32 >  DoubleGenericData * chiValue;
33 >  DoubleGenericData * integralOfChidtValue;
34  
35    chiValue = NULL;
36    integralOfChidtValue = NULL;
# Line 48 | Line 48 | template<typename T> NPT<T>::NPT ( SimInfo *theInfo, F
48    // retrieve chi and integralOfChidt from simInfo
49    data = info->getProperty(CHIVALUE_ID);
50    if(data){
51 <    chiValue = dynamic_cast<DoubleData*>(data);
51 >    chiValue = dynamic_cast<DoubleGenericData*>(data);
52    }
53  
54    data = info->getProperty(INTEGRALOFCHIDT_ID);
55    if(data){
56 <    integralOfChidtValue = dynamic_cast<DoubleData*>(data);
56 >    integralOfChidtValue = dynamic_cast<DoubleGenericData*>(data);
57    }
58  
59    // chi and integralOfChidt should appear by pair

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines