GetFEM
5.4.2

handles the geometric inversion for a given (supposedly quite large) set of points More...
#include <bgeot_geotrans_inv.h>
Inherited by getfem::mesh_trans_inv.
Public Member Functions  
template<class CONT >  
void  add_points (const CONT &c) 
Add the points contained in c to the list of points.  
size_type  nb_points (void) const 
Number of points.  
size_type  add_point (base_node p) 
Add point p to the list of points.  
size_type  points_in_box (kdtree_tab_type &ipts, const base_node &min, const base_node &max) const 
Find all the points present in the box between min and max.  
template<class TAB , class CONT1 , class CONT2 >  
size_type  points_in_convex (const convex< base_node, TAB > &cv, pgeometric_trans pgt, CONT1 &pftab, CONT2 &itab, bool bruteforce=false) 
Search all the points in the convex cv, which is the transformation of the convex cref via the geometric transformation pgt. More...  
handles the geometric inversion for a given (supposedly quite large) set of points
Definition at line 178 of file bgeot_geotrans_inv.h.
size_type bgeot::geotrans_inv::points_in_convex  (  const convex< base_node, TAB > &  cv, 
pgeometric_trans  pgt,  
CONT1 &  pftab,  
CONT2 &  itab,  
bool  bruteforce = false 

) 
Search all the points in the convex cv, which is the transformation of the convex cref via the geometric transformation pgt.
IMPORTANT : It is assumed that the whole convex is include in the minmax box of its nodes times a factor 1.2. If the transformation is linear, the factor is 1.0.
cv  the convex points (as given by getfem_mesh::convex(ic)). 
pgt  the geometric trans (as given by getfem_mesh::trans_of_convex(ic)). 
pftab  container for the coordinates of points in the reference convex (should be of size nb_points()) 
itab  the indices of points found in the convex. 
bruteforce  use a brute force search(only for debugging purposes). 
Definition at line 242 of file bgeot_geotrans_inv.h.