FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
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
17int get_point_geom(int point_index, Cell *cell, double fvalue,
18 Fgeom *point_geom, double *cdata, int disamb_flag);
19void get_gridpoint(int voxel_index, Cell *cell, Fgeom *vert_geom,
20 double *cdata);
21void get_edgepoint(int edge_index, Cell *cell, double fvalue, Fgeom *vert_geom,
22 double *cdata);
23void get_insidepoint(int inside_index, Cell *cell, double fvalue,
24 Fgeom *vert_geom, double *cdata, int disamb_flag);
25double linear_interpolate(double left, double right, double fvalue);
26double calc_cross_field(double f00, double f10, double f11, double f01);
27double facial_average(double f00, double f10, double f11, double f01);
28
29#endif /* HECMW_VIS_CALC_ATTR_H_INCLUDED */
double calc_cross_field(double f00, double f10, double f11, double f01)
double linear_interpolate(double left, double right, double fvalue)
double facial_average(double f00, double f10, double f11, double f01)
void get_gridpoint(int voxel_index, Cell *cell, Fgeom *vert_geom, double *cdata)
void get_insidepoint(int inside_index, Cell *cell, double fvalue, Fgeom *vert_geom, double *cdata, int disamb_flag)
void get_edgepoint(int edge_index, Cell *cell, double fvalue, Fgeom *vert_geom, double *cdata)
int get_point_geom(int point_index, Cell *cell, double fvalue, Fgeom *point_geom, double *cdata, int disamb_flag)