Skip to content
Snippets Groups Projects
Select Git revision
  • f62a888ab88477a8bbeb04a458fe06eb2f706591
  • master default protected
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • alphashapes
  • 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
  • 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

onelabUtils.h

Blame
  • onelabUtils.h 1.03 KiB
    // Gmsh - Copyright (C) 1997-2014 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@geuz.org>.
    
    #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, bool meshAuto);
      bool getFirstComputationFlag();
      void setFirstComputationFlag(bool val);
    
      double updateNumber(onelab::number &x, onelab::number &y, const bool readOnlyRange=false);
      std::string updateString(onelab::string &x, onelab::string &y);
    }
    
    #endif