Fort

Files

file  fortran.c
 

A FORTRAN-callable interface to libplot3.


Defines

#define F(lc, uc)   lc ## _

Functions

void pl_strncpy (register char *out, register char *in, register int sz)
void F (ifopen, IFOPEN)
void F (i2pnt, I2PNT)
void F (i2line, I2LINE)
void F (ilinmd, ILINMD)
void F (i2move, I2MOVE)
void F (i2cont, I2CONT)
void F (i2labl, I2LABL)
void F (i2spac, I2SPAC)
void F (ierase, IERASE)
void F (i2circ, I2CIRC)
void F (i2arc, I2ARC)
void F (i2box, I2BOX)
void F (icolor, ICOLOR)
void F (iflush, IFLUSH)
void F (i3spac, I3SPAC)
void F (i3pnt, I3PNT)
void F (i3move, I3MOVE)
void F (i3cont, I3CONT)
void F (i3line, I3LINE)
void F (i3box, I3BOX)
void F (f2pnt, F2PNT)
void F (f2line, F2LINE)
void F (f2move, F2MOVE)
void F (f2cont, F2CONT)
void F (f2spac, F2SPAC)
void F (f2circ, F2CIRC)
void F (f2arc, F2ARC)
void F (f2box, F2BOX)
void F (a2spac, A3SPAC)
void F (f3spac, F3SPAC)
void F (a3pnt, A3PNT)
void F (f3pnt, F3PNT)
void F (a3move, A3MOVE)
void F (f3move, F3MOVE)
void F (a3cont, A3CONT)
void F (f3cont, F3CONT)
void F (a3line, A3LINE)
void F (f3line, F3LINE)
void F (a3box, A3BOX)
void F (f3box, F3BOX)

Detailed Description


Define Documentation

#define F ( lc,
uc   )     lc ## _

Macro 'F' is used to take the 'C' function name, and convert it to the convention used for a particular system. Both lower-case and upper-case alternatives have to be provided because there is no way to get the C preprocessor to change the case of a token.

Lower case, with a trailing underscore.

Definition at line 99 of file fortran.c.


Function Documentation

void pl_strncpy ( register char *  out,
register char *  in,
register int  sz 
)

P L _ S T R N C P Y

Make null-terminated copy of a string in output buffer, being careful not to exceed indicated buffer size Accept "$" as alternate string-terminator for FORTRAN Holerith constants, because getting FORTRAN to null-terminate strings is to painful (and non-portable) to contemplate.

Definition at line 81 of file fortran.c.

References c.

Referenced by F().

void F ( ifopen  ,
IFOPEN   
)

I F O P E N

Open a file (by name) for plotting.

Definition at line 113 of file fortran.c.

References pl_strncpy().

Here is the call graph for this function:

void F ( i2pnt  ,
I2PNT   
)

Definition at line 127 of file fortran.c.

References pl_point(), x, and y.

Here is the call graph for this function:

void F ( i2line  ,
I2LINE   
)

Definition at line 133 of file fortran.c.

References pl_line().

Here is the call graph for this function:

void F ( ilinmd  ,
ILINMD   
)

Definition at line 139 of file fortran.c.

References pl_linmod(), and pl_strncpy().

Here is the call graph for this function:

void F ( i2move  ,
I2MOVE   
)

Definition at line 147 of file fortran.c.

References pl_move(), x, and y.

Here is the call graph for this function:

void F ( i2cont  ,
I2CONT   
)

Definition at line 153 of file fortran.c.

References pl_cont(), x, and y.

Here is the call graph for this function:

void F ( i2labl  ,
I2LABL   
)

Definition at line 159 of file fortran.c.

References pl_label(), and pl_strncpy().

Here is the call graph for this function:

void F ( i2spac  ,
I2SPAC   
)

Definition at line 167 of file fortran.c.

References pl_space().

Here is the call graph for this function:

void F ( ierase  ,
IERASE   
)

Definition at line 173 of file fortran.c.

References pl_erase().

Here is the call graph for this function:

void F ( i2circ  ,
I2CIRC   
)

Definition at line 179 of file fortran.c.

References pl_circle(), x, and y.

Here is the call graph for this function:

void F ( i2arc  ,
I2ARC   
)

Definition at line 185 of file fortran.c.

References pl_arc().

Here is the call graph for this function:

void F ( i2box  ,
I2BOX   
)

Definition at line 191 of file fortran.c.

References pl_box().

