![]() |
NEURON
|
Base class defining the public API of Node handles. More...
#include <node.hpp>
Public Types | |
using | base_type = handle_base< Identifier > |
Public Member Functions | |
field::AboveDiagonal::type & | a () |
Return the above-diagonal element. More... | |
field::AboveDiagonal::type const & | a () const |
Return the above-diagonal element. More... | |
field::Area::type & | area () |
Return the area. More... | |
field::Area::type const & | area () const |
Return the area. More... | |
field::Area::type & | area_hack () |
This is a workaround for area sometimes being a macro. More... | |
field::Area::type const & | area_hack () const |
This is a workaround for area sometimes being a macro. More... | |
data_handle< field::Area::type > | area_handle () |
Return a data_handle to the area. More... | |
field::BelowDiagonal::type & | b () |
Return the below-diagonal element. More... | |
field::BelowDiagonal::type const & | b () const |
Return the below-diagonal element. More... | |
field::Diagonal::type & | d () |
Return the diagonal element. More... | |
field::Diagonal::type const & | d () const |
Return the diagonal element. More... | |
field::Voltage::type & | v () |
Return the membrane potential. More... | |
field::Voltage::type const & | v () const |
Return the membrane potential. More... | |
data_handle< field::Voltage::type > | v_handle () |
Return a handle to the membrane potential. More... | |
field::Voltage::type & | v_hack () |
This is a workaround for v sometimes being a macro. More... | |
field::Voltage::type const & | v_hack () const |
This is a workaround for v sometimes being a macro. More... | |
field::RHS::type & | rhs () |
Return the right hand side of the Hines solver. More... | |
field::RHS::type const & | rhs () const |
Return the right hand side of the Hines solver. More... | |
data_handle< field::RHS::type > | rhs_handle () |
Return a handle to the right hand side of the Hines solver. More... | |
field::FastIMemSavRHS::type & | sav_d () |
field::FastIMemSavRHS::type const & | sav_d () const |
field::FastIMemSavRHS::type & | sav_rhs () |
field::FastIMemSavRHS::type const & | sav_rhs () const |
data_handle< field::FastIMemSavRHS::type > | sav_rhs_handle () |
![]() | |
handle_base (Identifier identifier) | |
Construct a handle from an identifier. More... | |
std::size_t | current_row () const |
Return current offset in the underlying storage where this object lives. More... | |
non_owning_identifier_without_container | id () const |
Obtain a lightweight identifier of the current entry. More... | |
auto | id_hack () const |
This is a workaround for id sometimes being a macro. More... | |
auto & | underlying_storage () |
Obtain a reference to the storage this handle refers to. More... | |
auto const & | underlying_storage () const |
Obtain a const reference to the storage this handle refers to. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, handle_interface const &handle) |
Additional Inherited Members | |
![]() | |
template<typename Tag > | |
auto | get_handle () |
Get a data_handle<T> referring to the given field inside this handle. More... | |
template<typename Tag > | |
auto | get_handle (int field_index, int array_offset=0) |
Get a data_handle<T> referring to the (runtime) field_index-th copy of a given (static) field. More... | |
template<typename Tag > | |
auto & | get () |
template<typename Tag > | |
auto const & | get () const |
template<typename Tag > | |
constexpr Tag const & | get_tag () const |
Get the instance of the given tag type from underlying storage. More... | |
template<typename Tag > | |
auto & | get (int field_index, int array_offset=0) |
template<typename Tag > | |
auto const & | get (int field_index, int array_offset=0) const |
Base class defining the public API of Node handles.
Identifier | The concrete owning/non-owning identifier type. |
This allows the same struct-like accessors (v(), ...) to be used on all of the different types of objects that represent a single Node:
using neuron::container::Node::handle_interface< Identifier >::base_type = handle_base<Identifier> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return a data_handle to the area.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |