NEURON
neuron::cache::Mechanism Struct Reference

#include <model_data.hpp>

Public Attributes

std::vector< double *const * > pdata_ptr_cache {}
 Raw pointers into pointer data for use during simulation. More...
 
std::vector< std::vector< double * > > pdata {}
 
std::vector< std::vector< Datum * > > pdata_hack {}
 

Detailed Description

Definition at line 13 of file model_data.hpp.

Member Data Documentation

◆ pdata

std::vector<std::vector<double*> > neuron::cache::Mechanism::pdata {}

Definition at line 22 of file model_data.hpp.

◆ pdata_hack

std::vector<std::vector<Datum*> > neuron::cache::Mechanism::pdata_hack {}

Definition at line 23 of file model_data.hpp.

◆ pdata_ptr_cache

std::vector<double* const*> neuron::cache::Mechanism::pdata_ptr_cache {}

Raw pointers into pointer data for use during simulation.

pdata_ptr_cache contains pointers to the start of the storage for each pdata variable that is flattened into the pdata member of this struct, and nullptr elsewhere. Compared to using pdata directly this avoids exposing details such as the container used.

Definition at line 21 of file model_data.hpp.


The documentation for this struct was generated from the following file: