Home
last modified time | relevance | path

Searched refs:f_cen_point (Results 1 – 2 of 2) sorted by relevance

/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/visualizer/
H A Dhecmw_vis_new_refine.c181 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j] + fp[3][j]) / 4.0; in judge_inner_voxel_361()
182 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_361()
191 for (j = 0; j < 3; j++) p_c[j] = point[j] - f_cen_point[j]; in judge_inner_voxel_361()
239 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_351()
248 for (j = 0; j < 3; j++) p_c[j] = point[j] - f_cen_point[j]; in judge_inner_voxel_351()
277 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in judge_inner_voxel_351()
278 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_351()
287 for (j = 0; j < 3; j++) p_c[j] = point[j] - f_cen_point[j]; in judge_inner_voxel_351()
352 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in judge_inner_voxel_341()
353 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_341()
[all …]
H A Dhecmw_vis_tetra_intersect.c119 double fp[4][3], n_f[3], n_norm, f_cen_point[3], sign_f, n_c, c_c[3]; in find_intersection_tetra() local
235 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in find_intersection_tetra()
236 for (j = 0; j < 3; j++) c_c[j] = fp[3][j] - f_cen_point[j]; in find_intersection_tetra()
281 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in find_intersection_tetra()
282 for (j = 0; j < 3; j++) c_c[j] = fp[3][j] - f_cen_point[j]; in find_intersection_tetra()
395 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in find_intersection_tetra()
396 for (j = 0; j < 3; j++) c_c[j] = fp[3][j] - f_cen_point[j]; in find_intersection_tetra()