![]() |
User Guide
|
Information required to print LONGITUDINAL_DIFFUSION callbacks. More...
Information required to print LONGITUDINAL_DIFFUSION callbacks.
Definition at line 290 of file codegen_info.hpp.
#include <codegen_info.hpp>
Public Member Functions | |
| LongitudinalDiffusionInfo (const std::shared_ptr< ast::Name > &index_name, std::shared_ptr< ast::Expression > volume_expr, const std::shared_ptr< ast::Name > &rate_index_name, std::shared_ptr< ast::Expression > rate_expr) | |
| std::shared_ptr< ast::Expression > | volume (const std::string &index_name) const |
| Volume of this species. More... | |
| std::shared_ptr< ast::Expression > | diffusion_rate (const std::string &index_name) const |
| Difusion rate of this species. More... | |
| double | dfcdc (const std::string &) const |
The value of what NEURON calls dfcdc. More... | |
Protected Member Functions | |
| std::shared_ptr< ast::Expression > | substitute_index (const std::string &index_name, const std::string &old_index_name, const std::shared_ptr< ast::Expression > &old_expr) const |
Private Attributes | |
| std::string | volume_index_name |
| std::shared_ptr< ast::Expression > | volume_expr |
| std::string | rate_index_name |
| std::shared_ptr< ast::Expression > | rate_expr |
| nmodl::codegen::LongitudinalDiffusionInfo::LongitudinalDiffusionInfo | ( | const std::shared_ptr< ast::Name > & | index_name, |
| std::shared_ptr< ast::Expression > | volume_expr, | ||
| const std::shared_ptr< ast::Name > & | rate_index_name, | ||
| std::shared_ptr< ast::Expression > | rate_expr | ||
| ) |
Definition at line 22 of file codegen_info.cpp.
| double nmodl::codegen::LongitudinalDiffusionInfo::dfcdc | ( | const std::string & | ) | const |
The value of what NEURON calls dfcdc.
Definition at line 41 of file codegen_info.cpp.
| std::shared_ptr< ast::Expression > nmodl::codegen::LongitudinalDiffusionInfo::diffusion_rate | ( | const std::string & | index_name | ) | const |
Difusion rate of this species.
If the diffusion expression is an indexed expression, the index in the expression is substituted with index_name.
Definition at line 36 of file codegen_info.cpp.
|
protected |
Definition at line 48 of file codegen_info.cpp.
| std::shared_ptr< ast::Expression > nmodl::codegen::LongitudinalDiffusionInfo::volume | ( | const std::string & | index_name | ) | const |
Volume of this species.
If the volume expression is an indexed expression, the index in the expression is substituted with index_name.
Definition at line 32 of file codegen_info.cpp.
|
private |
Definition at line 322 of file codegen_info.hpp.
|
private |
Definition at line 321 of file codegen_info.hpp.
|
private |
Definition at line 319 of file codegen_info.hpp.
|
private |
Definition at line 318 of file codegen_info.hpp.