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

Comparing trunk/OOPSE-4/src/integrators/NPT.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 1 | Line 1
1   #include <math.h>
2  
3 < #include "Atom.hpp"
4 < #include "SRI.hpp"
5 < #include "AbstractClasses.hpp"
6 < #include "SimInfo.hpp"
7 < #include "ForceFields.hpp"
8 < #include "Thermo.hpp"
9 < #include "ReadWrite.hpp"
10 < #include "Integrator.hpp"
11 < #include "simError.h"
3 > #include "primitives/Atom.hpp"
4 > #include "primitives/SRI.hpp"
5 > #include "primitives/AbstractClasses.hpp"
6 > #include "brains/SimInfo.hpp"
7 > #include "UseTheForce/ForceFields.hpp"
8 > #include "brains/Thermo.hpp"
9 > #include "io/ReadWrite.hpp"
10 > #include "integrators/Integrator.hpp"
11 > #include "utils/simError.h"
12  
13   #ifdef IS_MPI
14 < #include "mpiSimulation.hpp"
14 > #include "brains/mpiSimulation.hpp"
15   #endif
16  
17  
# 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