Skip to content
Snippets Groups Projects
Select Git revision
  • 8b29e5da62d892a388cf3c7d6f7be36b5be2a7b4
  • master default protected
  • alphashapes
  • quadMeshingTools
  • cygwin_conv_path
  • macos_arm64
  • add-transfiniteautomatic-to-geo
  • patch_releases_4_10
  • HierarchicalHDiv
  • isuruf-master-patch-63355
  • hyperbolic
  • hexdom
  • hxt_update
  • jf
  • 1618-pythonocc-and-gmsh-api-integration
  • octreeSizeField
  • hexbl
  • alignIrregularVertices
  • getEdges
  • patch_releases_4_8
  • isuruf-master-patch-51992
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
  • gmsh_4_8_4
  • gmsh_4_8_3
  • gmsh_4_8_2
  • gmsh_4_8_1
  • gmsh_4_8_0
  • gmsh_4_7_1
  • gmsh_4_7_0
41 results

qualityMeasures.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    graphicWindow.cpp 112.37 KiB
    // Gmsh - Copyright (C) 1997-2013 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // bugs and problems to the public mailing list <gmsh@geuz.org>.
    
    #include "GmshConfig.h"
    #include "GmshDefines.h"
    #if !defined(HAVE_NO_STDINT_H)
    #include <stdint.h>
    #elif defined(HAVE_NO_INTPTR_T)
    typedef unsigned long intptr_t;
    #endif
    #include <string.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <time.h>
    #include <FL/Fl_Box.H>
    #include <FL/fl_ask.H>
    #include <FL/filename.H>
    #include <FL/Fl_Tree.H>
    #include "FlGui.h"
    #include "mainWindow.h"
    #include "paletteWindow.h"
    #include "graphicWindow.h"
    #include "optionWindow.h"
    #include "gamepadWindow.h"
    #include "statisticsWindow.h"
    #include "contextWindow.h"
    #include "visibilityWindow.h"
    #include "highOrderToolsWindow.h"
    #include "clippingWindow.h"
    #include "manipWindow.h"
    #include "fieldWindow.h"
    #include "pluginWindow.h"
    #include "helpWindow.h"
    #include "onelabGroup.h"
    #include "gmshLocalNetworkClient.h"
    #include "fileDialogs.h"
    #include "extraDialogs.h"
    #include "partitionDialog.h"
    #include "projectionEditor.h"
    #include "classificationEditor.h"
    #include "GModel.h"
    #include "PView.h"
    #include "PViewData.h"
    #include "PViewOptions.h"
    #include "OpenFile.h"
    #include "CreateFile.h"
    #include "findLinks.h"
    #include "GeoStringInterface.h"
    #include "CommandLine.h"
    #include "Options.h"
    #include "Context.h"
    #include "StringUtils.h"
    #include "Generator.h"
    #include "HighOrder.h"
    #include "OS.h"
    #if defined(HAVE_3M)
    #include "3M.h"
    #endif
    
    static void file_new_cb(Fl_Widget *w, void *data)
    {
     test:
      if(fileChooser(FILE_CHOOSER_CREATE, "New", "",
                     GModel::current()->getFileName().c_str())) {
        std::string name = fileChooserGetName(1);
        if(!StatFile(name)){
          if(fl_choice("File '%s' already exists.\n\nDo you want to erase it?",
                       "Cancel", "Erase", 0, name.c_str()))