#include <limits.h>#include <stdlib.h>#include <string.h>#include <stdio.h>#include <math.h>#include "pkvaria.h"#include "pknum.h"#include "pkgeom.h"#include "multibs.h"#include "bsmesh.h"#include "egholed.h"#include "g2blendingd.h"#include "g2mblendingd.h"#include "g2blprivated.h"#include "g2mblprivated.h"#include "g2mblmlprivated.h"#include "msgpool.h"
Data Structures | |
| struct | tree_el |
Defines | |
| #define | AVE_VERTN 64 |
| #define | TREE_INSERT(v1, v2) |
Functions | |
| boolean | _g2mbl_MLFindVCPNeighboursd (mesh_ml_optdata *d, nzHbl_rowdesc **vn, int **vni) |
| boolean | _g2mbl_MLSetupBlockCGHessiand (mesh_ml_optdata *d, int bn) |
| #define AVE_VERTN 64 |
| #define TREE_INSERT | ( | v1, | ||
| v2 | ||||
| ) |
{ \
int *vp; \
vp = &vroot[v1]; /* select the tree */ \
while ( *vp >= 0 ) { /* search in the tree */ \
if ( tree[*vp].k == v2 ) \
goto out; /* already present - no copies */ \
else if ( tree[*vp].k > v2 ) \
vp = &tree[*vp].left; \
else \
vp = &tree[*vp].right; \
} \
if ( ltreeel >= ntreeel ) /* not enough storage space allocated */ \
goto failure; \
*vp = ltreeel++; /* allocate tree element and insert */ \
tree[*vp].k = v2; \
tree[*vp].left = tree[*vp].right = -1; \
out: ; \
}
| boolean _g2mbl_MLFindVCPNeighboursd | ( | mesh_ml_optdata * | d, | |
| nzHbl_rowdesc ** | vn, | |||
| int ** | vni | |||
| ) |
| boolean _g2mbl_MLSetupBlockCGHessiand | ( | mesh_ml_optdata * | d, | |
| int | bn | |||
| ) |
1.7.1