Skip to content
Snippets Groups Projects
Select Git revision
  • ee5fb92ee7b172beece30aa982b0b634737af730
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

LineReferenceSpace.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    MVertexBoundaryLayerData.cpp 821 B
    // 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>.
    
    #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(std::vector<MVertex*> family)
    {
      this->children.push_back(family);
    }