NEURON
spbuild.c File Reference
#include "spconfig.h"
#include "spmatrix.h"
#include "spdefs.h"

Go to the source code of this file.

Macros

#define spINSIDE_SPARSE
 

Functions

static void Translate ()
 
static void EnlargeMatrix ()
 
static void ExpandTranslationArrays ()
 
void spClear (char *eMatrix)
 
RealNumberspGetElement (char *eMatrix, int Row, int Col)
 
ElementPtr spcFindElementInCol (MatrixPtr Matrix, ElementPtr *LastAddr, int Row, int Col, BOOLEAN CreateIfMissing)
 
static void Translate (MatrixPtr Matrix, int *Row, int *Col)
 
int spGetAdmittance (char *Matrix, int Node1, int Node2, struct spTemplate *Template)
 
int spGetQuad (char *Matrix, int Row1, int Row2, int Col1, int Col2, struct spTemplate *Template)
 
int spGetOnes (char *Matrix, int Pos, int Neg, int Eqn, struct spTemplate *Template)
 
ElementPtr spcCreateElement (MatrixPtr Matrix, int Row, int Col, ElementPtr *LastAddr, BOOLEAN Fillin)
 
void spcLinkRows (MatrixPtr Matrix)
 
static void EnlargeMatrix (MatrixPtr Matrix, int NewSize)
 
static void ExpandTranslationArrays (MatrixPtr Matrix, int NewSize)
 

Variables

static char copyright []
 
static char RCSid []
 

Macro Definition Documentation

◆ spINSIDE_SPARSE

#define spINSIDE_SPARSE

Definition at line 72 of file spbuild.c.

Function Documentation

◆ EnlargeMatrix() [1/2]

static void EnlargeMatrix ( )
static

◆ EnlargeMatrix() [2/2]

static void EnlargeMatrix ( MatrixPtr  Matrix,
int  NewSize 
)
static

Definition at line 920 of file spbuild.c.

◆ ExpandTranslationArrays() [1/2]

static void ExpandTranslationArrays ( )
static

◆ ExpandTranslationArrays() [2/2]

static void ExpandTranslationArrays ( MatrixPtr  Matrix,
int  NewSize 
)
static

Definition at line 1009 of file spbuild.c.

◆ spcCreateElement()

ElementPtr spcCreateElement ( MatrixPtr  Matrix,
int  Row,
int  Col,
ElementPtr LastAddr,
BOOLEAN  Fillin 
)

Definition at line 723 of file spbuild.c.

◆ spcFindElementInCol()

ElementPtr spcFindElementInCol ( MatrixPtr  Matrix,
ElementPtr LastAddr,
int  Row,
int  Col,
BOOLEAN  CreateIfMissing 
)

Definition at line 300 of file spbuild.c.

◆ spClear()

void spClear ( char *  eMatrix)

Definition at line 101 of file spbuild.c.

◆ spcLinkRows()

void spcLinkRows ( MatrixPtr  Matrix)

Definition at line 869 of file spbuild.c.

◆ spGetAdmittance()

int spGetAdmittance ( char *  Matrix,
int  Node1,
int  Node2,
struct spTemplate Template 
)

Definition at line 490 of file spbuild.c.

◆ spGetElement()

RealNumber* spGetElement ( char *  eMatrix,
int  Row,
int  Col 
)

Definition at line 195 of file spbuild.c.

◆ spGetOnes()

int spGetOnes ( char *  Matrix,
int  Pos,
int  Neg,
int  Eqn,
struct spTemplate Template 
)

Definition at line 653 of file spbuild.c.

◆ spGetQuad()

int spGetQuad ( char *  Matrix,
int  Row1,
int  Row2,
int  Col1,
int  Col2,
struct spTemplate Template 
)

Definition at line 578 of file spbuild.c.

◆ Translate() [1/2]

static void Translate ( )
static

◆ Translate() [2/2]

static void Translate ( MatrixPtr  Matrix,
int *  Row,
int *  Col 
)
static

Definition at line 378 of file spbuild.c.

Variable Documentation

◆ copyright

char copyright[]
static
Initial value:
=
"Sparse1.3: Copyright (c) 1985,86,87,88 by Kenneth S. Kundert"

Definition at line 51 of file spbuild.c.

◆ RCSid

char RCSid[]
static
Initial value:
=
"@(#)$Header$"

Definition at line 53 of file spbuild.c.