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

void spPrint (char *eMatrix, int PrintReordered, int Data, int Header)
 
int spFileMatrix (char *eMatrix, char *File, char *Label, int Reordered, int Data, int Header)
 
int spFileVector (eMatrix, File, RHS IMAG_RHS) char *eMatrix
 
FILE * fopen ()
 
 if ((pMatrixFile=fopen(File,"a"))==NULL)
 
int spFileStats (char *eMatrix, char *File, char *Label)
 

Variables

static char copyright []
 
static char RCSid []
 
int * File
 
RealVector RHS IMAG_RHS
 
register int I
 
register int Size
 
register int Err
 
FILE * pMatrixFile
 
 else
 
 return
 

Macro Definition Documentation

◆ spINSIDE_SPARSE

#define spINSIDE_SPARSE

Definition at line 62 of file spoutput.c.

Function Documentation

◆ fopen()

FILE* fopen ( )

◆ if()

if ( (pMatrixFile=fopen(File,"a"))  = NULL)

Definition at line 580 of file spoutput.c.

◆ spFileMatrix()

int spFileMatrix ( char *  eMatrix,
char *  File,
char *  Label,
int  Reordered,
int  Data,
int  Header 
)

Definition at line 411 of file spoutput.c.

◆ spFileStats()

int spFileStats ( char *  eMatrix,
char *  File,
char *  Label 
)

Definition at line 687 of file spoutput.c.

◆ spFileVector()

int spFileVector ( eMatrix  ,
File  ,
RHS  IMAG_RHS 
)

◆ spPrint()

void spPrint ( char *  eMatrix,
int  PrintReordered,
int  Data,
int  Header 
)

Definition at line 144 of file spoutput.c.

Variable Documentation

◆ copyright

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

Definition at line 41 of file spoutput.c.

◆ else

else
Initial value:
{ for (I = 1; I <= Size; I++)
{ if (fprintf(pMatrixFile, "%-.15lg\n", (double)RHS[I]) < 0)
return 0;
}
}
if (fclose(pMatrixFile) < 0) return 0
#define RHS(i)
Definition: multisplit.cpp:66
#define fprintf
Definition: mwprefix.h:30
register int Size
Definition: spoutput.c:572
register int I
Definition: spoutput.c:570
FILE * pMatrixFile
Definition: spoutput.c:573

Definition at line 627 of file spoutput.c.

◆ Err

register int Err

Definition at line 572 of file spoutput.c.

◆ File

int * File

Definition at line 568 of file spoutput.c.

◆ I

register int I
Initial value:
{
struct MatrixFrame * MatrixPtr
Definition: spdefs.h:880
MatrixPtr Matrix
Definition: sputils.c:601

Definition at line 572 of file spoutput.c.

◆ IMAG_RHS

RealVector RHS IMAG_RHS

Definition at line 569 of file spoutput.c.

◆ pMatrixFile

FILE* pMatrixFile

Definition at line 573 of file spoutput.c.

◆ RCSid

char RCSid[]
static
Initial value:
=
"$Header$"

Definition at line 43 of file spoutput.c.

◆ return

return

Definition at line 639 of file spoutput.c.

◆ Size

register int Size

Definition at line 572 of file spoutput.c.