Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Functions
grid.h File Reference
#include "config.h"
#include <render.h>
#include <cdt.h>
Include dependency graph for grid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _node_list
 
struct  gridpt
 
struct  cell
 

Macros

#define GRID_H
 

Typedefs

typedef struct _grid Grid
 
typedef struct _node_list node_list
 

Functions

GridmkGrid (int)
 
void adjustGrid (Grid *g, int nnodes)
 
void clearGrid (Grid *)
 
void addGrid (Grid *, int, int, Agnode_t *)
 
void walkGrid (Grid *, int(*)(Dt_t *, cell *, Grid *))
 
cellfindGrid (Grid *, int, int)
 
void delGrid (Grid *)
 
int gLength (cell *p)
 

Macro Definition Documentation

#define GRID_H

Definition at line 19 of file grid.h.

Typedef Documentation

typedef struct _grid Grid

Definition at line 26 of file grid.h.

typedef struct _node_list node_list

Function Documentation

void addGrid ( Grid ,
int  ,
int  ,
Agnode_t  
)

Definition at line 221 of file grid.c.

References agnameof(), _grid::data, dtinsert, gridpt::i, gridpt::j, cell::nodes, cell::p, and Verbose.

void adjustGrid ( Grid g,
int  nnodes 
)

Definition at line 182 of file grid.c.

References _grid::listMem, _grid::listSize, MAX, and N_GNEW.

Referenced by fdp_tLayout().

void clearGrid ( Grid )

Definition at line 199 of file grid.c.

References _grid::cellCur, _grid::cellMem, _grid::data, dtclear, _grid::listCur, and _grid::listMem.

void delGrid ( Grid )

Definition at line 210 of file grid.c.

References _grid::cellMem, _grid::data, dtclose(), freeBlock(), and _grid::listMem.

Referenced by fdp_tLayout().

cell* findGrid ( Grid ,
int  ,
int   
)

Definition at line 252 of file grid.c.

References _grid::data, dtsearch, gridpt::i, gridpt::j, and cell::p.

int gLength ( cell p)

Definition at line 264 of file grid.c.

References _node_list::next, and cell::nodes.

Grid* mkGrid ( int  )

Definition at line 163 of file grid.c.

References _grid::cellMem, _grid::data, dtopen(), Dtoset, GNEW, _grid::listMem, and _grid::listSize.

Referenced by fdp_tLayout().

void walkGrid ( Grid ,
int(*)(Dt_t *, cell *, Grid *)   
)

Definition at line 243 of file grid.c.

References _grid::data, and dtwalk().