/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/visualizer/ |
H A D | hecmw_vis_mesh_extent.c | 48 double *voxel_dxyz, double *voxel_orig_xyz, double *extent, in calc_voxel_level() argument 61 extent_xyz[i] = voxel_dxyz[i]; in calc_voxel_level() 71 (voxel_orig_xyz[0] + voxel_dxyz[0] < extent[i * 6])) { in calc_voxel_level() 74 (voxel_orig_xyz[1] + voxel_dxyz[1] < extent[i * 6 + 2])) { in calc_voxel_level() 77 (voxel_orig_xyz[2] + voxel_dxyz[2] < extent[i * 6 + 4])) { in calc_voxel_level() 124 if (result_xyz[i * 3] != voxel_dxyz[i * 3]) { in calc_voxel_level() 125 level[i * 3] = (int)(voxel_dxyz[i * 3] / result_xyz[i * 3]); in calc_voxel_level() 128 if (result_xyz[i * 3 + 1] != voxel_dxyz[i * 3 + 1]) { in calc_voxel_level() 129 level[i * 3 + 1] = (int)(voxel_dxyz[i * 3 + 1] / result_xyz[i * 3 + 1]); in calc_voxel_level() 132 if (result_xyz[i * 3 + 2] != voxel_dxyz[i * 3 + 2]) { in calc_voxel_level() [all …]
|
H A D | hecmw_vis_voxel_gen.c | 16 double *voxel_dxyz, double *voxel_orig_xyz, int *level, in voxel_gen() argument 135 voxel_dxyz[(k * nv[1] * nv[0] + j * nv[0] + i) * 3] = dx; in voxel_gen() 136 voxel_dxyz[(k * nv[1] * nv[0] + j * nv[0] + i) * 3 + 1] = dy; in voxel_gen() 137 voxel_dxyz[(k * nv[1] * nv[0] + j * nv[0] + i) * 3 + 2] = dz; in voxel_gen() 203 HECMW_Send(&(voxel_dxyz[j * 3]), 1, HECMW_DOUBLE, i, 0, VIS_COMM); in voxel_gen() 204 HECMW_Send(&(voxel_dxyz[j * 3 + 1]), 1, HECMW_DOUBLE, i, 0, VIS_COMM); in voxel_gen() 205 HECMW_Send(&(voxel_dxyz[j * 3 + 2]), 1, HECMW_DOUBLE, i, 0, VIS_COMM); in voxel_gen() 228 HECMW_Recv(&(voxel_dxyz[j * 3]), 1, HECMW_DOUBLE, 0, HECMW_ANY_TAG, in voxel_gen() 230 HECMW_Recv(&(voxel_dxyz[j * 3 + 1]), 1, HECMW_DOUBLE, 0, HECMW_ANY_TAG, in voxel_gen() 232 HECMW_Recv(&(voxel_dxyz[j * 3 + 2]), 1, HECMW_DOUBLE, 0, HECMW_ANY_TAG, in voxel_gen()
|
H A D | hecmw_vis_read_voxel.c | 11 int read_voxel_file(char *filename, int n_voxel, double *voxel_dxyz, in read_voxel_file() argument 24 ret = fscanf(fp, "%lf %lf %lf", &voxel_dxyz[j * 3], &voxel_dxyz[j * 3 + 1], in read_voxel_file() 25 &voxel_dxyz[j * 3 + 2]); in read_voxel_file()
|
H A D | hecmw_vis_pvr_main.c | 25 double *voxel_dxyz, *voxel_orig_xyz; variable 156 voxel_dxyz = (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() 183 transform_ucd_pvr(data, node1, mesh, vr, mynode, pesize, VIS_COMM, voxel_dxyz, 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() 694 av_length = sqrt(SQR(voxel_dxyz[mynode * 3] / nx) + in HECMW_vis_pvr_rendering() 733 dxyz[i] = voxel_dxyz[mynode * 3 + i]; in HECMW_vis_pvr_rendering() [all …]
|
H A D | hecmw_vis_read_voxel.h | 9 int read_voxel_file(char *filename, int n_voxel, double *voxel_dxyz,
|
H A D | hecmw_vis_new_refine.c | 401 double *voxel_dxyz, double *voxel_orig_xyz, int *level, in refinement() argument 439 dx = voxel_dxyz[m1 * 3] / (double)nx; in refinement() 440 dy = voxel_dxyz[m1 * 3 + 1] / (double)ny; in refinement() 441 dz = voxel_dxyz[m1 * 3 + 2] / (double)nz; in refinement() 446 maxx = voxel_orig_xyz[m1 * 3] + voxel_dxyz[m1 * 3]; in refinement() 448 maxy = voxel_orig_xyz[m1 * 3 + 1] + voxel_dxyz[m1 * 3 + 1]; in refinement() 450 maxz = voxel_orig_xyz[m1 * 3 + 2] + voxel_dxyz[m1 * 3 + 2]; in refinement()
|
H A D | hecmw_vis_mesh_extent.h | 14 double *voxel_dxyz, double *voxel_orig_xyz, double *extent,
|
H A D | hecmw_vis_voxel_gen.h | 12 double *voxel_dxyz, double *voxel_orig_xyz, int *level,
|
H A D | hecmw_vis_new_refine.h | 14 double *voxel_dxyz, double *voxel_orig_xyz, int *level,
|
H A D | hecmw_vis_ucd_trans.h | 17 double *voxel_dxyz, double *voxel_orig_xyz, int *level,
|
H A D | hecmw_vis_ucd_trans.c | 20 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 D | hecmw_vis_generate_histogram_vr.h | 24 void find_minmax_vr(double *voxel_dxyz, double *voxel_orig_xyz, int mynode,
|
H A D | hecmw_vis_define_parameters_vr.c | 337 void find_minmax(double *voxel_dxyz, double *voxel_orig_xyz, int mynode, in find_minmax() argument 342 (i % 2) * voxel_dxyz[mynode * 3 + i / 2]; in find_minmax()
|
H A D | hecmw_vis_generate_histogram_vr.c | 334 void find_minmax_vr(double *voxel_dxyz, double *voxel_orig_xyz, int mynode, in find_minmax_vr() argument 339 (i % 2) * voxel_dxyz[mynode * 3 + i / 2]; in find_minmax_vr()
|