#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
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 EXECLP | ( | _ | ) | execlp(_,#_,"relax",fdout,0L) |
#define PIPE | ( | _ | ) | pipe(_) |
static void _XGPSendCommand | ( | char * | command | ) | [static] |
Definition at line 125 of file xgplib.c.
References fd.
Referenced by XGPBegin().
static void _XGPSendInteger | ( | int | number | ) | [static] |
Definition at line 134 of file xgplib.c.
References fd.
Referenced by XGPBegin().
static void _XGPSendLabel | ( | char * | string | ) | [static] |
Definition at line 143 of file xgplib.c.
References fd.
Referenced by XGPBegin().
static int _XGPStartGraphic | ( | ) | [static] |
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().
void XGPEnd | ( | void | ) |
Definition at line 191 of file xgplib.c.
Referenced by HybridAnalysis(), ImpBFGSAnalysis(), ImpLinearAnalysis(), ImpNRMAnalysis(), LoadCaseAnalysis(), LoadStepAnalysis(), RezoneAnalysis(), StandardAnalysis(), StandardVEAnalysis(), and StandardVEFlacAnalysis().
void XGPSendPoint | ( | int | curve, | |
double | x, | |||
double | y | |||
) |
Definition at line 206 of file xgplib.c.
References fd.
Referenced by DisplacementVelocity(), and StandardVEAnalysis().
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 |