Skip to content
Snippets Groups Projects
Select Git revision
  • 0a789359ee0e0db7e3d6b287d95fefc4c533f73d
  • master default protected
  • hierarchical-basis
  • alphashapes
  • bl
  • relaying
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • 3115-issue-fix
  • 3023-Fillet2D-Update
  • convert_fdivs
  • tmp_jcjc24
  • fixedMeshIF
  • save_edges
  • gmsh_4_14_0
  • gmsh_4_13_1
  • gmsh_4_13_0
  • gmsh_4_12_2
  • gmsh_4_12_1
  • gmsh_4_12_0
  • gmsh_4_11_1
  • 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
41 results

approximationError.cpp

Blame
  • gmsh.h 204.86 KiB
    // Gmsh - Copyright (C) 1997-2024 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file in the Gmsh root directory for license information.
    // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
    
    #ifndef GMSH_H
    #define GMSH_H
    
    // Gmsh is an automatic three-dimensional finite element mesh generator with a
    // built-in CAD engine and post-processor. Its design goal is to provide a fast,
    // light and user-friendly meshing tool with parametric input and flexible
    // visualization capabilities. Gmsh is built around four modules (geometry, mesh,
    // solver and post-processing), which can be controlled with the graphical user
    // interface, from the command line, using text files written in Gmsh's own
    // scripting language (.geo files), or through the C++, C, Python, Julia and
    // Fortran application programming interface (API).
    //
    // This file defines the Gmsh C++ API (v4.13.0).
    //
    // Do not edit this file directly: it is automatically generated by `api/gen.py'.
    //
    // By design, the Gmsh C++ API is purely functional, and only uses elementary
    // types from the C++ standard library. See `tutorials/c++' and `examples/api'
    // for tutorials and examples.
    
    #include <cmath>
    #include <vector>
    #include <string>
    #include <utility>
    #include <functional>
    
    #define GMSH_API_VERSION "4.13.0"
    #define GMSH_API_VERSION_MAJOR 4
    #define GMSH_API_VERSION_MINOR 13
    #define GMSH_API_VERSION_PATCH 0
    
    #if defined(GMSH_DLL)
    #if defined(GMSH_DLL_EXPORT)
    #define GMSH_API __declspec(dllexport)
    #else
    #define GMSH_API __declspec(dllimport)
    #endif
    #elif defined(__GNUC__)
    #define GMSH_API __attribute__ ((visibility("default")))
    #else
    #define GMSH_API
    #endif
    
    #ifndef M_PI
    #define M_PI (3.14159265358979323846)
    #endif
    
    namespace gmsh {
    
      // A model entity in the Gmsh API is represented by two integers: its
      // dimension (dim = 0, 1, 2 or 3) and its tag (its unique, strictly positive
      // identifier). When dealing with multiple model entities of possibly
      // different dimensions, the entities are packed as a vector of (dim, tag)
      // integer pairs.
      typedef std::vector<std::pair<int, int> > vectorpair;
    
    }
    
    namespace gmsh { // Top-level functions
    
      // gmsh::initialize
      //
      // Initialize the Gmsh API. This must be called before any call to the other
      // functions in the API. If `argc' and `argv' (or just `argv' in Python or Julia)
      // are provided, they will be handled in the same way as the command line