FrontISTR  5.7.1
Large-scale structural analysis program with finit element method
hecmw_vis_patch_const.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_PATCH_CONST_H_INCLUDED
7 #define HECMW_VIS_PATCH_CONST_H_INCLUDED
8 
9 #include "hecmw_vis_SF_geom.h"
10 
11 /*----------------------------------------------------------------------
12 # Subroutines in this file on isosurface generation by Marching Cubes is
13 based
14  on the revision of Dr. Yuriko Takeshima's codes when she was working
15 part time in RIST
16 #---------------------------------------------------------------------- */
17 
18 int merge_vol_iso(int, Cell *, double, Cube_polygons *, double, Cube_polygons *,
19  int, int *, Point **, Point **, Point **, Polygon **);
20 int get_edge_index(int bound_index, int vert_index);
21 int get_vert_ident(int pindex, Cell *cell, double fvalue, int *sum_verts,
22  Point **CS_verts_tail, Point **CS_verts_refer,
23  Point **CS_verts_head, int bdflag);
24 int search_verts_table(Fgeom *pgeom, Point **CS_verts_refer, int bdflag,
25  int table_no);
26 int add_verts_table(Point **CS_verts_tail, int table_no, int pident,
27  double pfield, double cdata, Fgeom *pgeom, int bdflag);
28 int check_vertex(Cell *cell, double fvalue, Cube_polygons *cube_polys);
29 
30 #endif /* HECMW_VIS_PATCH_CONST_H_INCLUDED */
int add_verts_table(Point **CS_verts_tail, int table_no, int pident, double pfield, double cdata, Fgeom *pgeom, int bdflag)
int search_verts_table(Fgeom *pgeom, Point **CS_verts_refer, int bdflag, int table_no)
int merge_vol_iso(int, Cell *, double, Cube_polygons *, double, Cube_polygons *, int, int *, Point **, Point **, Point **, Polygon **)
int get_vert_ident(int pindex, Cell *cell, double fvalue, int *sum_verts, Point **CS_verts_tail, Point **CS_verts_refer, Point **CS_verts_head, int bdflag)
int check_vertex(Cell *cell, double fvalue, Cube_polygons *cube_polys)
int get_edge_index(int bound_index, int vert_index)