24 #ifndef DBLDEF_MESHDATA
25 #define DBLDEF_MESHDATA
119 virtual bool shareSameNodes(
const int elemID1,
const int elemID2 )
const;
Definition: MeshData.h:31
BoundaryPlanes
Definition: MeshData.h:35
@ YZMinus
Definition: MeshData.h:36
@ ZXPlus
Definition: MeshData.h:39
@ ZXMinus
Definition: MeshData.h:38
@ XYMinus
Definition: MeshData.h:40
@ YZPlus
Definition: MeshData.h:37
@ XYPlus
Definition: MeshData.h:41
int m_numEdgeOneElement
Definition: MeshData.h:166
double * m_xCoordinatesOfNodes
Definition: MeshData.h:178
virtual bool shareSameEdges(const int elemID1, const int elemID2) const =0
double calcDistanceOfTwoNodes(const int nodeID0, const int nodeID1) const
Definition: MeshData.cpp:239
virtual int getMeshType() const =0
double calcHorizontalDistanceOfTwoNodes(const int nodeID0, const int nodeID1) const
Definition: MeshData.cpp:250
int getNumElemTotal() const
Definition: MeshData.cpp:113
virtual CommonParameters::locationXYZ getCenterCoord(const int iElem) const
Definition: MeshData.cpp:316
virtual bool shareSameNodes(const int elemID1, const int elemID2) const
Definition: MeshData.cpp:281
virtual void outputMeshDataToBinary() const =0
bool overlapTwoSegments(const CommonParameters::locationXY &startPointOf1stSegment, const CommonParameters::locationXY &endPointOf1stSegment, const CommonParameters::locationXY &startPointOf2ndSegment, const CommonParameters::locationXY &endPointOf2ndSegment) const
Definition: MeshData.cpp:454
int getNumNodeTotal() const
Definition: MeshData.cpp:118
double * m_yCoordinatesOfNodes
Definition: MeshData.h:181
bool intersectTwoSegments(const CommonParameters::locationXY &startPointOf1stSegment, const CommonParameters::locationXY &endPointOf1stSegment, const CommonParameters::locationXY &startPointOf2ndSegment, const CommonParameters::locationXY &endPointOf2ndSegment) const
Definition: MeshData.cpp:377
double getZCoordinatesOfNodes(const int iNode) const
Definition: MeshData.cpp:163
virtual double calcAreaOfFaceAtBottomOfMesh(const int iElem) const =0
double getYCoordinatesOfNodes(const int iNode) const
Definition: MeshData.cpp:150
bool does1stSegmentContain2ndSegment(const CommonParameters::locationXY &startPointOf1stSegment, const CommonParameters::locationXY &endPointOf1stSegment, const CommonParameters::locationXY &startPointOf2ndSegment, const CommonParameters::locationXY &endPointOf2ndSegment) const
Definition: MeshData.cpp:351
double * m_zCoordinatesOfNodes
Definition: MeshData.h:184
int getNumElemOnBoundaryPlanes(const int iPlane) const
Definition: MeshData.cpp:123
double caldDiffYOfTwoNodes(const int nodeID0, const int nodeID1) const
Definition: MeshData.cpp:267
int m_numNodeOnFaceOneElement
Definition: MeshData.h:169
double getXCoordinatesOfNodes(const int iNode) const
Definition: MeshData.cpp:136
virtual ~MeshData()
Definition: MeshData.cpp:64
MeshType
Definition: MeshData.h:44
@ NONCONFORMING_HEXA
Definition: MeshData.h:47
@ TETRA
Definition: MeshData.h:46
@ HEXA
Definition: MeshData.h:45
int getElemBoundaryPlanes(const int iPlane, const int iElem) const
Definition: MeshData.cpp:197
int m_numNeighborElement
Definition: MeshData.h:172
int getIDOfNeighborElement(const int iElem, const int num) const
Definition: MeshData.cpp:211
double caldDiffXOfTwoNodes(const int nodeID0, const int nodeID1) const
Definition: MeshData.cpp:260
int m_numElemTotal
Definition: MeshData.h:157
int * m_neighborElements
Definition: MeshData.h:187
virtual void outputMeshDataToVTK() const =0
virtual double calcVolume(const int elemID) const =0
double calcInnerProduct2D(const CommonParameters::locationXY &startCoordOf1stVec, const CommonParameters::locationXY &endCoordOf1stVec, const CommonParameters::locationXY &startCoordOf2ndVec, const CommonParameters::locationXY &endCoordOf2ndVec) const
Definition: MeshData.cpp:475
virtual void inputMeshData()=0
int m_numNodeOneElement
Definition: MeshData.h:163
int * m_elemBoundaryPlanes[6]
Definition: MeshData.h:199
virtual int getNodesOfElementsBoundaryPlanes(const int iPlane, const int iElem, const int iNode) const =0
void calcCoordOfIntersectionPointOfTwoLines(const CommonParameters::locationXY &coord1stLine1, const CommonParameters::locationXY &coord1stLine2, const CommonParameters::locationXY &coord2ndLine1, const CommonParameters::locationXY &coord2ndLine2, CommonParameters::locationXY &coordIntersectionPoint) const
Definition: MeshData.cpp:486
int m_numElemOnBoundaryPlanes[6]
Definition: MeshData.h:175
MeshData & operator=(const MeshData &rhs)
Definition: MeshData.cpp:107
int getNumNeighborElement() const
Definition: MeshData.cpp:232
int m_numNodeTotal
Definition: MeshData.h:160
double caldDiffZOfTwoNodes(const int nodeID0, const int nodeID1) const
Definition: MeshData.cpp:274
bool overlapTwoLines(const CommonParameters::locationXY &coord1stLine1, const CommonParameters::locationXY &coord1stLine2, const CommonParameters::locationXY &coord2ndLine1, const CommonParameters::locationXY &coord2ndLine2) const
Definition: MeshData.cpp:411
MeshData()
Definition: MeshData.cpp:39
double calcDistance(const CommonParameters::locationXY &point0, const CommonParameters::locationXY &point1) const
Definition: MeshData.cpp:344
int * m_nodesOfElements
Definition: MeshData.h:190
virtual double calcAreaOfFace(const int iElem, const int iFace) const =0
CommonParameters::locationXYZ calDiffOfCenters(const int iElem1, const int iElem2) const
Definition: MeshData.cpp:336
int getNodesOfElements(const int iElem, const int iNode) const
Definition: MeshData.cpp:176
Definition: CommonParameters.h:53
Definition: CommonParameters.h:38
Definition: MeshData.h:56
double Y
Definition: MeshData.h:58
double X
Definition: MeshData.h:57
Definition: MeshData.h:50
double X
Definition: MeshData.h:51
double Z
Definition: MeshData.h:53
double Y
Definition: MeshData.h:52