MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ConcChanInfo.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) 2003-2012 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 
10 #ifndef _CONC_CHAN_INFO_H
11 #define _CONC_CHAN_INFO_H
12 
16 {
17  public:
18  ConcChanInfo();
19  ConcChanInfo( unsigned int my, unsigned int other,
20  unsigned int chan, double perm, bool isSwapped )
21  : myPool( my ), otherPool( other ), chanPool( chan ),
22  swapped( isSwapped ),
23  permeability( perm )
24  {;}
25 
26  unsigned int myPool;
27  unsigned int otherPool;
28  unsigned int chanPool;
29  bool swapped; // Flag records whether myPool/otherPool are
30  // swapped wrt inPool/outPool. System expects
31  // that inPool should be in same compt as chanPool.
32  double permeability;
33 };
34 
35 #endif // _CONC_CHAN_INFO_H
unsigned int chanPool
Definition: ConcChanInfo.h:28
unsigned int otherPool
Definition: ConcChanInfo.h:27
ConcChanInfo(unsigned int my, unsigned int other, unsigned int chan, double perm, bool isSwapped)
Definition: ConcChanInfo.h:19
double permeability
Definition: ConcChanInfo.h:32
unsigned int myPool
Definition: ConcChanInfo.h:26