dune-grid
2.1.1
|
Defines | |
#define | __GRAPE_PARTITIONDISPLAY_HH_ |
#define | NUM_OF_COLORS 32 |
Functions | |
static int | hm3_partition_draw_element (HELEMENT3D *, HM3_GENERAL *, void *, void *) |
static int | hm3_simpl_projection (HELEMENT3D *, HM3_GENERAL *, void *, void *) |
static int | hm3_simpl_test_if_proceed (HELEMENT3D *, HM3_GENERAL *, void *) |
GENMESHnD * | genmesh3d_switch_part_light_model_on_off () |
GENMESHnD * | genmesh3d_switch_part_diagnostic_on_off () |
GENMESHnD * | genmesh3d_switch_part_displaybar_on_off () |
static void | set_colors (int currProcs) |
static void | get_graphicdevice () |
static void | setThread (int t) |
void | initColorBarDisp () |
static void | colorbar_display (int nProcs) |
static void | hsv_to_rgb (VEC3 rgb, VEC3 hsv) |
GENMESHnD * | genmesh3d_partition_disp () |
void | initPartitionDisp (int mp) |
Variables | |
static double | shrink_size = 0.8 |
static double | color_intensity = .6 |
static int | light_on = TRUE |
static int | bar_on = TRUE |
static int | diag_on = FALSE |
static VEC3 | color [NUM_OF_COLORS] |
static BUTTON * | light_ctl = NULL |
static BUTTON * | bar_ctl = NULL |
static BUTTON * | diagnostic_ctl = NULL |
static int | last_element |
static int | last_partition |
static int | max_partition = 1 |
static int | thread = 0 |
static SUPROP_DEV | suprop |
static int * | globalNumberOfElements = 0 |
static double | globalTime = 0.0 |
static double | maxnoElements = 8000000 |
static double | maxTime = 200 |
static int * | globalLastStep = 0 |
static GRAPHICDEVICE * | dev = 0 |
static double | colorbarHeight = 1.8 |
static double | colorbarWidth = 0.07 |
static double | colorbarBoundingScale = 0.1 |
static double | colorbarX = -0.75 |
static double | colorbarY = -0.9 |
static double | colorbarZ = 0.9 |
static void(* | patch_normal )(const double *) |
static void(*)(*) | patch_color (const double *) |
static void(*)(*)(*) | patch_vertex (const double *) |
static void(*)(*)(*)(*) | begin_patch () |
static void(*)(*)(*)(*)(*) | end_patch () |
static void(*)(*)(*)(*)(*)(*) | move (const double *) |
static void(*)(*)(*)(*)(*)(*)(*) | draw (const double *) |
static void(*)(*)(*)(*)(*)(*)(*)(*) | text (const double *, const char *) |
static int | initColorBarDone = 0 |
static int | initialized = 0 |
#define __GRAPE_PARTITIONDISPLAY_HH_ |
#define NUM_OF_COLORS 32 |
Referenced by colorbar_display(), and set_colors().
static void colorbar_display | ( | int | nProcs | ) | [inline, static] |
References begin_patch, color, colorbarBoundingScale, colorbarHeight, colorbarWidth, colorbarX, colorbarY, colorbarZ, dev, diag_on, end_patch, globalNumberOfElements, globalTime, max_partition, maxnoElements, maxTime, NUM_OF_COLORS, patch_color, and patch_vertex.
Referenced by genmesh3d_partition_disp().
GENMESHnD* genmesh3d_partition_disp | ( | ) | [inline] |
References bar_ctl, bar_on, color_intensity, colorbar_display(), dev, diagnostic_ctl, genmesh3d_partition_disp(), globalNumberOfElements, hm3_partition_draw_element(), hm3_simpl_projection(), hm3_simpl_test_if_proceed(), initColorBarDisp(), last_element, last_partition, light_ctl, Dune::Alberta::max(), max_partition, set_colors(), shrink_size, suprop, and thread.
Referenced by genmesh3d_partition_disp(), and initPartitionDisp().
GENMESHnD* genmesh3d_switch_part_diagnostic_on_off | ( | ) | [inline] |
References diag_on, and diagnostic_ctl.
Referenced by initPartitionDisp().
GENMESHnD* genmesh3d_switch_part_displaybar_on_off | ( | ) | [inline] |
References bar_ctl, and bar_on.
Referenced by initPartitionDisp().
GENMESHnD* genmesh3d_switch_part_light_model_on_off | ( | ) | [inline] |
References light_ctl, and light_on.
Referenced by initPartitionDisp().
static void get_graphicdevice | ( | ) | [inline, static] |
References begin_patch, dev, draw, end_patch, move, patch_color, patch_normal, patch_vertex, and text.
Referenced by initColorBarDisp().
static int hm3_partition_draw_element | ( | HELEMENT3D * | helement, |
HM3_GENERAL * | general, | ||
void * | el_data, | ||
void * | action_arg | ||
) | [inline, static] |
References color, dev, globalNumberOfElements, last_element, light_on, shrink_size, suprop, and thread.
Referenced by genmesh3d_partition_disp().
int hm3_simpl_projection | ( | HELEMENT3D * | helement, |
HM3_GENERAL * | general, | ||
void * | el_data, | ||
void * | pa_data | ||
) | [inline, static] |
Referenced by genmesh3d_partition_disp().
int hm3_simpl_test_if_proceed | ( | HELEMENT3D * | helement, |
HM3_GENERAL * | general, | ||
void * | el_data | ||
) | [inline, static] |
Referenced by genmesh3d_partition_disp().
static void hsv_to_rgb | ( | VEC3 | rgb, |
VEC3 | hsv | ||
) | [inline, static] |
Referenced by set_colors().
void initColorBarDisp | ( | ) | [inline] |
References get_graphicdevice(), globalLastStep, globalNumberOfElements, max_partition, and set_colors().
Referenced by genmesh3d_partition_disp().
void initPartitionDisp | ( | int | mp | ) | [inline] |
static void set_colors | ( | int | currProcs | ) | [inline, static] |
References color, hsv_to_rgb(), and NUM_OF_COLORS.
Referenced by genmesh3d_partition_disp(), and initColorBarDisp().
BUTTON* bar_ctl = NULL [static] |
Referenced by genmesh3d_partition_disp(), and genmesh3d_switch_part_displaybar_on_off().
int bar_on = TRUE [static] |
Referenced by genmesh3d_partition_disp(), and genmesh3d_switch_part_displaybar_on_off().
void(*)(*)(*)(*) begin_patch() |
Referenced by colorbar_display(), and get_graphicdevice().
VEC3 color[NUM_OF_COLORS] [static] |
Referenced by colorbar_display(), hm3_partition_draw_element(), and set_colors().
double color_intensity = .6 [static] |
Referenced by genmesh3d_partition_disp().
double colorbarBoundingScale = 0.1 [static] |
Referenced by colorbar_display().
double colorbarHeight = 1.8 [static] |
Referenced by colorbar_display().
double colorbarWidth = 0.07 [static] |
Referenced by colorbar_display().
double colorbarX = -0.75 [static] |
Referenced by colorbar_display().
double colorbarY = -0.9 [static] |
Referenced by colorbar_display().
double colorbarZ = 0.9 [static] |
Referenced by colorbar_display().
GRAPHICDEVICE* dev = 0 [static] |
Referenced by colorbar_display(), genmesh3d_partition_disp(), get_graphicdevice(), and hm3_partition_draw_element().
int diag_on = FALSE [static] |
Referenced by colorbar_display(), and genmesh3d_switch_part_diagnostic_on_off().
BUTTON* diagnostic_ctl = NULL [static] |
Referenced by genmesh3d_partition_disp(), and genmesh3d_switch_part_diagnostic_on_off().
void(*)(*)(*)(*)(*)(*)(*) draw(const double *) |
Referenced by get_graphicdevice().
void(*)(*)(*)(*)(*) end_patch() |
Referenced by colorbar_display(), and get_graphicdevice().
int* globalLastStep = 0 [static] |
Referenced by initColorBarDisp().
int* globalNumberOfElements = 0 [static] |
Referenced by colorbar_display(), genmesh3d_partition_disp(), hm3_partition_draw_element(), and initColorBarDisp().
double globalTime = 0.0 [static] |
Referenced by colorbar_display().
int initColorBarDone = 0 [static] |
int initialized = 0 [static] |
int last_element [static] |
Referenced by genmesh3d_partition_disp(), and hm3_partition_draw_element().
int last_partition [static] |
Referenced by genmesh3d_partition_disp().
BUTTON* light_ctl = NULL [static] |
Referenced by genmesh3d_partition_disp(), and genmesh3d_switch_part_light_model_on_off().
int light_on = TRUE [static] |
Referenced by genmesh3d_switch_part_light_model_on_off(), and hm3_partition_draw_element().
int max_partition = 1 [static] |
Referenced by colorbar_display(), genmesh3d_partition_disp(), initColorBarDisp(), and initPartitionDisp().
double maxnoElements = 8000000 [static] |
Referenced by colorbar_display().
double maxTime = 200 [static] |
Referenced by colorbar_display().
void(*)(*)(*)(*)(*)(*) move(const double *) |
Referenced by get_graphicdevice().
void(*)(*) patch_color(const double *) |
Referenced by colorbar_display(), and get_graphicdevice().
void(* patch_normal)(const double *) [static] |
Referenced by get_graphicdevice().
void(*)(*)(*) patch_vertex(const double *) |
Referenced by colorbar_display(), and get_graphicdevice().
double shrink_size = 0.8 [static] |
Referenced by genmesh3d_partition_disp(), and hm3_partition_draw_element().
SUPROP_DEV suprop [static] |
Referenced by genmesh3d_partition_disp(), and hm3_partition_draw_element().
void(*)(*)(*)(*)(*)(*)(*)(*) text(const double *, const char *) |
Referenced by get_graphicdevice().
int thread = 0 [static] |