00001 // ReactionMover.cpp: implementation of the CReactionMover class. 00002 // 00004 00005 #ifdef _WINDOWS 00006 #include "stdafx.h" 00007 #endif 00008 00009 #include "ReactionMover.h" 00010 #include <fstream> 00011 #include <iostream> 00012 00013 00015 // Construction/Destruction 00017 00018 CReactionMover::CReactionMover() 00019 { 00020 00021 } 00022 00023 00024 CReactionMover::CReactionMover(int seed, double frequency) 00025 { 00026 this->m_iSeed = seed; 00027 this->m_dFrequency = frequency; 00028 } 00029 00030 CReactionMover::~CReactionMover() 00031 { 00032 00033 } 00034 00035 bool CReactionMover::MoveTimeIsZero(double deltaTime) 00036 { 00037 if(deltaTime == 0.0) 00038 { 00039 return true; 00040 } 00041 else 00042 { 00043 return false; 00044 } 00045 } 00046 00047 void CReactionMover::ResetStepStatistics(double interval) 00048 { 00049 this->SetMinStepSize(interval); 00050 this->SetMaxStepSize(0.0); 00051 this->m_iTotalStepsTaken = 0; 00052 }