~ubuntu-branches/debian/squeeze/gmsh/squeeze

« back to all changes in this revision

Viewing changes to Common/DefaultOptions.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2009-01-07 16:02:08 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090107160208-vklhtj69br5yw5bh
Tags: 2.2.6.dfsg-2
* debian/control: fixed lintian warning "debhelper-but-no-misc-depends"
* debian/watch: fixed lintian warning
  "debian-watch-file-should-mangle-version"

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
StringXString SolverOptions_String[] = {
96
96
  { F|O, "SocketName" , opt_solver_socket_name , 
97
97
#if defined(WIN32) && !defined(__CYGWIN__)
98
 
    "127.0.0.1:44122" , // use TCP/IP sockets by default on "pure" Windows
 
98
    "127.0.0.1:44122" , // use TCP/IP sockets by default on Windows
99
99
#else
100
100
    ".gmshsock" , // otherwise use Unix sockets by default
101
101
#endif
543
543
 
544
544
  { F|O, "DoubleBuffer" , opt_general_double_buffer , 1. ,
545
545
    "Use a double buffered graphic window (on Unix, should be set to 0 when working on a remote host without GLX)" },
 
546
  { F|O, "DrawAllModels" , opt_general_draw_all_models, 0. , 
 
547
    "Draw all loaded models (instead of drawing only the current one)" },
546
548
  { F|O, "DrawBoundingBoxes" , opt_general_draw_bounding_box, 0. ,
547
549
    "Draw bounding boxes" },
548
550
 
657
659
    "Horizontal position (in pixels) of the upper left corner of the menu window" }, 
658
660
  { F|S, "MenuPositionY" , opt_general_menu_position1 , 50. ,
659
661
    "Vertical position (in pixels) of the upper left corner of the menu window" }, 
 
662
  { F|S, "MessageAutoScroll" , opt_general_message_auto_scroll , 1. , 
 
663
    "Automatically scroll message window" }, 
660
664
  { F|S, "MessagePositionX" , opt_general_message_position0 , 650. , 
661
665
    "Horizontal position (in pixels) of the upper left corner of the message window" }, 
662
666
  { F|S, "MessagePositionY" , opt_general_message_position1 , 490. , 
784
788
 
785
789
  { F|O, "VectorType" , opt_general_vector_type , 4 ,
786
790
    "Default vector display type (for normals, etc.)" },
787
 
  { F|O, "Verbosity" , opt_general_verbosity , 3. ,
 
791
  { F|O, "Verbosity" , opt_general_verbosity , 4. ,
788
792
    "Level of information printed during processing (0=no information)" },
789
793
  { F|S, "VisibilityPositionX" , opt_general_visibility_position0 , 650. , 
790
794
    "Horizontal position (in pixels) of the upper left corner of the visibility window" }, 
865
869
  { F|O, "SurfaceNumbers" , opt_geometry_surfaces_num , 0. , 
866
870
    "Display surface numbers?" },
867
871
  { F|O, "SurfaceType" , opt_geometry_surface_type , 2. , 
868
 
    "Surface display type (0=cross, 1=wireframe, 2=solid" },
 
872
    "Surface display type (0=cross, 1=wireframe, 2=solid)" },
869
873
 
870
874
  { F|O, "Tangents" , opt_geometry_tangents , 0. ,
871
875
    "Display size of tangent vectors (in pixels)" },
882
886
 
883
887
StringXNumber MeshOptions_Number[] = {
884
888
  { F|O, "Algorithm" , opt_mesh_algo2d , ALGO_2D_MESHADAPT_DELAUNAY ,
885
 
    "2D mesh algorithm (1=MeshAdapt+Delaunay, 4=MeshAdapt, 5=Delaunay)" }, 
 
889
    "2D mesh algorithm (1=MeshAdapt+Delaunay, 4=MeshAdapt, 5=Delaunay, 6=Frontal)" }, 
886
890
  { F|O, "Algorithm3D" , opt_mesh_algo3d , 
887
891
#if defined(HAVE_TETGEN)
888
892
    ALGO_3D_TETGEN_DELAUNAY ,
897
901
 
898
902
  { F|O, "BdfFieldFormat" , opt_mesh_bdf_field_format , 1. , 
899
903
    "Field format for Nastran BDF files (0=free, 1=small, 2=large)" },
 
904
  { F|O, "Binary" , opt_mesh_binary , 0. , 
 
905
    "Write mesh files in binary format (if possible)" },
900
906
 
901
907
  { F|O, "C1Continuity" , opt_mesh_c1 , 0. ,
902
908
    "Impose C1 continuity to high order meshes (only valid in 2D plane and ElemenOrder = 2)" },
 
909
  { F|O, "ChacoArchitecture" , opt_mesh_partition_chaco_architecture, 1. ,
 
910
    "(Adv. Chaco): Parallel architecture topology (0=hypercube, 1-3=mesh dimensions)" },
 
911
  { F|O, "ChacoEigensolver" , opt_mesh_partition_chaco_eigensolver, 1. ,
 
912
    "(Adv. Chaco): Type of eigensolver for a spectral algorithm (0=Lanczos, 1=Multilevel RQI/Symmlq)" },
 
913
  { F|O, "ChacoEigTol" , opt_mesh_partition_chaco_eigtol, 1.E-3 ,
 
914
    "(Adv. Chaco): Tolerance of the eigensolver for spectral or multilevel-KL algorithms" },
 
915
  { F|O, "ChacoGlobalMethod" , opt_mesh_partition_chaco_global_method, 1. ,
 
916
    "Chaco partitioning algorithm (1=Multilevel-KL, 2=Spectral, 4=Linear, 5=Random, 6=Scattered)" },
 
917
  { F|O, "ChacoHypercubeDim" , opt_mesh_partition_chaco_ndims_tot, 2. ,
 
918
    "(Adv. Chaco): Dimensional partitioning for a hypercube topology" },
 
919
  { F|O, "ChacoLocalMethod" , opt_mesh_partition_chaco_local_method, 1. ,
 
920
    "(Adv. Chaco): Local partitioning algorithm" },
 
921
  { F|O, "ChacoMeshDim1" , opt_mesh_partition_chaco_mesh_dims1, 4. ,
 
922
    "(Adv. Chaco): Number of partitions in the first dimension of a mesh topology" },
 
923
  { F|O, "ChacoMeshDim2" , opt_mesh_partition_chaco_mesh_dims2, 1. ,
 
924
    "(Adv. Chaco): Number of partitions in the second dimension of a mesh topology" },
 
925
  { F|O, "ChacoMeshDim3" , opt_mesh_partition_chaco_mesh_dims3, 1. ,
 
926
    "(Adv. Chaco): Number of partitions in the third dimension of a mesh topology" },
 
927
  { F|O, "ChacoPartitionSection" , opt_mesh_partition_chaco_nsection, 1. ,
 
928
    "(Adv. Chaco): Partition by (1=bisection, 2=quadrisection, 3=octasection" },
 
929
  { F|O, "ChacoSeed" , opt_mesh_partition_chaco_seed, 7654321. ,
 
930
    "(Adv. Chaco): Seed for random number generator" },
 
931
  { F|O, "ChacoVMax" , opt_mesh_partition_chaco_vmax, 250. ,
 
932
    "(Adv. Chaco): Maximum vertices in a coarse graph (for multilevel-KL algorithm and Multilevel RQI/Symmlq eigensolver)" },
 
933
  { F|O, "ChacoParamINTERNAL_VERTICES" , opt_mesh_partition_chaco_internal_vertices, 0. ,
 
934
    "(Adv. Chaco): Parameter INTERNAL_VERTICES" },
 
935
  { F|O, "ChacoParamREFINE_MAP" , opt_mesh_partition_chaco_refine_map, 1. ,
 
936
    "(Adv. Chaco): Parameter REFINE_MAP" },
 
937
  { F|O, "ChacoParamREFINE_PARTITION" , opt_mesh_partition_chaco_refine_partition, 0. ,
 
938
    "(Adv. Chaco): Parameter REFINE_PARTITION" },
 
939
  { F|O, "ChacoParamTERMINAL_PROPOGATION" , opt_mesh_partition_chaco_terminal_propogation, 0. ,
 
940
    "(Adv. Chaco): Parameter TERMINAL_PROPOGATION" },
903
941
  { F|O, "CharacteristicLengthExtendFromBoundary" , opt_mesh_lc_extend_from_boundary, 1. ,
904
942
    "Extend characteristic lengths from the boundaries inside the surface/volume" },
905
943
  { F|O, "CharacteristicLengthFactor" , opt_mesh_lc_factor , 1.0 ,
906
944
    "Factor applied to all characteristic lengths" },
907
945
  { F|O, "CharacteristicLengthMin" , opt_mesh_lc_min, 0.0 ,
908
946
    "Minimum characteristic length" },
909
 
  { F|O, "CharacteristicLengthMax" , opt_mesh_lc_max, 1.e22 ,
 
947
  { F|O, "CharacteristicLengthMax" , opt_mesh_lc_max, 1.e22,
910
948
    "Maximum characteristic length" },
911
949
  { F|O, "CharacteristicLengthFromCurvature" , opt_mesh_lc_from_curvature , 0. ,
912
950
    "Compute characteristic lengths from curvature" },
950
988
  { F|O, "LineWidth" , opt_mesh_line_width , 1.0 , 
951
989
    "Display width of mesh lines (in pixels)" },
952
990
 
 
991
  { F|O, "MeshOnlyVisible" , opt_mesh_mesh_only_visible, 0. ,
 
992
    "Mesh only visible entities (experimental: use with caution!)" },
 
993
  { F|O, "MetisAlgorithm" , opt_mesh_partition_metis_algorithm, 1. ,
 
994
    "METIS partitioning algorithm (1=Recursive, 2=K-way)" },
 
995
  { F|O, "MetisEdgeMatching" , opt_mesh_partition_metis_edge_matching, 3. ,
 
996
    "(Adv. METIS): Determines the matching type (1=Random, 2=Heavy-Edge, 3=Sorted Heavy-Edge)" },
 
997
  { F|O, "MetisRefinementAlgorithm" , opt_mesh_partition_metis_refine_algorithm, 3. ,
 
998
    "(Adv. METIS): Algorithm for k-way refinement (1=Random, 2=Greedy, 3=Random with minimized connectivity)" },
953
999
  { F|O, "MinimumCirclePoints" , opt_mesh_min_circ_points, 7. ,
954
1000
    "Minimum number of points used to mesh a circle" },
955
1001
  { F|O, "MinimumCurvePoints" , opt_mesh_min_curv_points, 3. ,
956
1002
    "Minimum number of points used to mesh a (non-straight) curve" },
957
 
  { F|O, "MshBinary" , opt_mesh_msh_binary , 0. , 
958
 
    "Write MSH files in binary format?" },
959
1003
  { F|O, "MshFileVersion" , opt_mesh_msh_file_version , 2.0 , 
960
1004
    "Version of the MSH file format to use" },
961
1005
 
963
1007
    "Number of hexahedra in the current mesh (read-only)" },
964
1008
  { F, "NbNodes" , opt_mesh_nb_nodes , 0. , 
965
1009
    "Number of nodes in the current mesh (read-only)" },
 
1010
  { F|O, "NbPartitions" , opt_mesh_partition_num, 4. ,
 
1011
    "Number of partitions" },
966
1012
  { F, "NbPrisms" , opt_mesh_nb_prisms , 0. , 
967
1013
    "Number of prisms in the current mesh (read-only)" },
968
1014
  { F, "NbPyramids" , opt_mesh_nb_pyramids , 0. , 
981
1027
  { F|O, "OptimizeNetgen" , opt_mesh_optimize_netgen , 0. , 
982
1028
    "Optimize the mesh using Netgen to improve the quality of tetrahedral elements" },
983
1029
 
 
1030
  { F|O, "Partitioner" , opt_mesh_partition_partitioner, 2. ,
 
1031
    "Partitioner software (1=Chacho, 2=METIS)" },
984
1032
  { F|O, "Points" , opt_mesh_points , 0. , 
985
1033
    "Display mesh vertices (nodes)?" },
986
1034
  { F|O, "PointNumbers" , opt_mesh_points_num , 0. , 
1018
1066
 
1019
1067
  { F,   "SaveAll" , opt_mesh_save_all , 0. , 
1020
1068
    "Ignore Physical definitions and save all elements" },
 
1069
  { F,   "SaveParametric" , opt_mesh_save_parametric , 0. , 
 
1070
    "Save parametric coordinates of nodes" },
1021
1071
  { F,   "SaveGroupsOfNodes" , opt_mesh_save_groups_of_nodes , 0. , 
1022
1072
    "Save groups of nodes for each physical line and surface (UNV mesh format only)" },
1023
1073
  { F|O, "ScalingFactor" , opt_mesh_scaling_factor , 1.0 ,
1036
1086
    "Number of smoothing steps of internal edges for high order meshes" },
1037
1087
  { F|O, "SmoothNormals" , opt_mesh_smooth_normals , 0. , 
1038
1088
    "Smooth the mesh normals?" },
1039
 
  { F|O, "StlBinary" , opt_mesh_stl_binary , 0. , 
1040
 
    "Save STL files in binary format?" },
1041
1089
  { F|O, "SurfaceEdges" , opt_mesh_surfaces_edges , 1. , 
1042
1090
    "Display edges of surface mesh?" },
1043
1091
  { F|O, "SurfaceFaces" , opt_mesh_surfaces_faces , 0. , 
1049
1097
    "Display size of tangent vectors (in pixels)" }, 
1050
1098
  { F|O, "Tetrahedra" , opt_mesh_tetrahedra , 1. , 
1051
1099
    "Display mesh tetrahedra?" },
 
1100
  { F|O, "ToleranceEdgeLength" , opt_mesh_tolerance_edge_length, 0.0,
 
1101
    "Skip a model edge in mesh generation if its length is less than user's defined tolerance" },
1052
1102
  { F|O, "Triangles" , opt_mesh_triangles , 1. , 
1053
1103
    "Display mesh triangles?" },
1054
1104
 
1058
1108
    "Display faces of volume mesh?" },
1059
1109
  { F|O, "VolumeNumbers" , opt_mesh_volumes_num , 0. , 
1060
1110
    "Display volume mesh element numbers?" },
 
1111
  { F|O, "Voronoi" , opt_mesh_voronoi , 0. ,
 
1112
    "Display the voronoi diagram" },
 
1113
 
 
1114
  { F|O, "ZoneDefinition" , opt_mesh_zone_definition , 0. , 
 
1115
    "Method for defining a zone (0=single zone, 1=by partition, 2=by physical)" },
1061
1116
 
1062
1117
  { 0, NULL , NULL , 0. , NULL }
1063
1118
} ;
1428
1483
    "Save Eta quality measure in mesh statistics exported as post-processing views" },
1429
1484
  { F|O, "PostRho" , opt_print_pos_rho , 0. ,
1430
1485
    "Save Rho quality measure in mesh statistics exported as post-processing views" },
 
1486
  { F|O, "PostDisto" , opt_print_pos_disto , 0. ,
 
1487
    "Save Disto quality measure in mesh statistics exported as post-processing views" },
1431
1488
 
1432
1489
  { F|O, "TexAsEquation" , opt_print_tex_as_equation , 0. ,
1433
1490
    "Print all TeX strings as equations" },