Skip to content
Snippets Groups Projects
Select Git revision
  • c46c59e11354fa0a5697ecb5822a3f40008da476
  • master default protected
  • 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
  • convert_fdivs
  • 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

Distance.h

Blame
  • Distance.h 929 B
    // Gmsh - Copyright (C) 1997-2019 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 DISTANCE_H
    #define DISTANCE_H
    
    #include <string>
    #include "Plugin.h"
    #include "MVertex.h"
    
    extern "C" {
    GMSH_Plugin *GMSH_RegisterDistancePlugin();
    }
    
    class GMSH_DistancePlugin : public GMSH_PostPlugin {
    private:
      int _maxDim;
      PViewDataList *_data;
    
    public:
      GMSH_DistancePlugin();
      std::string getName() const { return "Distance"; }
      std::string getShortHelp() const { return "Compute distance to boundaries"; }
      std::string getHelp() const;
      std::string getAuthor() const { return "E. Marchandise"; }
      int getNbOptions() const;
      StringXNumber *getOption(int iopt);
      PView *execute(PView *);
      void printView(std::vector<GEntity *> &entities,
                     std::map<MVertex *, double> &distance_map);
    };
    
    #endif