FORM v5.0.0-35-g6318119
Functions
lus.c File Reference
#include "form3.h"
Include dependency graph for lus.c:

Go to the source code of this file.

Functions

int Lus (WORD *term, WORD funnum, WORD loopsize, WORD numargs, WORD outfun, WORD mode)
 
int FindLus (int from, int level, int openindex)
 
int SortTheList (int *slist, int num)
 
int AllLoops (PHEAD WORD *term, WORD level)
 
LONG StartLoops (PHEAD WORD *term, WORD level, LONG vert, WORD nvert, WORD *arglist, WORD nargs, WORD *loop, WORD nloop)
 
LONG GenLoops (PHEAD WORD *term, WORD level, LONG vert, WORD nvert, WORD *arglist, WORD nargs, WORD *loop, WORD nloop)
 
void LoopOutput (PHEAD WORD *term, WORD level, WORD *loop, WORD nloop)
 
int AllPaths (PHEAD WORD *term, WORD level)
 
LONG GenPaths (PHEAD WORD *term, WORD level, LONG vert, WORD nvert, WORD *arglist, WORD nargs, WORD *path, WORD npath)
 
void PathOutput (PHEAD WORD *term, WORD level, WORD *path, WORD npath)
 
WORD AllOnePI (WORD *term, WORD level)
 
int RemoveBridges (void)
 
int TakeOneLine (WORD *term, WORD level)
 
int OutputOnePI (PHEAD WORD *term, WORD level)
 

Detailed Description

Routines to find loops in index contractions. These routines allow for a category of topological statements. They were originally developed for the color library.

Definition in file lus.c.

Function Documentation

◆ Lus()

int Lus ( WORD *  term,
WORD  funnum,
WORD  loopsize,
WORD  numargs,
WORD  outfun,
WORD  mode 
)

Definition at line 57 of file lus.c.

◆ FindLus()

int FindLus ( int  from,
int  level,
int  openindex 
)

Definition at line 515 of file lus.c.

◆ SortTheList()

int SortTheList ( int *  slist,
int  num 
)

Definition at line 578 of file lus.c.

◆ AllLoops()

int AllLoops ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 650 of file lus.c.

◆ StartLoops()

LONG StartLoops ( PHEAD WORD *  term,
WORD  level,
LONG  vert,
WORD  nvert,
WORD *  arglist,
WORD  nargs,
WORD *  loop,
WORD  nloop 
)

Definition at line 894 of file lus.c.

◆ GenLoops()

LONG GenLoops ( PHEAD WORD *  term,
WORD  level,
LONG  vert,
WORD  nvert,
WORD *  arglist,
WORD  nargs,
WORD *  loop,
WORD  nloop 
)

Definition at line 980 of file lus.c.

◆ LoopOutput()

void LoopOutput ( PHEAD WORD *  term,
WORD  level,
WORD *  loop,
WORD  nloop 
)

Definition at line 1059 of file lus.c.

◆ AllPaths()

int AllPaths ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1123 of file lus.c.

◆ GenPaths()

LONG GenPaths ( PHEAD WORD *  term,
WORD  level,
LONG  vert,
WORD  nvert,
WORD *  arglist,
WORD  nargs,
WORD *  path,
WORD  npath 
)

Definition at line 1413 of file lus.c.

◆ PathOutput()

void PathOutput ( PHEAD WORD *  term,
WORD  level,
WORD *  path,
WORD  npath 
)

Definition at line 1486 of file lus.c.

◆ AllOnePI()

WORD AllOnePI ( WORD *  term,
WORD  level 
)

Definition at line 1566 of file lus.c.

◆ RemoveBridges()

int RemoveBridges ( void  )

Definition at line 1586 of file lus.c.

◆ TakeOneLine()

int TakeOneLine ( WORD *  term,
WORD  level 
)

Definition at line 1596 of file lus.c.

◆ OutputOnePI()

int OutputOnePI ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1608 of file lus.c.