Here is the call graph for this function:

void F ( icolor  ,
ICOLOR   
)

Warning: r, g, b are ints. The output is chars.

Definition at line 202 of file fortran.c.

References pl_color().

Here is the call graph for this function:

void F ( iflush  ,
IFLUSH   
)

Definition at line 208 of file fortran.c.

References pl_flush().

Here is the call graph for this function:

void F ( i3spac  ,
I3SPAC   
)

Definition at line 214 of file fortran.c.

References pl_3space().

Here is the call graph for this function:

void F ( i3pnt  ,
I3PNT   
)

Definition at line 220 of file fortran.c.

References pl_3point(), x, y, and z.

Here is the call graph for this function:

void F ( i3move  ,
I3MOVE   
)

Definition at line 227 of file fortran.c.

References pl_3move(), x, y, and z.

Here is the call graph for this function:

void F ( i3cont  ,
I3CONT   
)

Definition at line 233 of file fortran.c.

References pl_3cont(), x, y, and z.

Here is the call graph for this function:

void F ( i3line  ,
I3LINE   
)

Definition at line 239 of file fortran.c.

References pl_3line().

Here is the call graph for this function:

void F ( i3box  ,
I3BOX   
)

Definition at line 245 of file fortran.c.

References pl_3box().

Here is the call graph for this function:

void F ( f2pnt  ,
F2PNT   
)

Definition at line 255 of file fortran.c.

References pd_point(), x, and y.

Here is the call graph for this function:

void F ( f2line  ,
F2LINE   
)

Definition at line 261 of file fortran.c.

References pd_line().

Here is the call graph for this function:

void F ( f2move  ,
F2MOVE   
)

Definition at line 267 of file fortran.c.

References pd_move(), x, and y.

Here is the call graph for this function:

void F ( f2cont  ,
F2CONT   
)

Definition at line 273 of file fortran.c.

References pd_cont(), x, and y.

Here is the call graph for this function:

void F ( f2spac  ,
F2SPAC   
)

Definition at line 279 of file fortran.c.

References pd_space().

Here is the call graph for this function:

void F ( f2circ  ,
F2CIRC   
)

Definition at line 285 of file fortran.c.

References pd_circle(), x, and y.

Here is the call graph for this function:

void F ( f2arc  ,
F2ARC   
)

Definition at line 291 of file fortran.c.

References pd_arc().

Here is the call graph for this function:

void F ( f2box  ,
F2BOX   
)

Definition at line 297 of file fortran.c.

References pd_box().

Here is the call graph for this function:

void F ( a2spac  ,
A3SPAC   
)

Definition at line 308 of file fortran.c.

References min, and pd_3space().

Here is the call graph for this function:

void F ( f3spac  ,
F3SPAC   
)

Definition at line 314 of file fortran.c.

References pd_3space().

Here is the call graph for this function:

void F ( a3pnt  ,
A3PNT   
)

Definition at line 320 of file fortran.c.

References pd_3point().

Here is the call graph for this function:

void F ( f3pnt  ,
F3PNT   
)

Definition at line 326 of file fortran.c.

References pd_3point(), x, y, and z.

Here is the call graph for this function:

void F ( a3move  ,
A3MOVE   
)

Definition at line 332 of file fortran.c.

References pd_3move().

Here is the call graph for this function:

void F ( f3move  ,
F3MOVE   
)

Definition at line 338 of file fortran.c.

References pd_3move(), x, y, and z.

Here is the call graph for this function:

void F ( a3cont  ,
A3CONT   
)

Definition at line 344 of file fortran.c.

References pd_3cont().

Here is the call graph for this function:

void F ( f3cont  ,
F3CONT   
)

Definition at line 350 of file fortran.c.

References pd_3cont(), x, y, and z.

Here is the call graph for this function:

void F ( a3line  ,
A3LINE   
)

Definition at line 356 of file fortran.c.

References pd_3line().

Here is the call graph for this function:

void F ( f3line  ,
F3LINE   
)

Definition at line 362 of file fortran.c.

References pd_3line().

Here is the call graph for this function:

void F ( a3box  ,
A3BOX   
)

Definition at line 368 of file fortran.c.

References pd_3box().

Here is the call graph for this function:

void F ( f3box  ,
F3BOX   
)

Definition at line 374 of file fortran.c.

References pd_3box().

Here is the call graph for this function:

Generated on Tue Dec 11 13:14:30 2012 for LIBBN by  doxygen 1.6.3