![]() |
NEURON
|
#include <linmod.h>
Public Member Functions | |
| LinearModelAddition (Matrix *c, Matrix *g, Vect *y, Vect *y0, Vect *b, int nnode=0, Node **nodes=NULL, Vect *elayer=NULL, Object *f_callable=NULL) | |
| virtual | ~LinearModelAddition () |
Public Member Functions inherited from NrnDAE | |
| int | extra_eqn_count () |
| Find the number of state variables introduced by this object. More... | |
| void | alloc (int start_index) |
| Allocate space for these dynamics in the overall system. More... | |
| void | lhs () |
| Compute the left side portion of. More... | |
| void | rhs () |
| Compute the right side portion of. More... | |
| void | dkres (double *y, double *yprime, double *delta) |
| Compute the residual: More... | |
| void | init () |
| Initialize the dynamics. More... | |
| void | update () |
| Update states to reflect the changes over a time-step. More... | |
| void | dkmap (std::vector< double * > &pv, std::vector< double * > &pvdot) |
| Setup the map between voltages and states in y_. More... | |
| virtual | ~NrnDAE () |
| Destructor. More... | |
Private Member Functions | |
| void | f_ (Vect &y, Vect &yprime, int size) |
| The right-hand-side function. More... | |
| MatrixMap * | jacobian_ (Vect &y) |
| Compute the Jacobian. More... | |
| double | jacobian_multiplier_ () |
| void | alloc_ (int size, int start, int nnode, Node **nodes, int *elayer) |
| Additional allocation for subclasses. More... | |
Private Attributes | |
| MatrixMap * | g_ |
| Vect & | b_ |
| Object * | f_callable_ |
Additional Inherited Members | |
Protected Member Functions inherited from NrnDAE | |
| NrnDAE (Matrix *cmat, Vect *const yvec, Vect *const y0, int nnode, Node **const nodes, Vect *const elayer, void(*f_init)(void *data)=NULL, void *const data=NULL) | |
| Constructor. More... | |
| LinearModelAddition::LinearModelAddition | ( | Matrix * | c, |
| Matrix * | g, | ||
| Vect * | y, | ||
| Vect * | y0, | ||
| Vect * | b, | ||
| int | nnode = 0, |
||
| Node ** | nodes = NULL, |
||
| Vect * | elayer = NULL, |
||
| Object * | f_callable = NULL |
||
| ) |
Definition at line 29 of file linmod.cpp.
|
virtual |
Definition at line 45 of file linmod.cpp.
|
privatevirtual |
Additional allocation for subclasses.
Reimplemented from NrnDAE.
Definition at line 50 of file linmod.cpp.
The right-hand-side function.
| y | the state variables |
| yprime | a vector to store the derivatives |
| size | the number of state variables |
Implements NrnDAE.
Definition at line 58 of file linmod.cpp.
Compute the Jacobian.
| y | the state variables |
Implements NrnDAE.
Definition at line 82 of file linmod.cpp.
|
privatevirtual |
Reimplemented from NrnDAE.
Definition at line 78 of file linmod.cpp.