Skip to content
Snippets Groups Projects
Select Git revision
  • 82ef2ab118fb009c015bd2404bcb003f25d6d6d1
  • 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

MVertexBoundaryLayerData.cpp

Blame
  • MVertexBoundaryLayerData.cpp 821 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.
    
    #include "MVertexBoundaryLayerData.h"
    
    std::vector<MVertex *> *MVertexBoundaryLayerData::getChildren(int i)
    {
      if(i < (int)this->children.size() && i >= 0) {
        return &(children[i]);
      }
      else {
        return 0;
      }
    }
    
    int MVertexBoundaryLayerData::getNumChildren(int i)
    {
      if(i < (int)this->children.size() && i >= 0) {
        return (int)this->children[i].size();
      }
      else {
        return -1;
      }
    }
    
    int MVertexBoundaryLayerData::getNumChildrenFamilies()
    {
      return (int)this->children.size();
    }
    
    void MVertexBoundaryLayerData::addChildrenFamily(
      const std::vector<MVertex *> &family)
    {
      this->children.push_back(family);
    }