NEURON
spalloc.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 InitializeElementBlocks ()
 
static void RecordAllocation ()
 
static void AllocateBlockOfAllocationList ()
 
char * spCreate (int Size, BOOLEAN Complex, int *pError)
 
ElementPtr spcGetElement (MatrixPtr Matrix)
 
static void InitializeElementBlocks (MatrixPtr Matrix, int InitialNumberOfElements, int NumberOfFillinsExpected)
 
ElementPtr spcGetFillin (MatrixPtr Matrix)
 
static void RecordAllocation (MatrixPtr Matrix, char *AllocatedPtr)
 
static void AllocateBlockOfAllocationList (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)
 
void spSetComplex (char *eMatrix)
 
int spFillinCount (char *eMatrix)
 
int spElementCount (char *eMatrix)
 

Variables

static char copyright []
 
static char RCSid []
 

Macro Definition Documentation

◆ spINSIDE_SPARSE

#define spINSIDE_SPARSE

Definition at line 73 of file spalloc.c.

Function Documentation

◆ AllocateBlockOfAllocationList() [1/2]

static void AllocateBlockOfAllocationList ( )
static

◆ AllocateBlockOfAllocationList() [2/2]

static void AllocateBlockOfAllocationList ( MatrixPtr  Matrix)
static

Definition at line 574 of file spalloc.c.

◆ InitializeElementBlocks() [1/2]

static void InitializeElementBlocks ( )
static

◆ InitializeElementBlocks() [2/2]

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

Definition at line 374 of file spalloc.c.

◆ RecordAllocation() [1/2]

static void RecordAllocation ( )
static

◆ RecordAllocation() [2/2]

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

Definition at line 517 of file spalloc.c.

◆ spcGetElement()

ElementPtr spcGetElement ( MatrixPtr  Matrix)

Definition at line 313 of file spalloc.c.

◆ spcGetFillin()

ElementPtr spcGetFillin ( MatrixPtr  Matrix)

Definition at line 440 of file spalloc.c.

◆ spCreate()

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

Definition at line 122 of file spalloc.c.

◆ spDestroy()

void spDestroy ( char *  eMatrix)

Definition at line 635 of file spalloc.c.

◆ spElementCount()

int spElementCount ( char *  eMatrix)

Definition at line 864 of file spalloc.c.

◆ spError()

int spError ( char *  eMatrix)

Definition at line 692 of file spalloc.c.

◆ spFillinCount()

int spFillinCount ( char *  eMatrix)

Definition at line 852 of file spalloc.c.

◆ spGetSize()

int spGetSize ( char *  eMatrix,
BOOLEAN  External 
)

Definition at line 770 of file spalloc.c.

◆ spSetComplex()

void spSetComplex ( char *  eMatrix)

Definition at line 821 of file spalloc.c.

◆ spSetReal()

void spSetReal ( char *  eMatrix)

Definition at line 808 of file spalloc.c.

◆ spWhereSingular()

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

Definition at line 730 of file spalloc.c.

Variable Documentation

◆ copyright

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

Definition at line 53 of file spalloc.c.

◆ RCSid

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

Definition at line 55 of file spalloc.c.