Fortran
[librt geometry, raytracing]

Collaboration diagram for Fortran:


Files

file  fortran.c
 A FORTRAN-callable interface to libplot3.
file  fortray.c

Data Structures

struct  context

Defines

#define F(lc, uc)   lc
#define CONTEXT_LEN   6

Functions

void pl_strncpy (register char *out, register char *in, register int sz)
void F (ifdopn, IFDOPN)
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)
int fr_hit (struct application *ap, struct partition *headp, struct seg *segp)
int fr_miss (struct application *ap)
void fr_string_c2f (register char *fstr, register char *cstr, register int flen)
void BU_FORTRAN (frdir, FRDIR)
void BU_FORTRAN (frtree, FRTREE)
void BU_FORTRAN (frprep, FRPREP)
void BU_FORTRAN (frshot, FRSHOT)
void BU_FORTRAN (frnorm, FRNORM)
void BU_FORTRAN (frnreg, FRNREG)
void BU_FORTRAN (frname, FRNAME)

Variables

resource rt_uniresource
 default. Defined in librt/shoot.c
partition fr_global_head

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.

Definition at line 126 of file fortran.c.

Referenced by rt_nurb_curvature().

#define CONTEXT_LEN   6
 

Definition at line 154 of file fortray.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 98 of file fortran.c.

Referenced by F().

void F ifdopn  ,
IFDOPN 
 

I F D O P E

Open a file descriptor for plotting.

Definition at line 140 of file fortran.c.

References NULL, and perror().

Here is the call graph for this function:

void F ifopen  ,
IFOPEN 
 

I F O P E N

Open a file (by name) for plotting.

Definition at line 154 of file fortran.c.

References name, NULL, perror(), and pl_strncpy().

Here is the call graph for this function:

void F i2pnt  ,
I2PNT 
 

Definition at line 170 of file fortran.c.

References pl_point().

Here is the call graph for this function:

void F i2line  ,
I2LINE 
 

Definition at line 178 of file fortran.c.

References pl_line().

Here is the call graph for this function:

void F ilinmd  ,
ILINMD 
 

Definition at line 186 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 196 of file fortran.c.

References pl_move().

Here is the call graph for this function:

void F i2cont  ,
I2CONT 
 

Definition at line 204 of file fortran.c.

References pl_cont().

Here is the call graph for this function:

void F i2labl  ,
I2LABL 
 

Definition at line 212 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 222 of file fortran.c.

References pl_space().

Here is the call graph for this function:

void F ierase  ,
IERASE 
 

Definition at line 230 of file fortran.c.

References pl_erase().

Here is the call graph for this function:

void F i2circ  ,
I2CIRC 
 

Definition at line 237 of file fortran.c.

References pl_circle().

Here is the call graph for this function:

void F i2arc  ,
I2ARC 
 

Definition at line 245 of file fortran.c.

References pl_arc().

Here is the call graph for this function:

void F i2box  ,
I2BOX 
 

Definition at line 253 of file fortran.c.

References pl_box().

Here is the call graph for this function:

void F icolor  ,
ICOLOR 
 

Definition at line 266 of file fortran.c.

References pl_color().

Here is the call graph for this function:

void F iflush  ,
IFLUSH 
 

Definition at line 274 of file fortran.c.

References pl_flush().

Here is the call graph for this function:

void F i3spac  ,
I3SPAC 
 

Definition at line 281 of file fortran.c.

References pl_3space().

Here is the call graph for this function:

void F i3pnt  ,
I3PNT 
 

Definition at line 289 of file fortran.c.

References pl_3point().

Here is the call graph for this function:

void F i3move  ,
I3MOVE 
 

Definition at line 298 of file fortran.c.

References pl_3move().

Here is the call graph for this function:

void F i3cont  ,
I3CONT 
 

Definition at line 306 of file fortran.c.

References pl_3cont().

Here is the call graph for this function:

void F i3line  ,
I3LINE 
 

Definition at line 314 of file fortran.c.

References pl_3line().

Here is the call graph for this function:

void F i3box  ,
I3BOX 
 

Definition at line 322 of file fortran.c.

References pl_3box().

Here is the call graph for this function:

void F f2pnt  ,
F2PNT 
 

Definition at line 334 of file fortran.c.

References pd_point().

Here is the call graph for this function:

void F f2line  ,
F2LINE 
 

