Skip to content
Snippets Groups Projects
Select Git revision
  • 900c980c645e1f229a4effe2f7aad1fc0a3d22cc
  • master default protected
  • ujwal_21_08_2024
  • dev_mm_pf
  • cyrielle
  • vinayak
  • dev_mm_torchSCRU
  • debug_mm_pf
  • newStructureNonLocal
  • Mohamed_stochasticDMN
  • dev_mm_bench
  • stochdmn
  • revert-351ff7aa
  • ujwal_29April2024
  • dev_mm_ann
  • mohamed_vevp
  • ujwal_debug
  • ujwal_2ndApril2024
  • ujwal_October_2023
  • gabriel
  • SFEM
  • v4.0
  • v3.2.3_multiplePhase
  • v3.5
  • v3.3.2
  • v3.4
  • v3.3
  • ver3.2
  • verJulienWork
  • ver3.1
  • ver2
  • ver1.1.2
  • ver1.1.1
  • ver1.1
34 results

Tree.cpp

Blame
  • 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);
    }