/usr/include/gmsh/Gmsh.h is in libgmsh-dev 2.15.0+dfsg1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | // Gmsh - Copyright (C) 1997-2016 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@onelab.info>.
#ifndef _GMSH_H_
#define _GMSH_H_
#include <string>
#include "GmshMessage.h"
int GmshInitialize(int argc=0, char **argv=0);
int GmshSetMessageHandler(GmshMessage *callback);
GmshMessage *GmshGetMessageHandler();
int GmshSetBoundingBox(double xmin, double xmax,
double ymin, double ymax,
double zmin, double zmax);
int GmshSetOption(const std::string &category, const std::string &name,
std::string value, int index=0);
int GmshSetOption(const std::string &category, const std::string &name,
double value, int index=0);
int GmshSetOption(const std::string &category, const std::string &name,
unsigned int value, int index=0);
void GmshSetStringOption(const std::string &category, const std::string &name,
std::string value, int index=0);
void GmshSetNumberOption(const std::string &category, const std::string &name,
double value, int index=0);
void GmshSetColorOption(const std::string &category, const std::string &name,
unsigned int value, int index=0);
int GmshGetOption(const std::string &category, const std::string &name,
std::string &value, int index=0);
int GmshGetOption(const std::string &category, const std::string &name,
double &value, int index=0);
int GmshGetOption(const std::string &category, const std::string &name,
unsigned int &value, int index=0);
std::string GmshGetStringOption(const std::string &category, const std::string &name,
int index=0);
double GmshGetNumberOption(const std::string &category, const std::string &name,
int index=0);
unsigned int GmshGetColorOption(const std::string &category, const std::string &name,
int index=0);
int GmshRestoreDefaultOptions();
int GmshOpenProject(const std::string &fileName);
int GmshClearProject();
int GmshMergeFile(const std::string &fileName);
int GmshMergePostProcessingFile(const std::string &fileName);
int GmshWriteFile(const std::string &fileName);
int GmshFinalize();
int GmshBatch();
int GmshFLTK(int argc=0, char **argv=0);
#endif
|