Files | |
file | dyn.h |
Class Dyn: dynamics library. | |
Classes | |
struct | sSVio |
Contains public data memebers for the SVio class. More... | |
Typedefs | |
typedef struct sSVio | SVio |
Delcaration of the SVio class as the SVio structure. | |
Functions | |
SVio * | SVio_ctor (void) |
Construct the Vio socket container object. | |
void | SVio_dtor (SVio **vsock) |
Destroy the Vio socket container object. | |
void | SVio_initStructure (SVio *thee, const char *rwkey, const char *iodev, const char *iofmt, const char *iohost, const char *iofile, char *buf, int bufsize, int ptype) |
Initialize the Vio socket container object. | |
int | SVio_bufSize (SVio *thee) |
Return the length of the internal buffer. | |
char * | SVio_bufGive (SVio *thee) |
Return the pointer to the internal buffer. | |
void | SVio_bufTake (SVio *thee, char *buf, int bufsize) |
Set the pointer to the internal buffer. | |
void | Aprx_writeSVio (Aprx *thee, int plabel, Bvec *w0, SVio *vsock) |
Write a finite element mesh or mesh function to a socket. |
Write a finite element mesh or mesh function to a socket.
thee | Pointer to an Aprx allocated memory location | |
plabel | index for printing label | |
w0 | Pointer to the block vector | |
vsock | socket for reading/writing a finite element mesh or mesh function |
char* SVio_bufGive | ( | SVio * | thee | ) |
Return the pointer to the internal buffer.
thee | Pointer to the shell with environment variables |
int SVio_bufSize | ( | SVio * | thee | ) |
Return the length of the internal buffer.
thee | Pointer to the shell with environment variables |
void SVio_bufTake | ( | SVio * | thee, | |
char * | buf, | |||
int | bufsize | |||
) |
Set the pointer to the internal buffer.
thee | Pointer to the shell with environment variables | |
buf | Pointer to BUFF | |
bufsize | size of BUFF |
SVio* SVio_ctor | ( | void | ) |
Construct the Vio socket container object.
void SVio_dtor | ( | SVio ** | vsock | ) |
Destroy the Vio socket container object.
vsock | socket for reading/writing a finite element mesh or mesh function |
void SVio_initStructure | ( | SVio * | thee, | |
const char * | rwkey, | |||
const char * | iodev, | |||
const char * | iofmt, | |||
const char * | iohost, | |||
const char * | iofile, | |||
char * | buf, | |||
int | bufsize, | |||
int | ptype | |||
) |
Initialize the Vio socket container object.
thee | Pointer to the shell with environment variables | |
rwkey | read/write key "r" = read, "w" = write | |
iodev | device type: "SDIO" = standard I/O "FILE" = file I/O "BUFF" = buffer I/O "UNIX" = UNIX (domain) socket I/O "INET" = INET (network) socket I/O | |
iofmt | data format:"ASC" = ASCII (FILE,BUFF,UNIX,IN | |
iohost | local hostname (me) (UNIX,INET) | |
iofile | file or device name (FILE,BUFF,UNIX,INET) | |
buf | Pointer to BUFF | |
bufsize | size of BUFF | |
ptype | print format(0 = Geomview (GV),1 = GMV,2 = OpenDX (DX), 3 = Matlab,4 = Raw Data) |