FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
hecmw_vis_resampling.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_RESAMPLING_H_INCLUDED
7#define HECMW_VIS_RESAMPLING_H_INCLUDED
8/*
9#include <stdio.h>
10#include <stdlib.h>
11#include <math.h>
12#include <string.h>
13#include <memory.h>
14#include "hecmw_struct.h"
15#include "hecmw_util.h"
16#include "hecmw_io.h"
17*/
18#define MASTER_PE 0
19
20#define PI 3.1415926
21#define HEX_N_NODE 8
22#define HEX_N_FACE 6
23#define HEX_NODE_INDEX 255 /* 2^8 */
24#define HEX_FACE_INDEX 63 /* 2^6 */
25
26#define MAX_LINE_LEN 256
27
28typedef struct surfacep_info {
29 double vertex[9];
30 double color[3];
33
34typedef struct head_surface_info {
38
39typedef struct in_surface {
42 double *vertex;
43 int *patch;
44 double *color;
46
47typedef struct voxel_info {
48 double dx;
49 double dy;
50 double dz;
51 double orig_x;
52 double orig_y;
53 double orig_z;
54 int level[3];
58
59typedef struct voxel_data {
63
64typedef struct extent_data {
65 double x_min;
66 double x_max;
67 double y_min;
68 double y_max;
69 double z_min;
70 double z_max;
72
73typedef struct cube_pointer_struct {
74 int code[3];
75 double field;
76 double grad[3];
78
80
81typedef struct cube_head_struct {
85typedef struct pvr_data {
86 int myID;
88 int level;
89 int flag;
90 double field;
91 double grad[3];
93
94typedef struct cont_data {
95 int n_var;
96 char **name;
98#endif /* HECMW_VIS_RESAMPLING_H_INCLUDED */
struct in_surface In_surface
struct surfacep_info Surfacep_info
struct extent_data Extent_data
struct voxel_info Voxel_info
struct pvr_data PVR_data
struct cube_pointer_struct Cube_point
struct voxel_data Voxel_data
struct head_surface_info Head_surfacep_info
struct cont_data Cont_data
struct cube_head_struct Cube_head
struct cube_pointer_struct * cube_link
struct cube_pointer_struct * next_point
Surfacep_info * next_patch
double grad[3]
struct surfacep_info * next_patch
Voxel_info * info