FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_vis_calc_attr.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_CALC_ATTR_H_INCLUDED
7 #define HECMW_VIS_CALC_ATTR_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 on the revision of Dr. Yuriko Takeshima's codes when she was working
14 # part time in RIST
15 #---------------------------------------------------------------------- */
16 
17 int get_point_geom(int point_index, Cell *cell, double fvalue,
18  Fgeom *point_geom, double *cdata, int disamb_flag);
19 void get_gridpoint(int voxel_index, Cell *cell, Fgeom *vert_geom,
20  double *cdata);
21 void get_edgepoint(int edge_index, Cell *cell, double fvalue, Fgeom *vert_geom,
22  double *cdata);
23 void get_insidepoint(int inside_index, Cell *cell, double fvalue,
24  Fgeom *vert_geom, double *cdata, int disamb_flag);
25 double linear_interpolate(double left, double right, double fvalue);
26 double calc_cross_field(double f00, double f10, double f11, double f01);
27 double facial_average(double f00, double f10, double f11, double f01);
28 
29 #endif /* HECMW_VIS_CALC_ATTR_H_INCLUDED */
get_insidepoint
void get_insidepoint(int inside_index, Cell *cell, double fvalue, Fgeom *vert_geom, double *cdata, int disamb_flag)
Definition: hecmw_vis_calc_attr.c:146
linear_interpolate
double linear_interpolate(double left, double right, double fvalue)
Definition: hecmw_vis_calc_attr.c:207
_fgeom_struct
Definition: hecmw_vis_SF_geom.h:179
facial_average
double facial_average(double f00, double f10, double f11, double f01)
Definition: hecmw_vis_calc_attr.c:227
_cell_struct
Definition: hecmw_vis_SF_geom.h:252
get_point_geom
int get_point_geom(int point_index, Cell *cell, double fvalue, Fgeom *point_geom, double *cdata, int disamb_flag)
Definition: hecmw_vis_calc_attr.c:18
get_gridpoint
void get_gridpoint(int voxel_index, Cell *cell, Fgeom *vert_geom, double *cdata)
Definition: hecmw_vis_calc_attr.c:33
calc_cross_field
double calc_cross_field(double f00, double f10, double f11, double f01)
Definition: hecmw_vis_calc_attr.c:218
get_edgepoint
void get_edgepoint(int edge_index, Cell *cell, double fvalue, Fgeom *vert_geom, double *cdata)
Definition: hecmw_vis_calc_attr.c:41
hecmw_vis_SF_geom.h