This file is indexed.

/usr/include/gmsh/GenericRegion.h is in libgmsh-dev 3.0.6+dfsg1-1.

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
// Gmsh - Copyright (C) 1997-2017 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>.
//
// Contributed by Paul-Emile Bernard

#ifndef _GENERIC_REGION_H_
#define _GENERIC_REGION_H_

#include "GmshConfig.h"
#include "GRegion.h"

/* The set of Generic Entities is a generic interface to any other modeler.
   Callbacks (function pointers) are given, sending requests, enquiries, to the
   native modeler. */

class GenericRegion : public GRegion {
public:
  GenericRegion(GModel *m, int num, int _native_id);
  virtual ~GenericRegion();

  virtual GeomType geomType() const;

  ModelType getNativeType() const { return GenericModel; }
  virtual int getNativeInt()const{return id;};

  // TODO: When using GRegion->l_dirs and l_faces, what is the convention for
  // l_dirs ? For now, assuming positive value for normals pointing inside the
  // region.
  void addFace(GenericFace *ptr, int sign){
    l_dirs.push_back(sign);
    l_faces.push_back(ptr);
    ptr->addRegion(this);
  };

private:
  int id;
};

#endif