Branch data Line data Source code
1 : : #include "CubitOctreeGenerator.hpp"
2 : : #include "CubitOctree.hpp"
3 : : #include "CubitOctreeConstants.hpp"
4 : :
5 : 0 : CubitOctreeGenerator::CubitOctreeGenerator( ){
6 : 0 : }
7 : :
8 : 0 : CubitOctreeGenerator::~CubitOctreeGenerator(){
9 [ # # ]: 0 : delete cubitOctree;
10 [ # # ]: 0 : }
11 : :
12 : 0 : void CubitOctreeGenerator::color_lattice_cell( void ){
13 : 0 : cubitOctree->color_octreecell();
14 : 0 : cubitOctree->set_status_octree_coloring(CUBIT_TRUE);
15 : 0 : }
16 : :
17 : 0 : double CubitOctreeGenerator::size_at_a_point( const CubitVector &point )
18 : : {
19 : 0 : double size = 0;
20 : :
21 : 0 : size = size_at_point_in_octree( point, MESH_SIZE );
22 : :
23 : 0 : return size;
24 : : }
25 : :
26 : 0 : double CubitOctreeGenerator::size_at_point_in_octree( const CubitVector &point, int type ){
27 : 0 : return cubitOctree->size_at_a_point( point, type );
28 : : }
29 : :
30 : :
31 : 0 : CubitPointContainment CubitOctreeGenerator::point_containment( CubitVector tmp_vec, double tolerance )
32 : : {
33 [ # # ]: 0 : return cubitOctree->point_containment( tmp_vec, tolerance );
34 [ + - ][ + - ]: 6540 : }
35 : :
36 : :
37 : : // EOF
38 : :
|