NEURON
spalloc.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

static void InitializeElementBlocks (MatrixPtr Matrix, int InitialNumberOfElements, int NumberOfFillinsExpected)
 
static void RecordAllocation (MatrixPtr Matrix, char *AllocatedPtr)
 
static void AllocateBlockOfAllocationList (MatrixPtr Matrix)
 
char * spCreate (int Size, BOOLEAN Complex, int *pError)
 
ElementPtr spcGetElement (MatrixPtr Matrix)
 
ElementPtr spcGetFillin (MatrixPtr Matrix)
 
void spDestroy (char *eMatrix)
 
int spError (char *eMatrix)
 
void spWhereSingular (char *eMatrix, int *pRow, int *pCol)
 
int spGetSize (char *eMatrix, BOOLEAN External)
 
void spSetReal (char *eMatrix)
 
int spFillinCount (char *eMatrix)
 
int spElementCount (char *eMatrix)
 

Macro Definition Documentation

◆ spINSIDE_SPARSE

#define spINSIDE_SPARSE

Definition at line 59 of file spalloc.cpp.

Function Documentation

◆ AllocateBlockOfAllocationList()

static void AllocateBlockOfAllocationList ( MatrixPtr  Matrix)
static

Definition at line 482 of file spalloc.cpp.

◆ InitializeElementBlocks()

static void InitializeElementBlocks ( MatrixPtr  Matrix,
int  InitialNumberOfElements,
int  NumberOfFillinsExpected 
)
static

Definition at line 316 of file spalloc.cpp.

◆ RecordAllocation()

static void RecordAllocation ( MatrixPtr  Matrix,
char *  AllocatedPtr 
)
static

Definition at line 437 of file spalloc.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.

◆ spCreate()

char* spCreate ( int  Size,
BOOLEAN  Complex,
int *  pError 
)

Definition at line 105 of file spalloc.cpp.

◆ spDestroy()

void spDestroy ( char *  eMatrix)

Definition at line 533 of file spalloc.cpp.

◆ spElementCount()

int spElementCount ( char *  eMatrix)

Definition at line 686 of file spalloc.cpp.

◆ spError()

int spError ( char *  eMatrix)

Definition at line 580 of file spalloc.cpp.

◆ spFillinCount()

int spFillinCount ( char *  eMatrix)

Definition at line 678 of file spalloc.cpp.

◆ spGetSize()

int spGetSize ( char *  eMatrix,
BOOLEAN  External 
)

Definition at line 638 of file spalloc.cpp.

◆ spSetReal()

void spSetReal ( char *  eMatrix)

Definition at line 658 of file spalloc.cpp.

◆ spWhereSingular()

void spWhereSingular ( char *  eMatrix,
int *  pRow,
int *  pCol 
)

Definition at line 607 of file spalloc.cpp.