|
dune-grid
2.2.0
|
Classes | |
| struct | stackentry |
| struct | FctSelector::function_modifier |
| struct | FctSelector::chosen_function |
Namespaces | |
| namespace | FctSelector |
Defines | |
| #define | __GRAPE_HMESH_C__ |
| #define | STA(el) ((STACKENTRY *) (el)) |
| #define | FVAL_ON_NODE(b) (jump_data[b]) |
| #define | MINIMUM(a, b) (((a) > (b)) ? (b) : (a)) |
| #define | MAXIMUM(a, b) (((a) < (b)) ? (b) : (a)) |
| #define | FCT_NONE "none" |
| #define | FCT_ZERO "zero" |
| #define | SLT_DEFAULT "default" |
| #define | SYMBOL_LENGTH 8 |
Typedefs | |
| typedef struct stackentry | STACKENTRY |
| typedef struct FctSelector::function_modifier | FctSelector::function_modifier |
| typedef ::std::pair< const char *, const char * > | FctSelector::DataFunctionName_t |
Enumerations | |
| enum | FctSelector::function_modifier_index { FctSelector::fmtNone, FctSelector::fmtLog, FctSelector::fmtT_Fun } |
Functions | |
| GENMESHnD * | genmesh3d_switch_part_light_model_on_off () |
| GENMESHnD * | genmesh3d_switch_part_displaybar_on_off () |
| GENMESHnD * | genmesh3d_partition_disp () |
| DataFunctionName_t | FctSelector::getCurrentFunctionName (GRAPEMESH *mesh) |
| int | switchMethods (GENMESHnD *actHmesh) |
| static void | gFreeElement (ELEMENT *el) |
| static ELEMENT * | complete_element (ELEMENT *el, MESH_ELEMENT_FLAGS flags) |
| static double | dist (const double *x, const double *y) |
| static double | calc_hmax (HELEMENT *el) |
| static void | helementUpdate (DUNE_ELEM *elem, HELEMENT *grapeEl) |
| static HELEMENT * | first_macro (GENMESHnD *mesh, MESH_ELEMENT_FLAGS flag) |
| static HELEMENT * | next_macro (HELEMENT *el, MESH_ELEMENT_FLAGS flag) |
| static HELEMENT * | first_child (HELEMENT *ael, MESH_ELEMENT_FLAGS flag) |
| static HELEMENT * | next_child (HELEMENT *el, MESH_ELEMENT_FLAGS flag) |
| static HELEMENT * | select_child (HELEMENT *ael, double *parent_coord, double *child_coord, MESH_ELEMENT_FLAGS flag) |
| static ELEMENT * | first_element (GRAPEMESH *mesh, MESH_ELEMENT_FLAGS flag) |
| static ELEMENT * | next_element (ELEMENT *el, MESH_ELEMENT_FLAGS flag) |
| void | f_bounds (HELEMENT *el, double *min, double *max, void *function_data) |
| void | grape_get_vertex_estimate (HELEMENT *el, double *value, void *function_data) |
| double | grape_get_element_estimate (HELEMENT *el, void *function_data) |
| static void | dune_function_info (HELEMENT *el, F_EL_INFO *f_el_info, void *function_data) |
| static void | level_function_info (HELEMENT *el, F_EL_INFO *f_el_info, void *function_data) |
| void | printfFdata (DUNE_FDATA *fem) |
| void | printDuneFunc (DUNE_FDATA *df) |
| static void | evaluateFunction (DUNE_ELEM *elem, DUNE_FDATA *fem, int ind, double G_CONST *coord, double *val) |
| static void | f_real (HELEMENT *el, int ind, double G_CONST *coord, double *val, void *function_data) |
| static void | f_real_polOrd_zero (HELEMENT *el, int ind, double G_CONST *coord, double *val, void *function_data) |
| void | f_level (HELEMENT *el, int ind, double G_CONST *coord, double *val, void *function_data) |
| void | grapeInitScalarData (GRAPEMESH *grape_mesh, DUNE_FDATA *dfunc) |
| void | grapeAddLevelFunction (GRAPEMESH *grape_mesh) |
| void | addDataToHmesh (void *hmesh, DUNE_FDATA *data) |
| static ELEMENT * | copy_element (ELEMENT *el, MESH_ELEMENT_FLAGS flag) |
| static void | get_geometry_vertex_estimate (HELEMENT *helement, double *results) |
| static double | get_geometry_element_estimate (HELEMENT *helement) |
| HMESH * | get_partition_number (int *partition) |
| GRAPEMESH * | getMesh (const char *meshName="Dune Mesh") |
| GRAPEMESH * | getAndFreeMesh (GRAPEMESH *mesh=0) |
| void * | setupHmesh (const int noe, const int nov, const int maxlev, DUNE_DAT *dune, const char *meshName) |
| void | deleteHmesh (void *hmesh) |
| void | deleteFunctions (void *hmesh) |
| static void | addProjectUIF () |
| MESH2D * | mesh2d_isoline_disp () |
| MESH2D * | mesh2d_isoline_select_disp () |
| HPMESH2D * | hpmesh2d_isoline_disp () |
| GENMESH2D * | genmesh2d_isoline_disp () |
| GENMESH2D * | genmesh2d_isoline_select_disp () |
| GENMESH2D * | genmesh2d_geometry_graph_disp () |
| MESH2D * | mesh2d_vect_disp () |
| HPMESH2D * | hpmesh2d_pdegfine_disp () |
| GENMESH2D * | genmesh2d_chess_disp () |
| MESH2D * | mesh2d_flic_disp () |
| GENMESH3D * | genmesh3d_bnd_isoline_disp () |
| GENMESH3D * | genmesh3d_bnd_isoline_select_disp () |
| GENMESH3D * | genmesh3d_clip_isoline_multi_disp () |
| GENMESH3D * | genmesh3d_volume_disp () |
| MESH3D * | mesh3d_bnd_isoline_select_disp () |
| MESH3D * | mesh3d_bnd_isoline_disp () |
| static void | setMinMaxValuesToColorbars (const char *meshName, const double min, const double max) |
| GRAPEMESH * | setMinMaxValue () |
| void | colorBarMinMax (const double min, const double max) |
| static void | grape_add_remove_methods (void) |
| void | handleMesh (void *hmesh, bool gridMode) |
| void | addHmeshToTimeScene (void *timescene, double time, void *hmesh, int proc) |
| void | addHmeshToGlobalTimeScene (double time, void *hmesh, int proc) |
| DUNE_FDATA * | extractData (void *hmesh, int num) |
| void | copyFdata (F_DATA *copy, F_DATA *org) |
| static void | copyHmeshes (GRAPEMESH *orgMesh, GRAPEMESH *self) |
| static GRAPEMESH * | grape_mesh_interpol (GRAPEMESH *mesh1, GRAPEMESH *mesh2, double factor) |
| static HMESH * | next_f_data_send (void) |
| static HMESH * | prev_f_data_send (void) |
| SCENE * | scene_maxlevel_on_off () |
| SCENE * | scene_set_min_max_values () |
| GENMESH3D * | genmesh3d_switch_iterateLeafs_on_off () |
| static HELEMENT * | bnd_next_macro (HELEMENT *prevEl, MESH_ELEMENT_FLAGS flag) |
| static HELEMENT * | bnd_first_macro (GENMESHnD *mesh, MESH_ELEMENT_FLAGS flag) |
| HMESH * | genmesh_boundary_disp () |
| HMESH * | newHmeshHardCopy () |
Variables | |
| static const double | EPSILON = 1.0e-2 |
| static const double | INFTY = 999999. |
| static std::string | grapeMethodName |
| static int | ruler_bnd_id = 0 |
| #define __GRAPE_HMESH_C__ |
| #define FCT_NONE "none" |
| #define FCT_ZERO "zero" |
| #define FVAL_ON_NODE | ( | b | ) | (jump_data[b]) |
| #define MAXIMUM | ( | a, | |
| b | |||
| ) | (((a) < (b)) ? (b) : (a)) |
| #define MINIMUM | ( | a, | |
| b | |||
| ) | (((a) > (b)) ? (b) : (a)) |
| #define SLT_DEFAULT "default" |
| #define STA | ( | el | ) | ((STACKENTRY *) (el)) |
| #define SYMBOL_LENGTH 8 |
| typedef struct stackentry STACKENTRY |
| void addDataToHmesh | ( | void * | hmesh, |
| DUNE_FDATA * | data | ||
| ) | [inline] |
References grapeInitScalarData().
Referenced by Dune::GrapeDataDisplay< GridType >::addData(), and Dune::CombinedGrapeDisplay< DisplayType >::addDisplay().
| void addHmeshToGlobalTimeScene | ( | double | time, |
| void * | hmesh, | ||
| int | proc | ||
| ) | [inline] |
| void addHmeshToTimeScene | ( | void * | timescene, |
| double | time, | ||
| void * | hmesh, | ||
| int | proc | ||
| ) | [inline] |
| static void addProjectUIF | ( | ) | [inline, static] |
Referenced by handleMesh().
| static HELEMENT* bnd_first_macro | ( | GENMESHnD * | mesh, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References bnd_next_macro(), first_macro(), and ruler_bnd_id.
Referenced by genmesh_boundary_disp().
| static HELEMENT* bnd_next_macro | ( | HELEMENT * | prevEl, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References next_macro(), and ruler_bnd_id.
Referenced by bnd_first_macro(), and genmesh_boundary_disp().
| static double calc_hmax | ( | HELEMENT * | el | ) | [inline, static] |
References dist().
Referenced by first_macro(), and next_macro().
| void colorBarMinMax | ( | const double | min, |
| const double | max | ||
| ) | [inline] |
References Dune::Alberta::max(), and Dune::Alberta::min().
| static ELEMENT* complete_element | ( | ELEMENT * | el, |
| MESH_ELEMENT_FLAGS | flags | ||
| ) | [inline, static] |
Referenced by setupHmesh().
| static ELEMENT* copy_element | ( | ELEMENT * | el, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
Referenced by setupHmesh().
| void copyFdata | ( | F_DATA * | copy, |
| F_DATA * | org | ||
| ) | [inline] |
Referenced by copyHmeshes().
| static void copyHmeshes | ( | GRAPEMESH * | orgMesh, |
| GRAPEMESH * | self | ||
| ) | [inline, static] |
References copyFdata().
Referenced by grape_mesh_interpol(), and newHmeshHardCopy().
| void deleteFunctions | ( | void * | hmesh | ) | [inline] |
Referenced by Dune::GrapeDataDisplay< GridType >::~GrapeDataDisplay().
| void deleteHmesh | ( | void * | hmesh | ) | [inline] |
| static double dist | ( | const double * | x, |
| const double * | y | ||
| ) | [inline, static] |
| static void dune_function_info | ( | HELEMENT * | el, |
| F_EL_INFO * | f_el_info, | ||
| void * | function_data | ||
| ) | [inline, static] |
Referenced by grapeInitScalarData().
| static void evaluateFunction | ( | DUNE_ELEM * | elem, |
| DUNE_FDATA * | fem, | ||
| int | ind, | ||
| double G_CONST * | coord, | ||
| double * | val | ||
| ) | [inline, static] |
Referenced by f_real(), and f_real_polOrd_zero().
| DUNE_FDATA* extractData | ( | void * | hmesh, |
| int | num | ||
| ) | [inline] |
| void f_bounds | ( | HELEMENT * | el, |
| double * | min, | ||
| double * | max, | ||
| void * | function_data | ||
| ) | [inline] |
Referenced by grapeAddLevelFunction(), and grapeInitScalarData().
| void f_level | ( | HELEMENT * | el, |
| int | ind, | ||
| double G_CONST * | coord, | ||
| double * | val, | ||
| void * | function_data | ||
| ) | [inline] |
Referenced by grapeAddLevelFunction().
| static void f_real | ( | HELEMENT * | el, |
| int | ind, | ||
| double G_CONST * | coord, | ||
| double * | val, | ||
| void * | function_data | ||
| ) | [inline, static] |
References evaluateFunction().
Referenced by grapeInitScalarData().
| static void f_real_polOrd_zero | ( | HELEMENT * | el, |
| int | ind, | ||
| double G_CONST * | coord, | ||
| double * | val, | ||
| void * | function_data | ||
| ) | [inline, static] |
References evaluateFunction().
Referenced by grapeInitScalarData().
| static HELEMENT* first_child | ( | HELEMENT * | ael, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References gFreeElement(), and helementUpdate().
Referenced by setupHmesh().
| static ELEMENT* first_element | ( | GRAPEMESH * | mesh, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References first_macro().
| static HELEMENT* first_macro | ( | GENMESHnD * | mesh, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References calc_hmax(), and helementUpdate().
Referenced by bnd_first_macro(), first_element(), genmesh_boundary_disp(), and setupHmesh().
| GENMESH2D* genmesh2d_chess_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| GENMESH2D* genmesh2d_geometry_graph_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| GENMESH2D* genmesh2d_isoline_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| GENMESH2D* genmesh2d_isoline_select_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| GENMESH3D* genmesh3d_bnd_isoline_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| GENMESH3D* genmesh3d_bnd_isoline_select_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| GENMESH3D* genmesh3d_clip_isoline_multi_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| 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().
| GENMESH3D* genmesh3d_switch_iterateLeafs_on_off | ( | ) |
| 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().
| GENMESH3D* genmesh3d_volume_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| HMESH* genmesh_boundary_disp | ( | ) | [inline] |
References bnd_first_macro(), bnd_next_macro(), first_macro(), next_macro(), and ruler_bnd_id.
Referenced by grape_add_remove_methods().
| static double get_geometry_element_estimate | ( | HELEMENT * | helement | ) | [inline, static] |
Referenced by setupHmesh().
| static void get_geometry_vertex_estimate | ( | HELEMENT * | helement, |
| double * | results | ||
| ) | [inline, static] |
Referenced by setupHmesh().
| HMESH* get_partition_number | ( | int * | partition | ) | [inline] |
Referenced by grape_add_remove_methods().
| GRAPEMESH* getAndFreeMesh | ( | GRAPEMESH * | mesh = 0 | ) | [inline] |
References getMesh().
Referenced by deleteHmesh().
| GRAPEMESH* getMesh | ( | const char * | meshName = "Dune Mesh" | ) | [inline] |
Referenced by getAndFreeMesh(), and setupHmesh().
| static void gFreeElement | ( | ELEMENT * | el | ) | [inline, static] |
Referenced by first_child(), next_child(), next_macro(), and setupHmesh().
| static void grape_add_remove_methods | ( | void | ) | [inline, static] |
| double grape_get_element_estimate | ( | HELEMENT * | el, |
| void * | function_data | ||
| ) | [inline] |
Referenced by grapeAddLevelFunction(), and grapeInitScalarData().
| void grape_get_vertex_estimate | ( | HELEMENT * | el, |
| double * | value, | ||
| void * | function_data | ||
| ) | [inline] |
Referenced by grapeAddLevelFunction(), and grapeInitScalarData().
| static GRAPEMESH* grape_mesh_interpol | ( | GRAPEMESH * | mesh1, |
| GRAPEMESH * | mesh2, | ||
| double | factor | ||
| ) | [inline, static] |
References copyHmeshes().
Referenced by grape_add_remove_methods().
| void grapeAddLevelFunction | ( | GRAPEMESH * | grape_mesh | ) | [inline] |
References f_bounds(), f_level(), grape_get_element_estimate(), grape_get_vertex_estimate(), and level_function_info().
Referenced by setupHmesh().
| void grapeInitScalarData | ( | GRAPEMESH * | grape_mesh, |
| DUNE_FDATA * | dfunc | ||
| ) | [inline] |
References dune_function_info(), f_bounds(), f_real(), f_real_polOrd_zero(), grape_get_element_estimate(), and grape_get_vertex_estimate().
Referenced by addDataToHmesh().
| void handleMesh | ( | void * | hmesh, |
| bool | gridMode | ||
| ) | [inline] |
References addProjectUIF(), FctSelector::getCurrentFunctionName(), grape_add_remove_methods(), removeLeafButton(), and setupLeafButton().
Referenced by Dune::GrapeDataDisplay< GridType >::dataDisplay(), Dune::CombinedGrapeDisplay< DisplayType >::display(), Dune::GrapeGridDisplay< GridType >::display(), Dune::GrapeDataDisplay< GridType >::display(), and Dune::GrapeDataDisplay< GridType >::displayVector().
| static void helementUpdate | ( | DUNE_ELEM * | elem, |
| HELEMENT * | grapeEl | ||
| ) | [inline, static] |
Referenced by first_child(), first_macro(), next_child(), and next_macro().
| HPMESH2D* hpmesh2d_isoline_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| HPMESH2D* hpmesh2d_pdegfine_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| static void level_function_info | ( | HELEMENT * | el, |
| F_EL_INFO * | f_el_info, | ||
| void * | function_data | ||
| ) | [inline, static] |
Referenced by grapeAddLevelFunction().
| MESH2D* mesh2d_flic_disp | ( | ) |
| MESH2D * mesh2d_isoline_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| MESH2D * mesh2d_isoline_select_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| MESH2D* mesh2d_vect_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| MESH3D* mesh3d_bnd_isoline_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| MESH3D* mesh3d_bnd_isoline_select_disp | ( | ) |
Referenced by setMinMaxValuesToColorbars().
| HMESH* newHmeshHardCopy | ( | ) | [inline] |
References copyHmeshes().
Referenced by grape_add_remove_methods().
| static HELEMENT* next_child | ( | HELEMENT * | el, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References gFreeElement(), and helementUpdate().
Referenced by setupHmesh().
| static ELEMENT* next_element | ( | ELEMENT * | el, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References next_macro().
| static HMESH* next_f_data_send | ( | void | ) | [inline, static] |
Referenced by grape_add_remove_methods().
| static HELEMENT* next_macro | ( | HELEMENT * | el, |
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
References calc_hmax(), gFreeElement(), and helementUpdate().
Referenced by bnd_next_macro(), genmesh_boundary_disp(), next_element(), and setupHmesh().
| static HMESH* prev_f_data_send | ( | void | ) | [inline, static] |
Referenced by grape_add_remove_methods().
| void printDuneFunc | ( | DUNE_FDATA * | df | ) | [inline] |
| void printfFdata | ( | DUNE_FDATA * | fem | ) | [inline] |
| SCENE* scene_maxlevel_on_off | ( | ) | [inline] |
Referenced by grape_add_remove_methods().
| SCENE* scene_set_min_max_values | ( | ) | [inline] |
References grapeMethodName.
Referenced by grape_add_remove_methods().
| static HELEMENT* select_child | ( | HELEMENT * | ael, |
| double * | parent_coord, | ||
| double * | child_coord, | ||
| MESH_ELEMENT_FLAGS | flag | ||
| ) | [inline, static] |
Referenced by setupHmesh().
| GRAPEMESH* setMinMaxValue | ( | ) | [inline] |
References Dune::Alberta::max(), Dune::Alberta::min(), and setMinMaxValuesToColorbars().
Referenced by grape_add_remove_methods().
| static void setMinMaxValuesToColorbars | ( | const char * | meshName, |
| const double | min, | ||
| const double | max | ||
| ) | [inline, static] |
References genmesh2d_chess_disp(), genmesh2d_geometry_graph_disp(), genmesh2d_isoline_disp(), genmesh2d_isoline_select_disp(), genmesh3d_bnd_isoline_disp(), genmesh3d_bnd_isoline_select_disp(), genmesh3d_clip_isoline_multi_disp(), genmesh3d_volume_disp(), hpmesh2d_isoline_disp(), hpmesh2d_pdegfine_disp(), Dune::Alberta::max(), mesh2d_isoline_disp(), mesh2d_isoline_select_disp(), mesh2d_vect_disp(), mesh3d_bnd_isoline_disp(), mesh3d_bnd_isoline_select_disp(), and Dune::Alberta::min().
Referenced by setMinMaxValue().
| void* setupHmesh | ( | const int | noe, |
| const int | nov, | ||
| const int | maxlev, | ||
| DUNE_DAT * | dune, | ||
| const char * | meshName | ||
| ) | [inline] |
References complete_element(), copy_element(), first_child(), first_macro(), get_geometry_element_estimate(), get_geometry_vertex_estimate(), getMesh(), gFreeElement(), grapeAddLevelFunction(), next_child(), next_macro(), and select_child().
Referenced by Dune::CombinedGrapeDisplay< DisplayType >::addDisplay(), and Dune::GrapeGridDisplay< GridType >::GrapeGridDisplay().
| int switchMethods | ( | GENMESHnD * | actHmesh | ) |
const double EPSILON = 1.0e-2 [static] |
std::string grapeMethodName [static] |
Referenced by scene_set_min_max_values().
const double INFTY = 999999. [static] |
int ruler_bnd_id = 0 [static] |
Referenced by bnd_first_macro(), bnd_next_macro(), and genmesh_boundary_disp().
1.7.6.1