NEURON
datum_indices.h
Go to the documentation of this file.
1 #ifndef NRN_DATUM_INDICES_H
2 #define NRN_DATUM_INDICES_H
3 
4 // assume all Datum.pval point into this cell. In practice, this holds because
5 // they point either to the area or an ion property of the given node.
6 // This is tightly coupled to cache_efficient
7 // NrnThread.NrnThreadMembList.Memb_List.data and pdata and
8 // NrnThread._actual_area
9 class DatumIndices {
10  public:
11  DatumIndices();
12  virtual ~DatumIndices();
13  int type;
14  // ordering as though pdata[i][j] was pdata[0][i*sz+j]
15  int* ion_type; // negative codes semantics, positive codes mechanism type
16  int* ion_index; // index of range variable relative to beginning of that type
17 };
18 
19 #endif // NRN_DATUM_INDICES_H
virtual ~DatumIndices()