![]() |
Chaste Commit::675f9facbe008c5eacb9006feaeb6423206579ea
|
#include <EdgeOperation.hpp>
Collaboration diagram for EdgeOperation:Public Member Functions | |
| EdgeOperation () | |
| EdgeOperation (EDGE_OPERATION operation, unsigned elementIndex, EdgeRemapInfo remapInfo, const bool isIndexRemapped=false) | |
| EdgeOperation (unsigned elementIndex, unsigned elementIndex2, EdgeRemapInfo remapInfo, EdgeRemapInfo remapInfo2) | |
| EDGE_OPERATION | GetOperation () const |
| unsigned | GetElementIndex () const |
| void | SetElementIndex (const unsigned index) |
| unsigned | GetElementIndex2 () const |
| void | SetElementIndex2 (const unsigned index) |
| const EdgeRemapInfo & | rGetRemapInfo () const |
| const EdgeRemapInfo & | rGetRemapInfo2 () const |
| bool | IsElementIndexRemapped () const |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
| EDGE_OPERATION | mOperation |
| unsigned | mElementIndex |
| unsigned | mElementIndex2 |
| EdgeRemapInfo | mRemapInfo |
| EdgeRemapInfo | mRemapInfo2 |
| bool | mIsElementIndexRemapped |
Friends | |
| class | boost::serialization::access |
Class for storing edge operation during remeshing.
Definition at line 62 of file EdgeOperation.hpp.
| EdgeOperation::EdgeOperation | ( | ) |
Default constructor.
Definition at line 38 of file EdgeOperation.cpp.
| EdgeOperation::EdgeOperation | ( | EDGE_OPERATION | operation, |
| unsigned | elementIndex, | ||
| EdgeRemapInfo | remapInfo, | ||
| const bool | isIndexRemapped = false |
||
| ) |
Constructor for add, split, node and edge merge operations.
| operation | which operation was performed |
| elementIndex | index of the element |
| remapInfo | remapping info |
| isIndexRemapped | indicates whether the operation has been recorded before elements changed their indices (defaults to false); e.g. when T2 swap occurs, node merging operation is recorded with element index that will be modified in RemoveDeletedNodesAndELements(). See also VertexBasedCellPopulation::Update(). |
Definition at line 42 of file EdgeOperation.cpp.
| EdgeOperation::EdgeOperation | ( | unsigned | elementIndex, |
| unsigned | elementIndex2, | ||
| EdgeRemapInfo | remapInfo, | ||
| EdgeRemapInfo | remapInfo2 | ||
| ) |
Constructor for the DIVIDE operation.
| elementIndex | an element index |
| elementIndex2 | another element index |
| remapInfo | edge remap info |
| remapInfo2 | edge remap info after cell division |
Definition at line 55 of file EdgeOperation.cpp.
| unsigned EdgeOperation::GetElementIndex | ( | ) | const |
Definition at line 73 of file EdgeOperation.cpp.
References mElementIndex.
| unsigned EdgeOperation::GetElementIndex2 | ( | ) | const |
Definition at line 83 of file EdgeOperation.cpp.
References mElementIndex2.
| EDGE_OPERATION EdgeOperation::GetOperation | ( | ) | const |
| bool EdgeOperation::IsElementIndexRemapped | ( | ) | const |
Definition at line 103 of file EdgeOperation.cpp.
References mIsElementIndexRemapped.
| const EdgeRemapInfo & EdgeOperation::rGetRemapInfo | ( | ) | const |
| const EdgeRemapInfo & EdgeOperation::rGetRemapInfo2 | ( | ) | const |
Definition at line 98 of file EdgeOperation.cpp.
References mRemapInfo2.
|
inlineprivate |
Archive the object.
| archive | the archive |
| version | the current version of this class |
Definition at line 96 of file EdgeOperation.hpp.
References mElementIndex, mElementIndex2, mIsElementIndexRemapped, mOperation, mRemapInfo, and mRemapInfo2.
| void EdgeOperation::SetElementIndex | ( | const unsigned | index | ) |
Modify element index on which edge operation has been performed.
| index | an element index |
Definition at line 78 of file EdgeOperation.cpp.
References mElementIndex.
| void EdgeOperation::SetElementIndex2 | ( | const unsigned | index | ) |
Modify element index of the second daughter cell.
| index | an element index |
Definition at line 88 of file EdgeOperation.cpp.
References mElementIndex2.
|
friend |
Needed for serialization.
Definition at line 88 of file EdgeOperation.hpp.
|
private |
Index of one element sharing the edge.
Definition at line 70 of file EdgeOperation.hpp.
Referenced by GetElementIndex(), serialize(), and SetElementIndex().
|
private |
Index of another element sharing the edge.
Definition at line 73 of file EdgeOperation.hpp.
Referenced by GetElementIndex2(), serialize(), and SetElementIndex2().
|
private |
If operation is recorded before element indices are changed. For example, if the operations recorded during T2 swap.
Definition at line 85 of file EdgeOperation.hpp.
Referenced by IsElementIndexRemapped(), and serialize().
|
private |
Type of edge operation.
Definition at line 67 of file EdgeOperation.hpp.
Referenced by GetOperation(), and serialize().
|
private |
Edge remap info.
Definition at line 76 of file EdgeOperation.hpp.
Referenced by rGetRemapInfo(), and serialize().
|
private |
Edge remap info after cell division.
Definition at line 79 of file EdgeOperation.hpp.
Referenced by rGetRemapInfo2(), and serialize().