changed typedef A2UGridLink da 'GridStaticPtr<MESH::FaceContainer,double>::Link' a typedef 'GRID::Link'
This commit is contained in:
parent
831d12d4f6
commit
f82f32c6a7
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.5 2005/02/08 17:49:38 pietroni
|
||||||
|
added if (!l->Elem()->IsD()) test on each element
|
||||||
|
|
||||||
Revision 1.4 2005/01/28 12:00:33 cignoni
|
Revision 1.4 2005/01/28 12:00:33 cignoni
|
||||||
small gcc compiling issues for namespaces
|
small gcc compiling issues for namespaces
|
||||||
|
|
||||||
|
@ -78,7 +81,8 @@ void Closest( MESH & mesh, const Point3<SCALAR> & p, GRID & gr, SCALAR & mdist,
|
||||||
typedef Box3<SCALAR> Box3x;
|
typedef Box3<SCALAR> Box3x;
|
||||||
|
|
||||||
if(!gr.bbox.IsIn(p)) return;
|
if(!gr.bbox.IsIn(p)) return;
|
||||||
typedef typename GridStaticPtr<typename MESH::FaceContainer>::Link A2UGridLink;
|
//typedef typename GridStaticPtr<typename MESH::FaceContainer,double>::Link A2UGridLink;
|
||||||
|
typedef typename GRID::Link A2UGridLink;
|
||||||
scalar ax = p[0] - gr.bbox.min[0]; // Real coodinate of point refer to
|
scalar ax = p[0] - gr.bbox.min[0]; // Real coodinate of point refer to
|
||||||
scalar ay = p[1] - gr.bbox.min[1];
|
scalar ay = p[1] - gr.bbox.min[1];
|
||||||
scalar az = p[2] - gr.bbox.min[2];
|
scalar az = p[2] - gr.bbox.min[2];
|
||||||
|
|
Loading…
Reference in New Issue