/usr/include/gmsh/onelabUtils.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 | // 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 _ONELAB_UTILS_H_
#define _ONELAB_UTILS_H_
#include "onelab.h"
// onelab utility routines used both in the FLTK onelab server and in other
// onelab servers
namespace onelabUtils {
std::vector<std::string> getCommandLine(onelab::client *c);
std::string getMshFileName(onelab::client *c);
void guessModelName(onelab::client *c);
void initializeLoop(const std::string &level);
bool incrementLoop(const std::string &level);
std::vector<double> getRange(onelab::number &p);
bool updateGraph(const std::string &graphNum);
bool runGmshClient(const std::string &action, int meshAuto);
bool getFirstComputationFlag();
void setFirstComputationFlag(bool val);
bool haveSolverToRun();
double updateNumber(onelab::number &x, onelab::number &y, const bool readOnlyRange=false);
std::string updateString(onelab::string &x, onelab::string &y);
}
#endif
|