www.mooseframework.org
EFAFragment.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #include "EFAFragment.h"
9 
10 #include "EFAElement.h"
11 #include "EFAFuncs.h"
12 
14 
16 
17 std::vector<EFANode *>
19 {
20  std::set<EFANode *> frag1_nodes = getAllNodes();
21  std::set<EFANode *> frag2_nodes = other->getAllNodes();
22  std::vector<EFANode *> common_nodes = Efa::getCommonElems(frag1_nodes, frag2_nodes);
23  return common_nodes;
24 }
std::vector< EFANode * > getCommonNodes(EFAFragment *other) const
Definition: EFAFragment.C:18
std::vector< T > getCommonElems(std::set< T > &v1, std::set< T > &v2)
Definition: EFAFuncs.h:68
virtual ~EFAFragment()
Definition: EFAFragment.C:15
virtual std::set< EFANode * > getAllNodes() const =0