Skip to content
Snippets Groups Projects
Select Git revision
  • c478e9b29a8a29f19538690022f70a5741c3956f
  • master default protected
  • overlaps_tags_and_distributed_export
  • overlaps_tags_and_distributed_export_rebased
  • relaying
  • alphashapes
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • 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

discreteFace.h

Blame
  • gmshc.h 155.18 KiB
    /*
     * Gmsh - Copyright (C) 1997-2020 C. Geuzaine, J.-F. Remacle
     *
     * See the LICENSE.txt file for license information. Please report all
     * issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
     */
    
    #ifndef GMSHC_H
    #define GMSHC_H
    
    /*
     * This file defines the Gmsh C API (v4.8.0).
     *
     * Do not edit it directly: it is automatically generated by `api/gen.py'.
     *
     * By design, the Gmsh C API is purely functional, and only uses elementary
     * C types. See `tutorial/c' and `demos/api' for examples.
     */
    
    #include <stddef.h>
    
    #define GMSH_API_VERSION "4.8.0"
    #define GMSH_API_VERSION_MAJOR 4
    #define GMSH_API_VERSION_MINOR 8
    #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
    #else
    #define GMSH_API
    #endif
    
    GMSH_API void gmshFree(void *p);
    GMSH_API void *gmshMalloc(size_t n);
    
    /* Initialize 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 arguments in the Gmsh app. If `readConfigFiles' is set, read system
     * Gmsh configuration files (gmshrc and gmsh-options). Initializing the API
     * sets the options "General.Terminal" to 1 and "General.AbortOnError" to 2. */
    GMSH_API void gmshInitialize(int argc, char ** argv,
                                 const int readConfigFiles,
                                 int * ierr);
    
    /* Finalize the Gmsh API. This must be called when you are done using the Gmsh
     * API. */
    GMSH_API void gmshFinalize(int * ierr);
    
    /* Open a file. Equivalent to the `File->Open' menu in the Gmsh app. Handling
     * of the file depends on its extension and/or its contents: opening a file
     * with model data will create a new model. */
    GMSH_API void gmshOpen(const char * fileName,
                           int * ierr);
    
    /* Merge a file. Equivalent to the `File->Merge' menu in the Gmsh app.
     * Handling of the file depends on its extension and/or its contents. Merging
     * a file with model data will add the data to the current model. */
    GMSH_API void gmshMerge(const char * fileName,
                            int * ierr);
    
    /* Write a file. The export format is determined by the file extension. */
    GMSH_API void gmshWrite(const char * fileName,
                            int * ierr);
    
    /* Clear all loaded models and post-processing data, and add a new empty