Definition at line 342 of file fortran.c.

References pd_line().

Here is the call graph for this function:

void F f2move  ,
F2MOVE 
 

Definition at line 350 of file fortran.c.

References pd_move().

Here is the call graph for this function:

void F f2cont  ,
F2CONT 
 

Definition at line 358 of file fortran.c.

References pd_cont().

Here is the call graph for this function:

void F f2spac  ,
F2SPAC 
 

Definition at line 366 of file fortran.c.

References pd_space().

Here is the call graph for this function:

void F f2circ  ,
F2CIRC 
 

Definition at line 374 of file fortran.c.

References pd_circle().

Here is the call graph for this function:

void F f2arc  ,
F2ARC 
 

Definition at line 382 of file fortran.c.

References pd_arc().

Here is the call graph for this function:

void F f2box  ,
F2BOX 
 

Definition at line 390 of file fortran.c.

References pd_box().

Here is the call graph for this function:

void F a2spac  ,
A3SPAC 
 

Definition at line 403 of file fortran.c.

References pd_3space().

Here is the call graph for this function:

void F f3spac  ,
F3SPAC 
 

Definition at line 412 of file fortran.c.

References pd_3space().

Here is the call graph for this function:

void F a3pnt  ,
A3PNT 
 

Definition at line 420 of file fortran.c.

References pd_3point().

Here is the call graph for this function:

void F f3pnt  ,
F3PNT 
 

Definition at line 428 of file fortran.c.

References pd_3point().

Here is the call graph for this function:

void F a3move  ,
A3MOVE 
 

Definition at line 436 of file fortran.c.

References pd_3move().

Here is the call graph for this function:

void F f3move  ,
F3MOVE 
 

Definition at line 444 of file fortran.c.

References pd_3move().

Here is the call graph for this function:

void F a3cont  ,
A3CONT 
 

Definition at line 452 of file fortran.c.

References pd_3cont().

Here is the call graph for this function:

void F f3cont  ,
F3CONT 
 

Definition at line 460 of file fortran.c.

References pd_3cont().

Here is the call graph for this function:

void F a3line  ,
A3LINE 
 

Definition at line 468 of file fortran.c.

References pd_3line().

Here is the call graph for this function:

void F f3line  ,
F3LINE 
 

Definition at line 476 of file fortran.c.

References pd_3line().

Here is the call graph for this function:

void F a3box  ,
A3BOX 
 

Definition at line 484 of file fortran.c.

References pd_3box().

Here is the call graph for this function:

void F f3box  ,
F3BOX 
 

Definition at line 492 of file fortran.c.

References pd_3box().

Here is the call graph for this function:

int fr_hit struct application ap,
struct partition headp,
struct seg segp
 

Definition at line 260 of file fortray.c.

References fr_global_head, partition::pt_back, and partition::pt_forw.

int fr_miss struct application ap  ) 
 

Definition at line 275 of file fortray.c.

References fr_global_head, partition::pt_back, and partition::pt_forw.

void fr_string_c2f register char *  fstr,
register char *  cstr,
register int  flen
 

Definition at line 66 of file fortray.c.

Referenced by BU_FORTRAN().

void BU_FORTRAN frdir  ,
FRDIR 
 

Definition at line 115 of file fortray.c.

void BU_FORTRAN frtree  ,
FRTREE 
 

Definition at line 129 of file fortray.c.

void BU_FORTRAN frprep  ,
FRPREP 
 

Definition at line 147 of file fortray.c.

void BU_FORTRAN frshot  ,
FRSHOT 
 

Definition at line 168 of file fortray.c.

void BU_FORTRAN frnorm  ,
FRNORM 
 

Definition at line 291 of file fortray.c.

void BU_FORTRAN frnreg  ,
FRNREG 
 

Definition at line 340 of file fortray.c.

void BU_FORTRAN frname  ,
FRNAME 
 

Definition at line 354 of file fortray.c.

References fr_string_c2f().

Here is the call graph for this function:


Variable Documentation

struct resource rt_uniresource
 

default. Defined in librt/shoot.c

Definition at line 73 of file shoot.c.

struct partition fr_global_head
 

Definition at line 57 of file fortray.c.

Referenced by fr_hit(), and fr_miss().


Generated on Mon Sep 18 01:25:46 2006 for BRL-CAD by  doxygen 1.4.6