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

Go to the source code of this file.

Macros

#define spINSIDE_SPARSE
 

Functions

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

Macro Definition Documentation

◆ spINSIDE_SPARSE

#define spINSIDE_SPARSE

Definition at line 56 of file spbuild.cpp.

Function Documentation

◆ EnlargeMatrix()

static void EnlargeMatrix ( MatrixPtr  Matrix,
int  NewSize 
)
static

Definition at line 648 of file spbuild.cpp.

◆ spcCreateElement()

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

Definition at line 487 of file spbuild.cpp.

◆ spcFindElementInCol()

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

Definition at line 232 of file spbuild.cpp.

◆ spcGetElement()

ElementPtr spcGetElement ( MatrixPtr  Matrix)

Definition at line 265 of file spalloc.cpp.

◆ spcGetFillin()

ElementPtr spcGetFillin ( MatrixPtr  Matrix)

Definition at line 371 of file spalloc.cpp.

◆ spClear()

void spClear ( char *  eMatrix)

Definition at line 82 of file spbuild.cpp.

◆ spcLinkRows()

void spcLinkRows ( MatrixPtr  Matrix)

Definition at line 608 of file spbuild.cpp.

◆ spGetAdmittance()

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

Definition at line 294 of file spbuild.cpp.

◆ spGetElement()

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

Definition at line 151 of file spbuild.cpp.

◆ spGetOnes()

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

Definition at line 429 of file spbuild.cpp.

◆ spGetQuad()

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

Definition at line 368 of file spbuild.cpp.