www.mooseframework.org
EFAFragment.h
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 #ifndef EFAFRAGMENT_H
9 #define EFAFRAGMENT_H
10 
11 #include <vector>
12 #include <map>
13 #include <set>
14 
15 class EFANode;
16 
18 {
19 public:
20  EFAFragment();
21  virtual ~EFAFragment();
22 
23  virtual void switchNode(EFANode * new_node, EFANode * old_node) = 0;
24  virtual bool containsNode(EFANode * node) const = 0;
25  virtual unsigned int getNumCuts() const = 0;
26  virtual unsigned int getNumCutNodes() const = 0;
27  virtual std::set<EFANode *> getAllNodes() const = 0;
28  virtual bool isConnected(EFAFragment * other_fragment) const = 0;
29  virtual void removeInvalidEmbeddedNodes(std::map<unsigned int, EFANode *> & EmbeddedNodes) = 0;
30 
31  // common methods
32  std::vector<EFANode *> getCommonNodes(EFAFragment * other) const;
33 };
34 
35 #endif
virtual unsigned int getNumCuts() const =0
std::vector< EFANode * > getCommonNodes(EFAFragment *other) const
Definition: EFAFragment.C:18
virtual bool isConnected(EFAFragment *other_fragment) const =0
virtual unsigned int getNumCutNodes() const =0
virtual bool containsNode(EFANode *node) const =0
virtual void removeInvalidEmbeddedNodes(std::map< unsigned int, EFANode * > &EmbeddedNodes)=0
virtual ~EFAFragment()
Definition: EFAFragment.C:15
virtual void switchNode(EFANode *new_node, EFANode *old_node)=0
virtual std::set< EFANode * > getAllNodes() const =0