NEST main@f146f75
Loading...
Searching...
No Matches
nest::Compartment Class Reference

#include <cm_tree.h>

Collaboration diagram for nest::Compartment:
[legend]

Public Member Functions

 Compartment (const long compartment_index, const long parent_index)
 Compartment (const long compartment_index, const long parent_index, const Dictionary &compartment_params)
 ~Compartment ()
void pre_run_hook ()
std::map< std::string, double * > get_recordables ()
void construct_matrix_element (const long lag)
 matrix construction
void gather_input (const std::pair< double, double > &in)
 maxtrix inversion
std::pair< double, double > io ()
double calc_v (const double v_in)

Public Attributes

long comp_index
 compartment index
long p_index
 parent compartment index
Compartment * parent
 tree structure indices
std::vector< Compartment > children
RingBuffer currents
 buffer for currents
double ca
 electrical parameters
double gc
double gl
double el
double v_comp
 voltage variable
double gg0
 auxiliary variables for efficienchy
double ca__div__dt
double gl__div__2
double gc__div__2
double gl__times__el
double ff
 for numerical integration
double gg
double hh
int n_passed
 passage counter for recursion
CompartmentCurrents compartment_currents
 vector for synapses

Private Attributes

double xx_
 aggragators for numerical integration
double yy_

Constructor & Destructor Documentation

◆ Compartment() [1/2]

nest::Compartment::Compartment ( const long compartment_index,
const long parent_index )

◆ Compartment() [2/2]

nest::Compartment::Compartment ( const long compartment_index,
const long parent_index,
const Dictionary & compartment_params )

References Dictionary::all_entries_accessed(), nest::names::C_m(), ca, ca__div__dt, comp_index, compartment_currents, nest::names::e_L(), el, ff, nest::names::g_C(), nest::names::g_L(), gc, gc__div__2, gg, gg0, gl, gl__div__2, gl__times__el, hh, Dictionary::init_access_flags(), n_passed, p_index, parent, Dictionary::update_value(), v_comp, nest::names::v_comp(), xx_, and yy_.

Here is the call graph for this function:

◆ ~Compartment()

nest::Compartment::~Compartment ( )
inline

Member Function Documentation

◆ calc_v()

double nest::Compartment::calc_v ( const double v_in)
inline

References ff, gg, hh, v_comp, xx_, and yy_.

Referenced by nest::CompTree::solve_matrix_upsweep().

Here is the caller graph for this function:

◆ construct_matrix_element()

void nest::Compartment::construct_matrix_element ( const long lag)

◆ gather_input()

void nest::Compartment::gather_input ( const std::pair< double, double > & in)
inline

maxtrix inversion

References xx_, and yy_.

Referenced by nest::CompTree::solve_matrix_downsweep().

Here is the caller graph for this function:

◆ get_recordables()

std::map< std::string, double * > nest::Compartment::get_recordables ( )

◆ io()

std::pair< double, double > nest::Compartment::io ( )
inline

References ff, gg, hh, xx_, and yy_.

Referenced by nest::CompTree::solve_matrix_downsweep().

Here is the caller graph for this function:

◆ pre_run_hook()

void nest::Compartment::pre_run_hook ( )

References ca, ca__div__dt, compartment_currents, currents, el, gc, gc__div__2, nest::Time::get_ms(), nest::Time::get_resolution(), gg0, gl, gl__div__2, and gl__times__el.

Here is the call graph for this function:

Member Data Documentation

◆ ca

double nest::Compartment::ca

electrical parameters

Referenced by Compartment(), Compartment(), pre_run_hook(), and nest::CompTree::print_tree().

◆ ca__div__dt

double nest::Compartment::ca__div__dt

◆ children

◆ comp_index

◆ compartment_currents

◆ currents

RingBuffer nest::Compartment::currents

buffer for currents

Referenced by construct_matrix_element(), nest::cm_default::handle(), and pre_run_hook().

◆ el

double nest::Compartment::el

◆ ff

double nest::Compartment::ff

for numerical integration

Referenced by calc_v(), Compartment(), Compartment(), construct_matrix_element(), and io().

◆ gc

double nest::Compartment::gc

◆ gc__div__2

double nest::Compartment::gc__div__2

◆ gg

double nest::Compartment::gg

◆ gg0

double nest::Compartment::gg0

auxiliary variables for efficienchy

Referenced by Compartment(), Compartment(), construct_matrix_element(), and pre_run_hook().

◆ gl

double nest::Compartment::gl

◆ gl__div__2

double nest::Compartment::gl__div__2

◆ gl__times__el

double nest::Compartment::gl__times__el

◆ hh

double nest::Compartment::hh

◆ n_passed

int nest::Compartment::n_passed

passage counter for recursion

Referenced by Compartment(), Compartment(), and nest::CompTree::solve_matrix_downsweep().

◆ p_index

long nest::Compartment::p_index

◆ parent

◆ v_comp

double nest::Compartment::v_comp

◆ xx_

double nest::Compartment::xx_
private

aggragators for numerical integration

Referenced by calc_v(), Compartment(), Compartment(), gather_input(), and io().

◆ yy_

double nest::Compartment::yy_
private

The documentation for this class was generated from the following files: