MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MarkovRateTable.cpp File Reference
#include <iomanip>
#include "header.h"
#include "VectorTable.h"
#include "../builtins/Interpol2D.h"
#include "MarkovRateTable.h"
+ Include dependency graph for MarkovRateTable.cpp:

Go to the source code of this file.

Functions

static SrcFinfo1< vector
< vector< double > > > * 
instRatesOut ()
 
istream & operator>> (istream &in, MarkovRateTable &rateTable)
 

Variables

static const CinfoMarkovRateTableCinfo = MarkovRateTable::initCinfo()
 

Function Documentation

static SrcFinfo1< vector< vector< double > > >* instRatesOut ( )
static

Definition at line 17 of file MarkovRateTable.cpp.

Referenced by MarkovRateTable::initCinfo(), MarkovRateTable::process(), and MarkovRateTable::reinit().

18 {
20  "instratesOut",
21  "Sends out instantaneous rate information of varying transition rates"
22  "at each time step.");
23 
24  return &instRatesOut;
25 }
static SrcFinfo1< vector< vector< double > > > * instRatesOut()

+ Here is the caller graph for this function:

istream& operator>> ( istream &  in,
MarkovRateTable rateTable 
)

Definition at line 568 of file MarkovRateTable.cpp.

References MarkovRateTable::int2dTables_, MarkovRateTable::isRate1d(), MarkovRateTable::isRate2d(), MarkovRateTable::ligandConc_, MarkovRateTable::size_, MarkovRateTable::useLigandConc_, MarkovRateTable::Vm_, and MarkovRateTable::vtTables_.

569 {
570  for ( unsigned int i = 0; i < rateTable.size_; ++i )
571  {
572  for ( unsigned int j = 0; j < rateTable.size_; ++j )
573  {
574  if ( rateTable.isRate1d( i, j ) )
575  in >> *rateTable.vtTables_[i][j];
576  }
577  }
578 
579  for ( unsigned int i = 0; i < rateTable.size_; ++i )
580  {
581  for ( unsigned int j = 0; j < rateTable.size_; ++j )
582  {
583  if ( rateTable.isRate2d( i, j ) )
584  in >> *rateTable.int2dTables_[i][j];
585  }
586  }
587 
588  for ( unsigned int i = 0; i < rateTable.size_; ++i )
589  {
590  for ( unsigned int j = 0; j < rateTable.size_; ++j )
591  in >> rateTable.useLigandConc_[i][j];
592  }
593  in >> rateTable.Vm_;
594  in >> rateTable.ligandConc_;
595  in >> rateTable.size_;
596 
597  return in;
598 }
vector< vector< Interpol2D * > > int2dTables_
unsigned int size_
bool isRate1d(unsigned int, unsigned int) const
vector< vector< VectorTable * > > vtTables_
bool isRate2d(unsigned int, unsigned int) const
vector< vector< unsigned int > > useLigandConc_

+ Here is the call graph for this function:

Variable Documentation

const Cinfo* MarkovRateTableCinfo = MarkovRateTable::initCinfo()
static

Definition at line 168 of file MarkovRateTable.cpp.

Referenced by MarkovRateTable::initCinfo().