Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ChemicalTimeSeriesData Class Reference

#include <ChemicalTimeSeriesData.h>

Inheritance diagram for ChemicalTimeSeriesData:

Inheritance graph
[legend]
Collaboration diagram for ChemicalTimeSeriesData:

Collaboration graph
[legend]
List of all members.

Public Methods

 ChemicalTimeSeriesData (ReactionNetwork *reactionNetwork, std::string fileName)
 ChemicalTimeSeriesData (ReactionNetwork *reactionNetwork)
virtual ~ChemicalTimeSeriesData ()
std::vector< DataPoint * > GetTimeSeries (int chemIndex)
std::vector< TimeVectorPoint * > GetTimeVector ()
void AttachNewTimeSeries (ReactionNetwork *reactionNetwork, std::string fileName)
void SortChemTimeSeriesData ()
void SortTimeVector ()
void TimeVectorSynchronize ()
double GetNextDataTime (double time)
double GetLatestDataTime ()
int GetNDataPoints ()
int GetNTimeSeries ()
int GetNChemicals ()

Private Attributes

int nChem
int nTimeSeries
std::string m_sUnits
std::vector< TimeVectorPoint * > timeVector
vvpDataPoint chemData

Constructor & Destructor Documentation

ChemicalTimeSeriesData::ChemicalTimeSeriesData ReactionNetwork   reactionNetwork,
std::string    fileName
 

Definition at line 38 of file ChemicalTimeSeriesData.cpp.

References chemData, DataPoint::DataPoint, ReactionNetwork::GetChemical, Chemical::GetName, ReactionNetwork::GetNumberOfChemicals, nChem, nTimeSeries, SortChemTimeSeriesData, and TimeVectorSynchronize.

ChemicalTimeSeriesData::ChemicalTimeSeriesData ReactionNetwork   reactionNetwork
 

Definition at line 15 of file ChemicalTimeSeriesData.cpp.

References chemData, ReactionNetwork::GetNumberOfChemicals, and nChem.

ChemicalTimeSeriesData::~ChemicalTimeSeriesData   [virtual]
 

Definition at line 186 of file ChemicalTimeSeriesData.cpp.

References chemData, nChem, and timeVector.


Member Function Documentation

void ChemicalTimeSeriesData::AttachNewTimeSeries ReactionNetwork   reactionNetwork,
std::string    fileName
 

Definition at line 109 of file ChemicalTimeSeriesData.cpp.

References chemData, DataPoint::DataPoint, ReactionNetwork::GetChemical, Chemical::GetName, ReactionNetwork::GetNumberOfChemicals, nChem, nTimeSeries, SortChemTimeSeriesData, and TimeVectorSynchronize.

Referenced by Experiment::ReadData.

double ChemicalTimeSeriesData::GetLatestDataTime  
 

Definition at line 280 of file ChemicalTimeSeriesData.cpp.

References SortTimeVector, and timeVector.

Referenced by SingleNetworkMinimizable::ComputeResiduals, and SingleNetworkMinimizable::Initialize.

int ChemicalTimeSeriesData::GetNChemicals  
 

Definition at line 238 of file ChemicalTimeSeriesData.cpp.

References nChem.

Referenced by GnuPlotterTimeSeriesSharedBFactorObserver::Update, GnuPlotterTimeSeriesObserver::Update, and GnuPlotterEnsembleDataDirectorObserver::Update.

int ChemicalTimeSeriesData::GetNDataPoints  
 

Definition at line 228 of file ChemicalTimeSeriesData.cpp.

References timeVector.

Referenced by SingleNetworkMinimizable::Initialize.

double ChemicalTimeSeriesData::GetNextDataTime double    time
 

Definition at line 243 of file ChemicalTimeSeriesData.cpp.

References timeVector.

int ChemicalTimeSeriesData::GetNTimeSeries  
 

Definition at line 233 of file ChemicalTimeSeriesData.cpp.

References nTimeSeries.

Referenced by GnuPlotterTimeSeriesSharedBFactorObserver::Update, GnuPlotterTimeSeriesObserver::Update, and GnuPlotterEnsembleDataDirectorObserver::Update.

std::vector< DataPoint * > ChemicalTimeSeriesData::GetTimeSeries int    chemIndex
 

Definition at line 203 of file ChemicalTimeSeriesData.cpp.

References chemData.

Referenced by SingleNetworkMinimizable::ComputeResiduals, SingleNetworkMinimizable::Initialize, GnuPlotterTimeSeriesSharedBFactorObserver::Update, GnuPlotterTimeSeriesObserver::Update, and GnuPlotterEnsembleDataDirectorObserver::Update.

std::vector<TimeVectorPoint *> ChemicalTimeSeriesData::GetTimeVector   [inline]
 

Definition at line 36 of file ChemicalTimeSeriesData.h.

References timeVector.

Referenced by SingleNetworkMinimizable::ComputeResiduals.

void ChemicalTimeSeriesData::SortChemTimeSeriesData  
 

Definition at line 208 of file ChemicalTimeSeriesData.cpp.

References chemData, and nChem.

Referenced by AttachNewTimeSeries, and ChemicalTimeSeriesData.

void ChemicalTimeSeriesData::SortTimeVector  
 

Definition at line 221 of file ChemicalTimeSeriesData.cpp.

References timeVector.

Referenced by GetLatestDataTime, and TimeVectorSynchronize.

void ChemicalTimeSeriesData::TimeVectorSynchronize  
 

Definition at line 164 of file ChemicalTimeSeriesData.cpp.

References chemData, nChem, SortTimeVector, and timeVector.

Referenced by AttachNewTimeSeries, and ChemicalTimeSeriesData.


Member Data Documentation

vvpDataPoint ChemicalTimeSeriesData::chemData [private]
 

Definition at line 56 of file ChemicalTimeSeriesData.h.

Referenced by AttachNewTimeSeries, ChemicalTimeSeriesData, GetTimeSeries, SortChemTimeSeriesData, TimeVectorSynchronize, and ~ChemicalTimeSeriesData.

std::string ChemicalTimeSeriesData::m_sUnits [private]
 

Definition at line 54 of file ChemicalTimeSeriesData.h.

int ChemicalTimeSeriesData::nChem [private]
 

Definition at line 50 of file ChemicalTimeSeriesData.h.

Referenced by AttachNewTimeSeries, ChemicalTimeSeriesData, GetNChemicals, SortChemTimeSeriesData, TimeVectorSynchronize, and ~ChemicalTimeSeriesData.

int ChemicalTimeSeriesData::nTimeSeries [private]
 

Definition at line 51 of file ChemicalTimeSeriesData.h.

Referenced by AttachNewTimeSeries, ChemicalTimeSeriesData, and GetNTimeSeries.

std::vector<TimeVectorPoint *> ChemicalTimeSeriesData::timeVector [private]
 

Definition at line 55 of file ChemicalTimeSeriesData.h.

Referenced by GetLatestDataTime, GetNDataPoints, GetNextDataTime, GetTimeVector, SortTimeVector, TimeVectorSynchronize, and ~ChemicalTimeSeriesData.


The documentation for this class was generated from the following files:
Generated on Mon Nov 3 10:03:00 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002