MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / splitCell

Class splitCell

src/dynamicMesh/meshCut/splitCell/splitCell.H:52–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50\*---------------------------------------------------------------------------*/
51
52class splitCell
53{
54 // Private data
55
56 //- Unsplit cell label. Only uptodate if this cell is 'live'
57 // (i.e. no master or slave)
58 label celli_;
59
60 //- Parent splitCell or null
61 splitCell* parent_;
62
63 //- Cells replacing this or null
64 splitCell* master_;
65
66 splitCell* slave_;
67
68
69 // Private Member Functions
70
71 //- Disallow default bitwise copy construct
72 splitCell(const splitCell&);
73
74 //- Disallow default bitwise assignment
75 void operator=(const splitCell&);
76
77
78public:
79
80 // Constructors
81
82 //- Construct from cell number and parent
83 splitCell(const label celli, splitCell* parent);
84
85
86 //- Destructor
87 ~splitCell();
88
89
90 // Member Functions
91
92 // Access
93
94 label cellLabel() const
95 {
96 return celli_;
97 }
98
99 label& cellLabel()
100 {
101 return celli_;
102 }
103
104 splitCell* parent() const
105 {
106 return parent_;
107 }
108
109 splitCell*& parent()

Callers 1

splitCell.CFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected