Home
last modified time | relevance | path

Searched refs:voxel_orig_xyz (Results 1 – 14 of 14) sorted by relevance

/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/visualizer/
H A Dhecmw_vis_mesh_extent.c48 double *voxel_dxyz, double *voxel_orig_xyz, double *extent, in calc_voxel_level() argument
70 if ((extent[i * 6 + 1] < voxel_orig_xyz[0]) || in calc_voxel_level()
71 (voxel_orig_xyz[0] + voxel_dxyz[0] < extent[i * 6])) { in calc_voxel_level()
73 } else if ((extent[i * 6 + 3] < voxel_orig_xyz[1]) || in calc_voxel_level()
74 (voxel_orig_xyz[1] + voxel_dxyz[1] < extent[i * 6 + 2])) { in calc_voxel_level()
76 } else if ((extent[i * 6 + 5] < voxel_orig_xyz[2]) || in calc_voxel_level()
77 (voxel_orig_xyz[2] + voxel_dxyz[2] < extent[i * 6 + 4])) { in calc_voxel_level()
H A Dhecmw_vis_voxel_gen.c16 double *voxel_dxyz, double *voxel_orig_xyz, int *level, in voxel_gen() argument
129 voxel_orig_xyz[(k * nv[1] * nv[0] + j * nv[0] + i) * 3] = in voxel_gen()
131 voxel_orig_xyz[(k * nv[1] * nv[0] + j * nv[0] + i) * 3 + 1] = in voxel_gen()
133 voxel_orig_xyz[(k * nv[1] * nv[0] + j * nv[0] + i) * 3 + 2] = in voxel_gen()
198 HECMW_Send(&(voxel_orig_xyz[j * 3]), 1, HECMW_DOUBLE, i, 0, VIS_COMM); in voxel_gen()
199 HECMW_Send(&(voxel_orig_xyz[j * 3 + 1]), 1, HECMW_DOUBLE, i, 0, in voxel_gen()
201 HECMW_Send(&(voxel_orig_xyz[j * 3 + 2]), 1, HECMW_DOUBLE, i, 0, in voxel_gen()
222 HECMW_Recv(&(voxel_orig_xyz[j * 3]), 1, HECMW_DOUBLE, 0, HECMW_ANY_TAG, in voxel_gen()
224 HECMW_Recv(&(voxel_orig_xyz[j * 3 + 1]), 1, HECMW_DOUBLE, 0, in voxel_gen()
226 HECMW_Recv(&(voxel_orig_xyz[j * 3 + 2]), 1, HECMW_DOUBLE, 0, in voxel_gen()
H A Dhecmw_vis_read_voxel.c12 double *voxel_orig_xyz, int *level, in read_voxel_file() argument
21 ret = fscanf(fp, "%lf %lf %lf", &voxel_orig_xyz[j * 3], in read_voxel_file()
22 &voxel_orig_xyz[j * 3 + 1], &voxel_orig_xyz[j * 3 + 2]); in read_voxel_file()
H A Dhecmw_vis_read_voxel.h10 double *voxel_orig_xyz, int *level,
H A Dhecmw_vis_pvr_main.c25 double *voxel_dxyz, *voxel_orig_xyz; variable
157 voxel_orig_xyz = (double *)HECMW_calloc(pesize * 3, sizeof(double)); in HECMW_vis_pvr_rendering()
161 if ((voxel_dxyz == NULL) || (voxel_orig_xyz == NULL) || (level == NULL) || in HECMW_vis_pvr_rendering()
176 read_voxel_file(vr->name_voxelfile, pesize, voxel_dxyz, voxel_orig_xyz, in HECMW_vis_pvr_rendering()
184 voxel_orig_xyz, level, voxel_n_neighbor_pe, in HECMW_vis_pvr_rendering()
201 calc_voxel_level(n_voxel, mesh, voxel_dxyz, voxel_orig_xyz, extent, level, in HECMW_vis_pvr_rendering()
288 refinement(mesh, node1, n_voxel, voxel_dxyz, voxel_orig_xyz, level, in HECMW_vis_pvr_rendering()
341 find_minmax_vr(voxel_dxyz, voxel_orig_xyz, mynode, range); in HECMW_vis_pvr_rendering()
735 orig_xyz[i] = voxel_orig_xyz[mynode * 3 + i]; in HECMW_vis_pvr_rendering()
1213 HECMW_free(voxel_orig_xyz); in HECMW_vis_pvr_rendering()
H A Dhecmw_vis_new_refine.c401 double *voxel_dxyz, double *voxel_orig_xyz, int *level, in refinement() argument
445 minx = voxel_orig_xyz[m1 * 3]; in refinement()
446 maxx = voxel_orig_xyz[m1 * 3] + voxel_dxyz[m1 * 3]; in refinement()
447 miny = voxel_orig_xyz[m1 * 3 + 1]; in refinement()
448 maxy = voxel_orig_xyz[m1 * 3 + 1] + voxel_dxyz[m1 * 3 + 1]; in refinement()
449 minz = voxel_orig_xyz[m1 * 3 + 2]; in refinement()
450 maxz = voxel_orig_xyz[m1 * 3 + 2] + voxel_dxyz[m1 * 3 + 2]; in refinement()
H A Dhecmw_vis_mesh_extent.h14 double *voxel_dxyz, double *voxel_orig_xyz, double *extent,
H A Dhecmw_vis_voxel_gen.h12 double *voxel_dxyz, double *voxel_orig_xyz, int *level,
H A Dhecmw_vis_new_refine.h14 double *voxel_dxyz, double *voxel_orig_xyz, int *level,
H A Dhecmw_vis_ucd_trans.h17 double *voxel_dxyz, double *voxel_orig_xyz, int *level,
H A Dhecmw_vis_ucd_trans.c20 double *voxel_dxyz, double *voxel_orig_xyz, int *level, in transform_ucd_pvr() argument
179 voxel_gen(range, c_range, vr->nv_xyz, voxel_dxyz, voxel_orig_xyz, level, in transform_ucd_pvr()
H A Dhecmw_vis_generate_histogram_vr.h24 void find_minmax_vr(double *voxel_dxyz, double *voxel_orig_xyz, int mynode,
H A Dhecmw_vis_define_parameters_vr.c337 void find_minmax(double *voxel_dxyz, double *voxel_orig_xyz, int mynode, in find_minmax() argument
341 range[i] = voxel_orig_xyz[mynode * 3 + i / 2] + in find_minmax()
H A Dhecmw_vis_generate_histogram_vr.c334 void find_minmax_vr(double *voxel_dxyz, double *voxel_orig_xyz, int mynode, in find_minmax_vr() argument
338 range[i] = voxel_orig_xyz[mynode * 3 + i / 2] + in find_minmax_vr()