Skip to content
Snippets Groups Projects
Select Git revision
  • 07070da8458b307f08234cdc4843ef7a0c4aaa74
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

BasisHierarchical1Form.h

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    gmshc.h 164.48 KiB
    /*
     * Gmsh - Copyright (C) 1997-2021 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