459
460
{ F|O, "BackgroundGradient" , opt_general_background_gradient , 1. ,
460
461
"Draw background gradient (0=none, 1=vertical, 2=horizontal, 3=radial)" },
462
{ F, "Clip0" , opt_general_clip0 , 0. ,
463
"Enable clipping plane 0 (Geometry=2^0, Mesh=2^1, View[i]=2^(2+i))" },
464
463
{ F, "Clip0A" , opt_general_clip0a , 1.0 ,
465
464
"First coefficient in equation for clipping plane 0 (`A' in `AX+BY+CZ+D=0')" },
466
465
{ F, "Clip0B" , opt_general_clip0b , 0.0 ,
469
468
"Third coefficient in equation for clipping plane 0 (`C' in `AX+BY+CZ+D=0')" },
470
469
{ F, "Clip0D" , opt_general_clip0d , 0.0 ,
471
470
"Fourth coefficient in equation for clipping plane 0 (`D' in `AX+BY+CZ+D=0')" },
472
{ F, "Clip1" , opt_general_clip1 , 0.,
473
"Enable clipping plane 1 (Geometry=2^0, Mesh=2^1, View[i]=2^(2+i))" },
474
471
{ F, "Clip1A" , opt_general_clip1a , 1.0 ,
475
472
"First coefficient in equation for clipping plane 1" },
476
473
{ F, "Clip1B" , opt_general_clip1b , 0.0 ,
479
476
"Third coefficient in equation for clipping plane 1" },
480
477
{ F, "Clip1D" , opt_general_clip1d , 0.0 ,
481
478
"Fourth coefficient in equation for clipping plane 1" },
482
{ F, "Clip2" , opt_general_clip2 , 0.,
483
"Enable clipping plane 2 (Geometry=2^0, Mesh=2^1, View[i]=2^(2+i))" },
484
479
{ F, "Clip2A" , opt_general_clip2a , 1.0 ,
485
480
"First coefficient in equation for clipping plane 2" },
486
481
{ F, "Clip2B" , opt_general_clip2b , 0.0 ,
489
484
"Third coefficient in equation for clipping plane 2" },
490
485
{ F, "Clip2D" , opt_general_clip2d , 0.0 ,
491
486
"Fourth coefficient in equation for clipping plane 2" },
492
{ F, "Clip3" , opt_general_clip3 , 0.,
493
"Enable clipping plane 3 (Geometry=2^0, Mesh=2^1, View[i]=2^(2+i))" },
494
487
{ F, "Clip3A" , opt_general_clip3a , 1.0 ,
495
488
"First coefficient in equation for clipping plane 3" },
496
489
{ F, "Clip3B" , opt_general_clip3b , 0.0 ,
499
492
"Third coefficient in equation for clipping plane 3" },
500
493
{ F, "Clip3D" , opt_general_clip3d , 0.0 ,
501
494
"Fourth coefficient in equation for clipping plane 3" },
502
{ F, "Clip4" , opt_general_clip4 , 0.,
503
"Enable clipping plane 4 (Geometry=2^0, Mesh=2^1, View[i]=2^(2+i))" },
504
495
{ F, "Clip4A" , opt_general_clip4a , 1.0 ,
505
496
"First coefficient in equation for clipping plane 4" },
506
497
{ F, "Clip4B" , opt_general_clip4b , 0.0 ,
509
500
"Third coefficient in equation for clipping plane 4" },
510
501
{ F, "Clip4D" , opt_general_clip4d , 0.0 ,
511
502
"Fourth coefficient in equation for clipping plane 4" },
512
{ F, "Clip5" , opt_general_clip5 , 0.,
513
"Enable clipping plane 5 (Geometry=2^0, Mesh=2^1, View[i]=2^(2+i))" },
514
503
{ F, "Clip5A" , opt_general_clip5a , 1.0 ,
515
504
"First coefficient in equation for clipping plane 5" },
516
505
{ F, "Clip5B" , opt_general_clip5b , 0.0 ,
571
558
{ F|O, "GraphicsFontSize" , opt_general_graphics_fontsize , 17. ,
572
559
"Size of the font in the graphic window" },
573
{ F|S, "GraphicsHeight" , opt_general_viewport3 , 600. ,
560
{ F|S, "GraphicsHeight" , opt_general_graphics_size1 , 600. ,
574
561
"Height (in pixels) of the graphic window" },
575
562
{ F|S, "GraphicsPositionX" , opt_general_graphics_position0 , 50. ,
576
563
"Horizontal position (in pixels) of the upper left corner of the graphic window" },
577
564
{ F|S, "GraphicsPositionY" , opt_general_graphics_position1 , 50. ,
578
565
"Vertical position (in pixels) of the upper left corner of the graphic window" },
579
{ F|S, "GraphicsWidth" , opt_general_viewport2 , 600. ,
566
{ F|S, "GraphicsWidth" , opt_general_graphics_size0 , 600. ,
580
567
"Width (in pixels) of the graphic window" },
582
569
{ F|O, "InitialModule", opt_general_initial_context, 0. ,
659
646
"Horizontal position (in pixels) of the upper left corner of the menu window" },
660
647
{ F|S, "MenuPositionY" , opt_general_menu_position1 , 50. ,
661
648
"Vertical position (in pixels) of the upper left corner of the menu window" },
662
{ F|S, "MessageAutoScroll" , opt_general_message_auto_scroll , 1. ,
649
{ F|O, "MessageAutoScroll" , opt_general_message_auto_scroll , 1. ,
663
650
"Automatically scroll message window" },
664
651
{ F|S, "MessagePositionX" , opt_general_message_position0 , 650. ,
665
652
"Horizontal position (in pixels) of the upper left corner of the message window" },
714
701
{ F|O, "PolygonOffsetUnits" , opt_general_polygon_offset_units , 1. ,
715
702
"Polygon offset units (offset = factor * DZ + r * units)" },
717
{ F|O, "QuadricSubdivisions" , opt_general_quadric_subdivisions, 8. ,
704
{ F|O, "QuadricSubdivisions" , opt_general_quadric_subdivisions, 6. ,
718
705
"Number of subdivisions used to draw points or lines as spheres or cylinders" },
720
707
{ F, "RotationX" , opt_general_rotation0 , 0.0 ,
805
792
{ F|O, "AutoCoherence" , opt_geometry_auto_coherence , 1. ,
806
793
"Should all duplicate entities be automatically removed?" },
808
{ F|O, "CirclePoints" , opt_geometry_circle_points, 20. ,
809
"Number of points used to draw a circle/ellipse" },
795
{ F, "Clip" , opt_geometry_clip , 0.,
796
"Enable clipping planes? (Plane[i]=2^i, i=0,...,5)" },
811
798
{ F|O, "ExtrudeReturnLateralEntities" , opt_geometry_extrude_return_lateral, 1. ,
812
799
"Add lateral entities in lists returned by extrusion commands?" },
834
821
{ F|O, "Normals" , opt_geometry_normals , 0. ,
835
822
"Display size of normal vectors (in pixels)" },
823
{ F|O, "NumSubEdges" , opt_geometry_num_sub_edges , 20. ,
824
"Number of edge subdivisions between control points when displaying curves" },
837
826
{ F|O, "OCCFixSmallEdges" , opt_geometry_occ_fix_small_edges , 1. ,
838
827
"Fix small edges in STEP, IGES and BRep models" },
840
829
"Fix small faces in STEP, IGES and BRep models" },
841
830
{ F|O, "OCCSewFaces" , opt_geometry_occ_sew_faces , 0. ,
842
831
"Sew faces in STEP, IGES and BRep models" },
832
{ F, "OffsetX" , opt_geometry_offset0 , 0. ,
833
"Model diplay offset along X-axis (in model coordinates)" },
834
{ F, "OffsetY" , opt_geometry_offset1 , 0. ,
835
"Model diplay offset along Y-axis (in model coordinates)" },
836
{ F, "OffsetZ" , opt_geometry_offset2 , 0. ,
837
"Model diplay offset along Z-axis (in model coordinates)" },
843
838
{ F|O, "OldCircle" , opt_geometry_old_circle , 0. ,
844
839
"Use old circle description (compatibility option for old Gmsh geometries)" },
845
840
{ F|O, "OldNewReg" , opt_geometry_old_newreg , 1. ,
875
870
"Display size of tangent vectors (in pixels)" },
876
871
{ F|O, "Tolerance" , opt_geometry_tolerance, 1.e-6 ,
877
872
"Geometrical tolerance" },
873
{ F, "Transform" , opt_geometry_transform , 0. ,
874
"Transform model display coordinates (0=no, 1=scale)" },
875
{ F, "TransformXX" , opt_geometry_transform00 , 1. ,
876
"Element (1,1) of the 3x3 model display transformation matrix" },
877
{ F, "TransformXY" , opt_geometry_transform01 , 0. ,
878
"Element (1,2) of the 3x3 model display transformation matrix" },
879
{ F, "TransformXZ" , opt_geometry_transform02 , 0. ,
880
"Element (1,3) of the 3x3 model display transformation matrix" },
881
{ F, "TransformYX" , opt_geometry_transform10 , 0. ,
882
"Element (2,1) of the 3x3 model display transformation matrix" },
883
{ F, "TransformYY" , opt_geometry_transform11 , 1. ,
884
"Element (2,2) of the 3x3 model display transformation matrix" },
885
{ F, "TransformYZ" , opt_geometry_transform12 , 0. ,
886
"Element (2,3) of the 3x3 model display transformation matrix" },
887
{ F, "TransformZX" , opt_geometry_transform20 , 0. ,
888
"Element (3,1) of the 3x3 model display transformation matrix" },
889
{ F, "TransformZY" , opt_geometry_transform21 , 0. ,
890
"Element (3,2) of the 3x3 model display transformation matrix" },
891
{ F, "TransformZZ" , opt_geometry_transform22 , 1. ,
892
"Element (3,3) of the 3x3 model display transformation matrix" },
879
894
{ F|O, "Volumes" , opt_geometry_volumes , 0. ,
880
895
"Display geometry volumes? (not implemented yet)" },
950
965
"Compute characteristic lengths from curvature" },
951
966
{ F|O, "CharacteristicLengthFromPoints" , opt_mesh_lc_from_points , 1. ,
952
967
"Compute characteristic lengths from values given at geometry points" },
968
{ F, "Clip" , opt_mesh_clip , 0.,
969
"Enable clipping planes? (Plane[i]=2^i, i=0,...,5)" },
953
970
{ F|O, "ColorCarousel" , opt_mesh_color_carousel , 1. ,
954
971
"Mesh coloring (0=by element type, 1=by elementary entity, 2=by physical entity, 3=by partition)" },
955
972
{ F, "CpuTime" , opt_mesh_cpu_time , 0. ,
975
992
"Labels display frequency?" },
976
993
{ F|O, "LabelType" , opt_mesh_label_type , 0. ,
977
994
"Type of element label (0=element number, 1=elementary entity number, 2=physical entity number, 3=partition number, 4=coordinates)" },
995
{ F|O, "LcIntegrationPrecision" , opt_mesh_lc_integration_precision, 1.e-9 ,
996
"Accuracy of evaluation of the LC field for 1D mesh generation" },
978
997
{ F|O, "Light" , opt_mesh_light , 1. ,
979
998
"Enable lighting for the mesh" },
980
999
{ F|O, "LightLines" , opt_mesh_light_lines , 1. ,
1021
1040
"Number of triangles in the current mesh (read-only)" },
1022
1041
{ F|O, "Normals" , opt_mesh_normals , 0.0 ,
1023
1042
"Display size of normal vectors (in pixels)" },
1043
{ F|O, "NumSubEdges" , opt_mesh_num_sub_edges , 2. ,
1044
"Number of edge subdivisions when displaying high order elements" },
1025
1046
{ F|O, "Optimize" , opt_mesh_optimize , 0. ,
1026
1047
"Optimize the mesh to improve the quality of tetrahedral elements" },
1059
1080
"Random factor used in 2D and 3D meshing algorithm (test other values when the algorithm fails)" },
1060
1081
{ F|O, "RefineSteps" , opt_mesh_refine_steps , 10 ,
1061
1082
"Number of refinement steps in the MeshAdapt-based 2D algorithms" },
1062
{ F|O, "RecombineAlgo" , opt_mesh_recombine_algo , 1 ,
1063
"Recombine algorithm (1=mixed triangles-quadrangles, 2=all quadrangles)" },
1064
1083
{ F|O, "ReverseAllNormals" , opt_mesh_reverse_all_normals , 0. ,
1065
1084
"Reverse all the mesh normals (for display)" },
1078
1097
"Create incomplete second order elements? (8-node quads, 20-node hexas, etc.)" },
1079
1098
{ F|O, "SecondOrderLinear" , opt_mesh_second_order_linear , 0. ,
1080
1099
"Should second order vertices simply be created by linear interpolation?" },
1081
{ F|O, "LcIntegrationPrecision" , opt_mesh_lc_integration_precision, 1.e-9 ,
1082
"Accuracy of evaluation of the LC field for 1D mesh generation" },
1083
1100
{ F|O, "Smoothing" , opt_mesh_nb_smoothing , 1. ,
1084
1101
"Number of smoothing steps applied to the final mesh" },
1085
1102
{ F|O, "SmoothInternalEdges" , opt_mesh_smooth_internal_edges , 0 ,
1086
1103
"Number of smoothing steps of internal edges for high order meshes" },
1087
1104
{ F|O, "SmoothNormals" , opt_mesh_smooth_normals , 0. ,
1088
1105
"Smooth the mesh normals?" },
1106
{ F|O, "SubdivisionAlgorithm" , opt_mesh_algo_subdivide , 0 ,
1107
"Mesh subdivision algorithm (0=none, 1=all quadrangles, 2=all hexahedra)" },
1089
1108
{ F|O, "SurfaceEdges" , opt_mesh_surfaces_edges , 1. ,
1090
1109
"Display edges of surface mesh?" },
1091
1110
{ F|O, "SurfaceFaces" , opt_mesh_surfaces_faces , 0. ,
1199
1218
StringXNumber ViewOptions_Number[] = {
1219
{ F|O, "AdaptVisualizationGrid" , opt_view_adapt_visualization_grid , 0. ,
1220
"Use adaptive visualization grid (for high-order elements)?" },
1200
1221
{ F|O, "AngleSmoothNormals" , opt_view_angle_smooth_normals , 30.0 ,
1201
1222
"Threshold angle below which normals are not smoothed" },
1202
{ F|O, "ArrowHeadRadius" , opt_view_arrow_head_radius , 0.12 ,
1203
"Relative radius of arrow head" },
1204
{ F|O, "ArrowSize" , opt_view_arrow_size , 60. ,
1205
"Display size of arrows (in pixels)" },
1206
{ F|O, "ArrowSizeProportional" , opt_view_arrow_size_proportional , 1. ,
1207
"Scale the arrows according to the norm of the vector" },
1208
{ F|O, "ArrowStemLength" , opt_view_arrow_stem_length , 0.56 ,
1209
"Relative length of arrow stem" },
1210
{ F|O, "ArrowStemRadius" , opt_view_arrow_stem_radius , 0.02 ,
1211
"Relative radius of arrow stem" },
1223
{ F|O, "ArrowSizeMax" , opt_view_arrow_size_max , 60. ,
1224
"Maximum display size of arrows (in pixels)" },
1225
{ F|O, "ArrowSizeMin" , opt_view_arrow_size_min , 0. ,
1226
"Minimum display size of arrows (in pixels)" },
1212
1227
{ F|O, "AutoPosition" , opt_view_auto_position , 1. ,
1213
1228
"Position the scale or 2D plot automatically" },
1214
1229
{ F|O, "Axes" , opt_view_axes , 0 ,
1242
1257
{ F|O, "CenterGlyphs" , opt_view_center_glyphs , 0,
1243
1258
"Center glyphs (arrows, numbers, etc.)" },
1259
{ F, "Clip" , opt_view_clip , 0.,
1260
"Enable clipping planes? (Plane[i]=2^i, i=0,...,5)" },
1244
1261
{ F|O, "ColormapAlpha" , opt_view_colormap_alpha , 1.0 ,
1245
1262
"Colormap alpha channel value (used only if != 1)" },
1246
1263
{ F|O, "ColormapAlphaPower" , opt_view_colormap_alpha_power , 0.0 ,
1401
1418
"Tensor Visualization Type" },
1402
1419
{ F, "TimeStep" , opt_view_timestep , 0. ,
1403
1420
"Current time step displayed" },
1404
{ F, "Transform11" , opt_view_transform00 , 1. ,
1421
{ F, "TransformXX" , opt_view_transform00 , 1. ,
1405
1422
"Element (1,1) of the 3x3 coordinate transformation matrix" },
1406
{ F, "Transform12" , opt_view_transform01 , 0. ,
1423
{ F, "TransformXY" , opt_view_transform01 , 0. ,
1407
1424
"Element (1,2) of the 3x3 coordinate transformation matrix" },
1408
{ F, "Transform13" , opt_view_transform02 , 0. ,
1425
{ F, "TransformXZ" , opt_view_transform02 , 0. ,
1409
1426
"Element (1,3) of the 3x3 coordinate transformation matrix" },
1410
{ F, "Transform21" , opt_view_transform10 , 0. ,
1427
{ F, "TransformYX" , opt_view_transform10 , 0. ,
1411
1428
"Element (2,1) of the 3x3 coordinate transformation matrix" },
1412
{ F, "Transform22" , opt_view_transform11 , 1. ,
1429
{ F, "TransformYY" , opt_view_transform11 , 1. ,
1413
1430
"Element (2,2) of the 3x3 coordinate transformation matrix" },
1414
{ F, "Transform23" , opt_view_transform12 , 0. ,
1431
{ F, "TransformYZ" , opt_view_transform12 , 0. ,
1415
1432
"Element (2,3) of the 3x3 coordinate transformation matrix" },
1416
{ F, "Transform31" , opt_view_transform20 , 0. ,
1433
{ F, "TransformZX" , opt_view_transform20 , 0. ,
1417
1434
"Element (3,1) of the 3x3 coordinate transformation matrix" },
1418
{ F, "Transform32" , opt_view_transform21 , 0. ,
1435
{ F, "TransformZY" , opt_view_transform21 , 0. ,
1419
1436
"Element (3,2) of the 3x3 coordinate transformation matrix" },
1420
{ F, "Transform33" , opt_view_transform22 , 1. ,
1437
{ F, "TransformZZ" , opt_view_transform22 , 1. ,
1421
1438
"Element (3,3) of the 3x3 coordinate transformation matrix" },
1422
1439
{ F, "Type" , opt_view_type , 1 ,
1423
1440
"Type of plot (1=3D, 2=2D space, 3=2D time)" },