Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #include "EFAFragment.h" 11 : 12 : #include "EFAElement.h" 13 : #include "EFAFuncs.h" 14 : 15 324699 : EFAFragment::EFAFragment() {} 16 : 17 324699 : EFAFragment::~EFAFragment() {} 18 : 19 : std::vector<EFANode *> 20 7658 : EFAFragment::getCommonNodes(EFAFragment * other) const 21 : { 22 7658 : std::set<EFANode *> frag1_nodes = getAllNodes(); 23 7658 : std::set<EFANode *> frag2_nodes = other->getAllNodes(); 24 7658 : std::vector<EFANode *> common_nodes = Efa::getCommonElems(frag1_nodes, frag2_nodes); 25 7658 : return common_nodes; 26 : }