xgplib.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

Include dependency graph for xgplib.c:

Go to the source code of this file.

Defines

some macro definitions.
#define PIPE(_)   pipe(_)
#define EXECLP(_)   execlp(_,#_,"relax",fdout,0L)

Functions

static int _XGPStartGraphic ()
static void _XGPSendCommand (char *)
static void _XGPSendInteger (int)
static void _XGPSendLabel (char *)
void XGPBegin (void)
void XGPEnd (void)
void XGPSendPoint (int, double, double)

Variables

static int fd [2]
Maximum number of points, number of curves and curves labels.
int GpType = 0
int NumMaxPoints = 0
int NumCurves = 0
char ** Labels = 0L


Define Documentation

#define EXECLP (  )     execlp(_,#_,"relax",fdout,0L)

Definition at line 58 of file xgplib.c.

Referenced by _XGPStartGraphic().

#define PIPE (  )     pipe(_)

Definition at line 57 of file xgplib.c.

Referenced by _XGPStartGraphic().


Function Documentation

static void _XGPSendCommand ( char *  command  )  [static]

Definition at line 125 of file xgplib.c.

References fd.

Referenced by XGPBegin().

Here is the caller graph for this function:

static void _XGPSendInteger ( int  number  )  [static]

Definition at line 134 of file xgplib.c.

References fd.

Referenced by XGPBegin().

Here is the caller graph for this function:

static void _XGPSendLabel ( char *  string  )  [static]

Definition at line 143 of file xgplib.c.

References fd.

Referenced by XGPBegin().

Here is the caller graph for this function:

static int _XGPStartGraphic (  )  [static]

Definition at line 74 of file xgplib.c.

References EXECLP, fd, and PIPE.

Referenced by XGPBegin().

Here is the caller graph for this function:

void XGPBegin ( void   ) 

Definition at line 166 of file xgplib.c.

References _XGPSendCommand(), _XGPSendInteger(), _XGPSendLabel(), _XGPStartGraphic(), GpType, Labels, NumCurves, and NumMaxPoints.

Referenced by HybridAnalysis(), ImpBFGSAnalysis(), ImpLinearAnalysis(), ImpNRMAnalysis(), LoadCaseAnalysis(), LoadStepAnalysis(), RezoneAnalysis(), StandardAnalysis(), StandardVEAnalysis(), and StandardVEFlacAnalysis().

Here is the call graph for this function:

Here is the caller graph for this function:

void XGPEnd ( void   ) 

Definition at line 191 of file xgplib.c.

References fd, and NumCurves.

Referenced by HybridAnalysis(), ImpBFGSAnalysis(), ImpLinearAnalysis(), ImpNRMAnalysis(), LoadCaseAnalysis(), LoadStepAnalysis(), RezoneAnalysis(), StandardAnalysis(), StandardVEAnalysis(), and StandardVEFlacAnalysis().

Here is the caller graph for this function:

void XGPSendPoint ( int  curve,
double  x,
double  y 
)

Definition at line 206 of file xgplib.c.

References fd.

Referenced by DisplacementVelocity(), and StandardVEAnalysis().

Here is the caller graph for this function:


Variable Documentation

int fd[2] [static]

File descriptor used for pipe

Definition at line 49 of file xgplib.c.

Referenced by _XGPSendCommand(), _XGPSendInteger(), _XGPSendLabel(), _XGPStartGraphic(), XGPEnd(), and XGPSendPoint().

int GpType = 0

Definition at line 35 of file xgplib.c.

Referenced by _NfiReadNodeDispDisplay(), _NfiReadNodeDispTimeDisplay(), _NfiReadNodeVelocDisplay(), DisplacementVelocity(), StandardVEAnalysis(), and XGPBegin().

char** Labels = 0L

Definition at line 38 of file xgplib.c.

Referenced by _NfiReadNodeDispDisplay(), _NfiReadNodeDispTimeDisplay(), _NfiReadNodeVelocDisplay(), and XGPBegin().

int NumCurves = 0

Definition at line 37 of file xgplib.c.

Referenced by _NfiReadNodeDispDisplay(), _NfiReadNodeDispTimeDisplay(), _NfiReadNodeVelocDisplay(), StandardVEAnalysis(), XGPBegin(), and XGPEnd().

int NumMaxPoints = 0

Definition at line 36 of file xgplib.c.

Referenced by _NfiReadMaximumIteration(), and XGPBegin().


Generated on Tue Oct 23 11:24:57 2007 for Relax by  doxygen 1.5.3