cgma
TetFacetorTool< TET, SUBTET, NODE > Class Template Reference

#include <TetFacetorTool.hpp>

List of all members.

Public Member Functions

 TetFacetorTool ()
 ~TetFacetorTool (void)
int initialize (CubitBox &bounding_box)
int insert_one_node (NODE *node_ptr)
int finish ()
int get_tets (std::vector< TET * > &tet_list)
TET * get_outside_tet ()
int get_interior_tets (std::vector< TET * > &tet_list)
int tesselate (std::vector< NODE * > &node_list, std::vector< TET * > &tet_list)
int read_data (const char *filename, std::vector< NODE * > &node_list)
int circumsphere (TET *tet_ptr, CubitVector &center, double &radius2)
int natural_neighbor_tets (CubitVector &xx, std::vector< TET * > &neighbor_tet_list, NODE *&duplicate_node)
int watson_insert (NODE *node_ptr, std::vector< TET * > &neighbor_tet_list)
double get_tol ()
void set_tol (double tol)

Private Member Functions

int init_box (std::vector< NODE * > &node_list)
int create_bbox_tets ()
int remove_bbox_tets ()
int is_bbox (NODE *n)
int insert_nodes (std::vector< NODE * > &node_list)
int locate_point (CubitVector &xx, NODE *&exact_node, TET *&containing_tet)
int exhaustive_locate_point (CubitVector &xx, NODE *&exact_node, TET *&containing_tet)
CubitBoolean point_in_circumsphere (TET *adj_tet, CubitVector &xx, std::vector< TET * > &neighbor_tet_list)
void set_tet_visited (TET *tet_ptr, int new_visit_flag)
int tet_visited (TET *tet_ptr)
double tet_volume (const CubitVector &a, const CubitVector &b, const CubitVector &c, const CubitVector &d)

Private Attributes

std::vector< TET * > tetList
TET * lastTet
int tetVisited
CubitBox bBox
double csTol
NODE * boxNodes [8]
int mDebug

Detailed Description

template<class TET, class SUBTET, class NODE>
class TetFacetorTool< TET, SUBTET, NODE >

Definition at line 47 of file TetFacetorTool.hpp.


Constructor & Destructor Documentation

template<class TET , class SUBTET , class NODE >
TetFacetorTool< TET, SUBTET, NODE >::TetFacetorTool ( )
template<class TET , class SUBTET , class NODE >
TetFacetorTool< TET, SUBTET, NODE >::~TetFacetorTool ( void  )

Member Function Documentation

template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::circumsphere ( TET *  tet_ptr,
CubitVector center,
double &  radius2 
)
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::create_bbox_tets ( ) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::exhaustive_locate_point ( CubitVector xx,
NODE *&  exact_node,
TET *&  containing_tet 
) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::finish ( )
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::get_interior_tets ( std::vector< TET * > &  tet_list)
template<class TET , class SUBTET , class NODE >
TET* TetFacetorTool< TET, SUBTET, NODE >::get_outside_tet ( )
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::get_tets ( std::vector< TET * > &  tet_list)
template<class TET , class SUBTET , class NODE >
double TetFacetorTool< TET, SUBTET, NODE >::get_tol ( ) [inline]

Definition at line 93 of file TetFacetorTool.hpp.

{return csTol;}
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::init_box ( std::vector< NODE * > &  node_list) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::initialize ( CubitBox bounding_box)
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::insert_nodes ( std::vector< NODE * > &  node_list) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::insert_one_node ( NODE *  node_ptr)
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::is_bbox ( NODE *  n) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::locate_point ( CubitVector xx,
NODE *&  exact_node,
TET *&  containing_tet 
) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::natural_neighbor_tets ( CubitVector xx,
std::vector< TET * > &  neighbor_tet_list,
NODE *&  duplicate_node 
)
template<class TET , class SUBTET , class NODE >
CubitBoolean TetFacetorTool< TET, SUBTET, NODE >::point_in_circumsphere ( TET *  adj_tet,
CubitVector xx,
std::vector< TET * > &  neighbor_tet_list 
) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::read_data ( const char *  filename,
std::vector< NODE * > &  node_list 
)
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::remove_bbox_tets ( ) [private]
template<class TET , class SUBTET , class NODE >
void TetFacetorTool< TET, SUBTET, NODE >::set_tet_visited ( TET *  tet_ptr,
int  new_visit_flag 
) [private]
template<class TET , class SUBTET , class NODE >
void TetFacetorTool< TET, SUBTET, NODE >::set_tol ( double  tol) [inline]

Definition at line 94 of file TetFacetorTool.hpp.

{csTol=tol;}
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::tesselate ( std::vector< NODE * > &  node_list,
std::vector< TET * > &  tet_list 
)
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::tet_visited ( TET *  tet_ptr) [private]
template<class TET , class SUBTET , class NODE >
double TetFacetorTool< TET, SUBTET, NODE >::tet_volume ( const CubitVector a,
const CubitVector b,
const CubitVector c,
const CubitVector d 
) [private]
template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::watson_insert ( NODE *  node_ptr,
std::vector< TET * > &  neighbor_tet_list 
)

Member Data Documentation

template<class TET , class SUBTET , class NODE >
CubitBox TetFacetorTool< TET, SUBTET, NODE >::bBox [private]

Definition at line 109 of file TetFacetorTool.hpp.

template<class TET , class SUBTET , class NODE >
NODE* TetFacetorTool< TET, SUBTET, NODE >::boxNodes[8] [private]

Definition at line 115 of file TetFacetorTool.hpp.

template<class TET , class SUBTET , class NODE >
double TetFacetorTool< TET, SUBTET, NODE >::csTol [private]

Definition at line 112 of file TetFacetorTool.hpp.

template<class TET , class SUBTET , class NODE >
TET* TetFacetorTool< TET, SUBTET, NODE >::lastTet [private]

Definition at line 103 of file TetFacetorTool.hpp.

template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::mDebug [private]

Definition at line 118 of file TetFacetorTool.hpp.

template<class TET , class SUBTET , class NODE >
std::vector<TET *> TetFacetorTool< TET, SUBTET, NODE >::tetList [private]

Definition at line 100 of file TetFacetorTool.hpp.

template<class TET , class SUBTET , class NODE >
int TetFacetorTool< TET, SUBTET, NODE >::tetVisited [private]

Definition at line 106 of file TetFacetorTool.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines