solve.c File Reference

#include <../../nrnconf.h>
#include <stdio.h>
#include <math.h>
#include <nrnmpiuse.h>
#include "section.h"
#include "membdef.h"
#include "membfunc.h"
#include "spmatrix.h"
Include dependency graph for solve.c:

Functions

char * secname ()
void prop_free ()
void nrn_node_destruct1 (Node *)
double nrn_connection_position ()
static void bksub (NrnThread *)
double node_dist (Section *sec, Node *node)
double topol_distance (Section *sec1, Node *node1, Section *sec2, Node *node2, Section **prootsec, Node **prootnode)
int distance ()
int topology ()
 dashes (Section *sec, int offset, int first)
void nrn_solve (NrnThread *_nt)
 nrn_clear_mark ()
short nrn_increment_mark (Section *sec)
short nrn_value_mark (Section *sec)
Sectionsec_alloc ()
void sec_free (hoc_Item *secitem)
 section_unref (Section *sec)
 section_ref (Section *sec)
 nrn_sec_ref (Section **psec, Section *sec)
 section_unlink (Section *sec)
Node ** node_construct (int n)
Nodenrn_node_construct1 ()
 node_destruct (Node **pnode, int n)
void node_alloc (Section *sec, short nseg)
void section_order ()
 if (secorder)
 if (section_count)
 ForAllSections (sec)
 for (isec=0;isec< section_count;isec++)
 for (ch=sec->child;ch;ch=ch->sibling)
 assert (order==section_count)

Variables

int tree_changed
void(* nrn_multisplit_solve_ )()
int section_count
Section ** secorder
 order = 0
 sec = secorder[isec]

Function Documentation

assert ( order  = =section_count  ) 
void bksub ( NrnThread _nt  ) 
dashes ( Section sec,
int  offset,
int  first 
)

References Section::child, hoc_objpop(), hoc_pushobj(), i, int, nrn_connection_position(), nrn_section_orientation(), Printf, secname(), and Section::sibling.

Referenced by neuron2nemo(), and topology().

Here is the call graph for this function:

int distance (  ) 

References chk_access(), chkarg(), d, hoc_execerror(), ifarg(), int, node, node_exact(), Section::prop, ret, sec, setup_topology(), topol_distance(), and tree_changed.

Here is the call graph for this function:

for ( ch  = sec->child; ch; ch = ch->sibling  ) 

References Section::order, and order.

for (  ) 

References ForAllSections, fprintf(), hoc_execerror(), Section::order, order, Section::parentsec, and secname().

Here is the call graph for this function:

ForAllSections ( sec   ) 

References Section::order, and order.

if ( section_count   ) 

References emalloc, and section_count.

if ( secorder   ) 
void node_alloc ( Section sec,
short  nseg 
)

References node_construct().

Here is the call graph for this function:

Node** node_construct ( int  n  ) 
node_destruct ( Node**  pnode,
int  n 
)

References nrn_node_destruct1().

Referenced by hoc_register_tolerance().

Here is the call graph for this function:

double node_dist ( Section sec,
Node node 
)

References inode, Node::sec_node_index_, and section_length().

Referenced by topol_distance().

Here is the call graph for this function:

nrn_clear_mark (  ) 

References ForAllSections, and sec.

double nrn_connection_position (  ) 
short nrn_increment_mark ( Section sec  ) 
Node* nrn_node_construct1 (  ) 

References node_construct().

Here is the call graph for this function:

void nrn_node_destruct1 ( Node nd  ) 

References e, NODEAREA, NODEV, notify_freed_val_array(), and prop_free().

Referenced by node_destruct(), and sec_free().

Here is the call graph for this function:

nrn_sec_ref ( Section**  psec,
Section sec 
)

References s, section_ref(), and section_unref().

Referenced by nrn_loc_point_process(), and nrn_relocate_old_points().

Here is the call graph for this function:

void nrn_solve ( NrnThread _nt  ) 

References bksub(), e, err, Fprintf, hoc_execerror(), nrn_multisplit_solve_, nrn_print_matrix(), nrn_thread_error(), and use_sparse13.

Here is the call graph for this function:

short nrn_value_mark ( Section sec  ) 
void prop_free (  ) 

Referenced by nrn_node_destruct1(), and sec_free().

Section* sec_alloc (  ) 
void sec_free ( hoc_Item secitem  ) 
char* secname (  ) 
void section_order (  ) 
section_ref ( Section sec  ) 
section_unlink ( Section sec  ) 

References Section::child, Section::sibling, and tree_changed.

Referenced by sec_free().

section_unref ( Section sec  ) 
double topol_distance ( Section sec1,
Node node1,
Section sec2,
Node node2,
Section **  prootsec,
Node **  prootnode 
)

References d, node_dist(), setup_topology(), and tree_changed.

Referenced by distance().

Here is the call graph for this function:

int topology (  ) 

References dashes(), ITERATE, Section::parentsec, Printf, ret, sec, section_list, v_setup_vectors(), and VOIDITM.

Here is the call graph for this function:


Variable Documentation

order = 0
sec = secorder[isec]

Referenced by nrn_print_matrix().

Generated on Mon Jun 13 08:10:29 2011 for NEURON by  doxygen 1.6.3