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
DatumIndices
Definition:
datum_indices.h:9
DatumIndices::ion_type
int * ion_type
Definition:
datum_indices.h:15
DatumIndices::ion_index
int * ion_index
Definition:
datum_indices.h:16
DatumIndices::~DatumIndices
virtual ~DatumIndices()
Definition:
datum_indices.cpp:8
DatumIndices::type
int type
Definition:
datum_indices.h:13
DatumIndices::DatumIndices
DatumIndices()
Definition:
datum_indices.cpp:3
src
nrniv
nrncore_write
data
datum_indices.h