MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
lookupVolumeFromMesh.h
Go to the documentation of this file.
1 /**********************************************************************
2 ** This program is part of 'MOOSE', the
3 ** Messaging Object Oriented Simulation Environment.
4 ** Copyright (C) 2011 Upinder S. Bhalla. and NCBS
5 ** It is made available under the terms of the
6 ** GNU Lesser General Public License version 2.1
7 ** See the file COPYING.LIB for the full notice.
8 **********************************************************************/
9 #ifndef _LOOKUP_SIZE_FROM_MESH_H
10 #define _LOOKUP_SIZE_FROM_MESH_H
11 
12 
16 extern const double CONC_UNIT_CONV;
17 
22 double lookupVolumeFromMesh( const Eref& e );
23 
29 unsigned int getReactantVols( const Eref& reac, const SrcFinfo* pools,
30  vector< double >& vols );
31 
49 double convertConcToNumRateUsingMesh( const Eref& e, const SrcFinfo* pools,
50  bool doPartialConversion );
51 
64 double convertConcToNumRateUsingVol( const Eref& e, const SrcFinfo* pools,
65  double volume, double scale, bool doPartialConversion );
66 
80 double convertConcToNumRateInTwoCompts( double v1, unsigned int n1,
81  double v2, unsigned int n2, double scale );
82 
87 ObjId getCompt( Id id );
88 
89 #endif // _LOOKUP_SIZE_FROM_MESH_H
double convertConcToNumRateInTwoCompts(double v1, unsigned int n1, double v2, unsigned int n2, double scale)
const double CONC_UNIT_CONV
ObjId getCompt(Id id)
Definition: ObjId.h:20
double convertConcToNumRateUsingVol(const Eref &e, const SrcFinfo *pools, double volume, double scale, bool doPartialConversion)
double lookupVolumeFromMesh(const Eref &e)
Definition: Eref.h:26
unsigned int getReactantVols(const Eref &reac, const SrcFinfo *pools, vector< double > &vols)
Definition: Id.h:17
double convertConcToNumRateUsingMesh(const Eref &e, const SrcFinfo *pools, bool doPartialConversion)