1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
// GetDP - Copyright (C) 1997-2018 P. Dular and C. Geuzaine, University of Liege
//
// See the LICENSE.txt file for license information. Please report all
// issues on https://gitlab.onelab.info/getdp/getdp/issues
#ifndef _POS_SEARCH_H_
#define _POS_SEARCH_H_
#include "ProData.h"
#include "GeoData.h"
#include "ListUtils.h"
struct Brick {
List_T *p[3];
} ;
struct ElementBox {
double Xmin, Xmax ;
double Ymin, Ymax ;
double Zmin, Zmax ;
} ;
struct PointElement {
double d;
double xp, yp, zp;
int ElementIndex;
} ;
void Free_SearchGrid(struct Grid * Grid);
void InWhichElement(struct Grid *Grid,
List_T *ExcludeRegion,
struct Element * Element,
int Flag,
double x, double y, double z,
double *u, double *v, double *w);
void xyz2uvwInAnElement(struct Element *Element,
double x, double y, double z,
double *u, double *v, double *w);
#endif
|