FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_vis_intersection_find.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef HECMW_VIS_INTERSECTION_FIND_H_INCLUDED
7 #define HECMW_VIS_INTERSECTION_FIND_H_INCLUDED
8 
9 #include "hecmw_struct.h"
10 #include "hecmw_vis_SF_geom.h"
11 
12 /*----------------------------------------------------------------------
13 # Subroutines in this file on isosurface generation by Marching Cubes is
14 based
15  on the revision of Dr. Yuriko Takeshima's codes when she was working
16 part time in RIST
17 #---------------------------------------------------------------------- */
18 
19 int get_hex_rotation_info(int rot_type, Rotation_info *rot_info);
20 int point_convert(int point_index, Rotation_info *rot_info);
21 int separation_test(struct hecmwST_local_mesh *mesh, Cell *cell, int amb,
22  double fvalue, int CS_type, int disamb_flag);
23 
24 void case0opp_tiler_hex(Cube_polygons *cube_polys);
25 void case1_tiler_hex(int index, Cube_polygons *cube_polys);
26 void case1opp_tiler_hex(int index, Cube_polygons *cube_polys);
27 void case2_tiler_hex(int index, Cube_polygons *cube_polys);
28 void case2opp_tiler_hex(int index, Cube_polygons *cube_polys);
29 void case3_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue,
30  int CS_type, int index, Cube_polygons *cube_polys,
31  int disamb_flag);
32 void case3opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
33  double fvalue, int CS_type, int index,
34  Cube_polygons *cube_polys, int disamb_flag);
35 void case4_tiler_hex(int index, Cube_polygons *cube_polys);
36 void case4opp_tiler_hex(int index, Cube_polygons *cube_polys);
37 void case5_tiler_hex(int index, Cube_polygons *cube_polys);
38 void case5opp_tiler_hex(int index, Cube_polygons *cube_polys);
39 void case6_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue,
40  int CS_type, int index, Cube_polygons *cube_polys,
41  int disamb_flag);
42 void case6opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
43  double fvalue, int CS_type, int index,
44  Cube_polygons *cube_polys, int disamb_flag);
45 void case7_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue,
46  int CS_type, int index, Cube_polygons *cube_polys,
47  int disamb_flag);
48 void case7opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
49  double fvalue, int CS_type, int index,
50  Cube_polygons *cube_polys, int disamb_flag);
51 void case8_tiler_hex(int index, Cube_polygons *cube_polys);
52 void case8opp_tiler_hex(int index, Cube_polygons *cube_polys);
53 void case9_tiler_hex(int index, Cube_polygons *cube_polys);
54 void case9opp_tiler_hex(int index, Cube_polygons *cube_polys);
55 void case10_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
56  double fvalue, int CS_type, int index,
57  Cube_polygons *cube_polys, int disamb_flag);
58 void case10opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
59  double fvalue, int CS_type, int index,
60  Cube_polygons *cube_polys, int disamb_flag);
61 void case11_tiler_hex(int index, Cube_polygons *cube_polys);
62 void case11opp_tiler_hex(int index, Cube_polygons *cube_polys);
63 void case12_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
64  double fvalue, int CS_type, int index,
65  Cube_polygons *cube_polys, int disamb_flag);
66 void case12opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
67  double fvalue, int CS_type, int index,
68  Cube_polygons *cube_polys, int disamb_flag);
69 void case13_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
70  double fvalue, int CS_type, int index,
71  Cube_polygons *cube_polys, int disamb_flag);
72 void case13opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
73  double fvalue, int CS_type, int index,
74  Cube_polygons *cube_polys, int disamb_flag);
75 void case14_tiler_hex(int index, Cube_polygons *cube_polys);
76 void case14opp_tiler_hex(int index, Cube_polygons *cube_polys);
77 int choice_disambiguation(int disamb_flag, double fvalue, int CS_type,
78  double voxel0, double voxel1, double voxel2,
79  double voxel3);
80 
81 #endif /* HECMW_VIS_INTERSECTION_FIND_H_INCLUDED */
case2opp_tiler_hex
void case2opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:377
case9_tiler_hex
void case9_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:2138
case8_tiler_hex
void case8_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:2084
case3opp_tiler_hex
void case3opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:580
case6opp_tiler_hex
void case6opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:1243
case10_tiler_hex
void case10_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:2198
case3_tiler_hex
void case3_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:437
hecmwST_local_mesh
Definition: hecmw_struct.h:139
case9opp_tiler_hex
void case9opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:2168
point_convert
int point_convert(int point_index, Rotation_info *rot_info)
Definition: hecmw_vis_intersection_find.c:116
case0opp_tiler_hex
void case0opp_tiler_hex(Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:202
case4_tiler_hex
void case4_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:723
case2_tiler_hex
void case2_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:317
case13_tiler_hex
void case13_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:2818
separation_test
int separation_test(struct hecmwST_local_mesh *mesh, Cell *cell, int amb, double fvalue, int CS_type, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:131
hecmw_struct.h
case6_tiler_hex
void case6_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:993
case1opp_tiler_hex
void case1opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:269
choice_disambiguation
int choice_disambiguation(int disamb_flag, double fvalue, int CS_type, double voxel0, double voxel1, double voxel2, double voxel3)
Definition: hecmw_vis_intersection_find.c:3267
case8opp_tiler_hex
void case8opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:2111
_rotation_info_struct
Definition: hecmw_vis_SF_geom.h:245
_cell_struct
Definition: hecmw_vis_SF_geom.h:252
case13opp_tiler_hex
void case13opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:3006
get_hex_rotation_info
int get_hex_rotation_info(int rot_type, Rotation_info *rot_info)
Definition: hecmw_vis_intersection_find.c:11
case5opp_tiler_hex
void case5opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:894
case4opp_tiler_hex
void case4opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:758
case7opp_tiler_hex
void case7opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:1788
case11opp_tiler_hex
void case11opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:2420
case14opp_tiler_hex
void case14opp_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:3231
case14_tiler_hex
void case14_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:3195
case5_tiler_hex
void case5_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:793
case11_tiler_hex
void case11_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:2384
case1_tiler_hex
void case1_tiler_hex(int index, Cube_polygons *cube_polys)
Definition: hecmw_vis_intersection_find.c:221
case12_tiler_hex
void case12_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:2456
_cube_polygons_struct
Definition: hecmw_vis_SF_geom.h:239
case7_tiler_hex
void case7_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:1493
case10opp_tiler_hex
void case10opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:2291
case12opp_tiler_hex
void case12opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
Definition: hecmw_vis_intersection_find.c:2637
hecmw_vis_SF_geom.h