cgma
|
#include <TetFacetorTool.hpp>
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 ¢er, 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 |
Definition at line 47 of file TetFacetorTool.hpp.
TetFacetorTool< TET, SUBTET, NODE >::TetFacetorTool | ( | ) |
TetFacetorTool< TET, SUBTET, NODE >::~TetFacetorTool | ( | void | ) |
int TetFacetorTool< TET, SUBTET, NODE >::circumsphere | ( | TET * | tet_ptr, |
CubitVector & | center, | ||
double & | radius2 | ||
) |
int TetFacetorTool< TET, SUBTET, NODE >::create_bbox_tets | ( | ) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::exhaustive_locate_point | ( | CubitVector & | xx, |
NODE *& | exact_node, | ||
TET *& | containing_tet | ||
) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::finish | ( | ) |
int TetFacetorTool< TET, SUBTET, NODE >::get_interior_tets | ( | std::vector< TET * > & | tet_list | ) |
TET* TetFacetorTool< TET, SUBTET, NODE >::get_outside_tet | ( | ) |
int TetFacetorTool< TET, SUBTET, NODE >::get_tets | ( | std::vector< TET * > & | tet_list | ) |
double TetFacetorTool< TET, SUBTET, NODE >::get_tol | ( | ) | [inline] |
Definition at line 93 of file TetFacetorTool.hpp.
{return csTol;}
int TetFacetorTool< TET, SUBTET, NODE >::init_box | ( | std::vector< NODE * > & | node_list | ) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::initialize | ( | CubitBox & | bounding_box | ) |
int TetFacetorTool< TET, SUBTET, NODE >::insert_nodes | ( | std::vector< NODE * > & | node_list | ) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::insert_one_node | ( | NODE * | node_ptr | ) |
int TetFacetorTool< TET, SUBTET, NODE >::is_bbox | ( | NODE * | n | ) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::locate_point | ( | CubitVector & | xx, |
NODE *& | exact_node, | ||
TET *& | containing_tet | ||
) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::natural_neighbor_tets | ( | CubitVector & | xx, |
std::vector< TET * > & | neighbor_tet_list, | ||
NODE *& | duplicate_node | ||
) |
CubitBoolean TetFacetorTool< TET, SUBTET, NODE >::point_in_circumsphere | ( | TET * | adj_tet, |
CubitVector & | xx, | ||
std::vector< TET * > & | neighbor_tet_list | ||
) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::read_data | ( | const char * | filename, |
std::vector< NODE * > & | node_list | ||
) |
int TetFacetorTool< TET, SUBTET, NODE >::remove_bbox_tets | ( | ) | [private] |
void TetFacetorTool< TET, SUBTET, NODE >::set_tet_visited | ( | TET * | tet_ptr, |
int | new_visit_flag | ||
) | [private] |
void TetFacetorTool< TET, SUBTET, NODE >::set_tol | ( | double | tol | ) | [inline] |
Definition at line 94 of file TetFacetorTool.hpp.
{csTol=tol;}
int TetFacetorTool< TET, SUBTET, NODE >::tesselate | ( | std::vector< NODE * > & | node_list, |
std::vector< TET * > & | tet_list | ||
) |
int TetFacetorTool< TET, SUBTET, NODE >::tet_visited | ( | TET * | tet_ptr | ) | [private] |
double TetFacetorTool< TET, SUBTET, NODE >::tet_volume | ( | const CubitVector & | a, |
const CubitVector & | b, | ||
const CubitVector & | c, | ||
const CubitVector & | d | ||
) | [private] |
int TetFacetorTool< TET, SUBTET, NODE >::watson_insert | ( | NODE * | node_ptr, |
std::vector< TET * > & | neighbor_tet_list | ||
) |
CubitBox TetFacetorTool< TET, SUBTET, NODE >::bBox [private] |
Definition at line 109 of file TetFacetorTool.hpp.
NODE* TetFacetorTool< TET, SUBTET, NODE >::boxNodes[8] [private] |
Definition at line 115 of file TetFacetorTool.hpp.
double TetFacetorTool< TET, SUBTET, NODE >::csTol [private] |
Definition at line 112 of file TetFacetorTool.hpp.
TET* TetFacetorTool< TET, SUBTET, NODE >::lastTet [private] |
Definition at line 103 of file TetFacetorTool.hpp.
int TetFacetorTool< TET, SUBTET, NODE >::mDebug [private] |
Definition at line 118 of file TetFacetorTool.hpp.
std::vector<TET *> TetFacetorTool< TET, SUBTET, NODE >::tetList [private] |
Definition at line 100 of file TetFacetorTool.hpp.
int TetFacetorTool< TET, SUBTET, NODE >::tetVisited [private] |
Definition at line 106 of file TetFacetorTool.hpp.