LinearModelAddition Class Reference

#include <linmod.h>

Collaboration diagram for LinearModelAddition:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LinearModelAddition (Matrix *c, Matrix *g, Vect *y, Vect *y0, Vect *b, int nnode, Node **nodes, Vect *elayer=nil)
virtual ~LinearModelAddition ()
int extra_eqn_count ()
void alloc (int)
void lmafree ()
void init ()
void lhs ()
void rhs ()
void dkmap (double **, double **)
void dkres (double *, double *, double *)
void dkpsol (double)
void update ()

Private Member Functions

void v2y ()

Private Attributes

MatrixMapc_
MatrixMapg_
Vect * b_
Vect * y_
Vect * y0_
int nnode_
Node ** nodes_
int size_
int start_
intbmap_
Vect * gy_
Vect * cyp_
Vect * ytmp_
Vect * yptmp_
intelayer_

Constructor & Destructor Documentation

LinearModelAddition::LinearModelAddition ( Matrix *  c,
Matrix *  g,
Vect *  y,
Vect *  y0,
Vect *  b,
int  nnode,
Node **  nodes,
Vect *  elayer = nil 
)

References b_, bmap_, c_, cyp_, elayer_, g_, gy_, i, int, nil, nnode_, nodes_, nrn_matrix_node_free(), Vect, y0_, y_, yptmp_, and ytmp_.

Here is the call graph for this function:

LinearModelAddition::~LinearModelAddition (  )  [virtual]

References c_, cyp_, elayer_, g_, gy_, i, lmafree(), nrn_matrix_node_free(), yptmp_, and ytmp_.

Here is the call graph for this function:


Member Function Documentation

void LinearModelAddition::alloc ( int  start_index  ) 

References MatrixMap::alloc(), assert, b_, bmap_, c_, cyp_, elayer_, Node::eqn_index_, extnode, g_, gy_, i, MatrixMap::m_, nnode_, nodes_, size_, start_, y0_, y_, yptmp_, and ytmp_.

Referenced by linmod_alloc().

Here is the call graph for this function:

void LinearModelAddition::dkmap ( double **  pv,
double **  pvdot 
)

References NrnThread::_actual_rhs, bmap_, i, nnode_, nrn_threads, size_, and y_.

Referenced by linmod_dkmap().

void LinearModelAddition::dkpsol ( double  cj  ) 

References MatrixMap::add(), c_, and g_.

Referenced by linmod_dkpsol().

Here is the call graph for this function:

void LinearModelAddition::dkres ( double *  y,
double *  yprime,
double *  delta 
)

References b_, bmap_, c_, cyp_, MatrixMap::m_, size_, and yptmp_.

Referenced by linmod_dkres().

int LinearModelAddition::extra_eqn_count (  ) 

References g_, MatrixMap::m_, and nnode_.

Referenced by linmod_alloc(), and linmod_extra_eqn_count().

void LinearModelAddition::init (  ) 

References i, nnode_, size_, v2y(), y0_, and y_.

Referenced by linmod_init().

Here is the call graph for this function:

void LinearModelAddition::lhs (  ) 

References MatrixMap::add(), c_, g_, and nrn_threads.

Referenced by linmod_lhs().

Here is the call graph for this function:

void LinearModelAddition::lmafree (  ) 

References bmap_, c_, g_, and MatrixMap::mmfree().

Referenced by ~LinearModelAddition().

Here is the call graph for this function:

void LinearModelAddition::rhs (  ) 

References NrnThread::_actual_rhs, b_, bmap_, g_, gy_, i, MatrixMap::m_, nrn_threads, size_, v2y(), and y_.

Referenced by linmod_rhs().

Here is the call graph for this function:

void LinearModelAddition::update (  ) 

References NrnThread::_actual_rhs, bmap_, nrn_threads, size_, and y_.

Referenced by linmod_update().

void LinearModelAddition::v2y (  )  [private]

References elayer_, i, nd, nnode_, nodes_, NODEV, and y_.

Referenced by init(), and rhs().


Member Data Documentation

Vect* LinearModelAddition::b_ [private]

Referenced by alloc(), dkres(), LinearModelAddition(), and rhs().

Vect * LinearModelAddition::cyp_ [private]
Vect* LinearModelAddition::gy_ [private]

Referenced by alloc(), LinearModelAddition(), and v2y().

Referenced by alloc(), dkmap(), dkres(), init(), rhs(), and update().

Referenced by alloc().

Vect* LinearModelAddition::y0_ [private]

Referenced by alloc(), init(), and LinearModelAddition().

Vect* LinearModelAddition::y_ [private]
Vect * LinearModelAddition::yptmp_ [private]
Vect* LinearModelAddition::ytmp_ [private]

The documentation for this class was generated from the following files:
Generated on Mon Jun 13 08:10:31 2011 for NEURON by  doxygen 1.6.3