#include <cm_tree.h>
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_ |
| nest::Compartment::Compartment | ( | const long | compartment_index, |
| const long | parent_index ) |
References ca, ca__div__dt, comp_index, compartment_currents, el, ff, gc, gc__div__2, gg, gg0, gl, gl__div__2, gl__times__el, hh, n_passed, p_index, parent, v_comp, xx_, and yy_.
| 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_.
|
inline |
|
inline |
| void nest::Compartment::construct_matrix_element | ( | const long | lag | ) |
matrix construction
References ca__div__dt, children, compartment_currents, currents, ff, gc__div__2, gg, gg0, gl__div__2, gl__times__el, hh, parent, and v_comp.
|
inline |
maxtrix inversion
Referenced by nest::CompTree::solve_matrix_downsweep().
| std::map< std::string, double * > nest::Compartment::get_recordables | ( | ) |
References comp_index, compartment_currents, and v_comp.
|
inline |
| 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.
| double nest::Compartment::ca |
electrical parameters
Referenced by Compartment(), Compartment(), pre_run_hook(), and nest::CompTree::print_tree().
| double nest::Compartment::ca__div__dt |
Referenced by Compartment(), Compartment(), construct_matrix_element(), and pre_run_hook().
| std::vector< Compartment > nest::Compartment::children |
| long nest::Compartment::comp_index |
compartment index
Referenced by nest::CompTree::add_compartment(), Compartment(), Compartment(), nest::CompTree::get_compartment(), get_recordables(), nest::cm_default::get_status(), and nest::CompTree::print_tree().
| CompartmentCurrents nest::Compartment::compartment_currents |
vector for synapses
Referenced by nest::cm_default::add_receptor_(), Compartment(), Compartment(), construct_matrix_element(), get_recordables(), nest::cm_default::get_status(), and pre_run_hook().
| RingBuffer nest::Compartment::currents |
buffer for currents
Referenced by construct_matrix_element(), nest::cm_default::handle(), and pre_run_hook().
| double nest::Compartment::el |
Referenced by Compartment(), Compartment(), pre_run_hook(), and nest::CompTree::print_tree().
| double nest::Compartment::ff |
for numerical integration
Referenced by calc_v(), Compartment(), Compartment(), construct_matrix_element(), and io().
| double nest::Compartment::gc |
Referenced by Compartment(), Compartment(), pre_run_hook(), and nest::CompTree::print_tree().
| double nest::Compartment::gc__div__2 |
Referenced by Compartment(), Compartment(), construct_matrix_element(), and pre_run_hook().
| double nest::Compartment::gg |
Referenced by calc_v(), Compartment(), Compartment(), construct_matrix_element(), and io().
| double nest::Compartment::gg0 |
auxiliary variables for efficienchy
Referenced by Compartment(), Compartment(), construct_matrix_element(), and pre_run_hook().
| double nest::Compartment::gl |
Referenced by Compartment(), Compartment(), pre_run_hook(), and nest::CompTree::print_tree().
| double nest::Compartment::gl__div__2 |
Referenced by Compartment(), Compartment(), construct_matrix_element(), and pre_run_hook().
| double nest::Compartment::gl__times__el |
Referenced by Compartment(), Compartment(), construct_matrix_element(), and pre_run_hook().
| double nest::Compartment::hh |
Referenced by calc_v(), Compartment(), Compartment(), construct_matrix_element(), and io().
| int nest::Compartment::n_passed |
passage counter for recursion
Referenced by Compartment(), Compartment(), and nest::CompTree::solve_matrix_downsweep().
| long nest::Compartment::p_index |
parent compartment index
Referenced by Compartment(), Compartment(), nest::cm_default::get_status(), and nest::CompTree::set_parents().
| Compartment* nest::Compartment::parent |
tree structure indices
Referenced by Compartment(), Compartment(), construct_matrix_element(), nest::CompTree::print_tree(), nest::CompTree::set_parents(), and nest::CompTree::solve_matrix_downsweep().
| double nest::Compartment::v_comp |
voltage variable
Referenced by calc_v(), Compartment(), Compartment(), construct_matrix_element(), and get_recordables().
|
private |
aggragators for numerical integration
Referenced by calc_v(), Compartment(), Compartment(), gather_input(), and io().
|
private |
Referenced by calc_v(), Compartment(), Compartment(), gather_input(), and io().