Pos_Search.h (getdp-3.4.0-source.tgz) | : | Pos_Search.h (getdp-3.5.0-source.tgz) | ||
---|---|---|---|---|
// GetDP - Copyright (C) 1997-2021 P. Dular and C. Geuzaine, University of Liege | // GetDP - Copyright (C) 1997-2022 P. Dular and C. Geuzaine, University of Liege | |||
// | // | |||
// See the LICENSE.txt file for license information. Please report all | // See the LICENSE.txt file for license information. Please report all | |||
// issues on https://gitlab.onelab.info/getdp/getdp/issues. | // issues on https://gitlab.onelab.info/getdp/getdp/issues. | |||
#ifndef POS_SEARCH_H | #ifndef POS_SEARCH_H | |||
#define POS_SEARCH_H | #define POS_SEARCH_H | |||
#include "ProData.h" | #include "ProData.h" | |||
#include "GeoData.h" | #include "GeoData.h" | |||
#include "ListUtils.h" | #include "ListUtils.h" | |||
struct Brick { | struct Brick { | |||
List_T *p[3]; | List_T *p[3]; | |||
} ; | }; | |||
struct ElementBox { | struct ElementBox { | |||
double Xmin, Xmax ; | double Xmin, Xmax; | |||
double Ymin, Ymax ; | double Ymin, Ymax; | |||
double Zmin, Zmax ; | double Zmin, Zmax; | |||
} ; | }; | |||
struct PointElement { | struct PointElement { | |||
double d; | double d; | |||
double xp, yp, zp; | double xp, yp, zp; | |||
int ElementIndex; | int ElementIndex; | |||
} ; | }; | |||
void Free_SearchGrid(struct Grid * Grid); | void Free_SearchGrid(struct Grid *Grid); | |||
void InWhichElement(struct Grid *Grid, | void InWhichElement(struct Grid *Grid, List_T *ExcludeRegion, | |||
List_T *ExcludeRegion, | struct Element *Element, int Flag, double x, double y, | |||
struct Element * Element, | double z, double *u, double *v, double *w); | |||
int Flag, | ||||
double x, double y, double z, | int PointInElement(struct Element *Element, List_T *ExcludeRegion_L, double x, | |||
double *u, double *v, double *w); | double y, double z, double *u, double *v, double *w, | |||
double tol); | ||||
void xyz2uvwInAnElement(struct Element *Element, | ||||
double x, double y, double z, | void xyz2uvwInAnElement(struct Element *Element, double x, double y, double z, | |||
double *u, double *v, double *w); | double *u, double *v, double *w); | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
18 lines changed or deleted | 18 lines changed or added |