00001 // This class includes the data, and a timer and a counter about when the data 00002 // was collected. 00003 00004 #include "QMCExtendedProperties.h" 00005 00006 QMCExtendedProperties::QMCExtendedProperties() 00007 { 00008 zeroOut(); 00009 } 00010 00011 void QMCExtendedProperties::zeroOut() 00012 { 00013 properties.zeroOut(); 00014 startingStep = 0; 00015 equilibrationStopwatch.reset(); 00016 propagationStopwatch.reset(); 00017 } 00018 00019 00020 Stopwatch * QMCExtendedProperties::getEquilibrationStopwatch() 00021 { 00022 return &(this->equilibrationStopwatch); 00023 } 00024 00025 Stopwatch * QMCExtendedProperties::getPropagationStopwatch() 00026 { 00027 return &(this->propagationStopwatch); 00028 } 00029 00030 QMCProperties * QMCExtendedProperties::getProperties() 00031 { 00032 return &properties; 00033 } 00034 00035 long QMCExtendedProperties::getStartingStep() 00036 { 00037 return startingStep; 00038 } 00039 00040 void QMCExtendedProperties::setStartingStep(long i) 00041 { 00042 startingStep = i; 00043 } 00044 00045 00046