24 #ifndef DBLDEF_MESHDATA_TETRA_ELEMENT
25 #define DBLDEF_MESHDATA_TETRA_ELEMENT
50 const bool modLoc,
double& locXMod,
double& locYMod )
const;
59 void findElementsIncludingDipoleOnSurface(
const double locXStart,
const double locYStart,
const double locXEnd,
const double locYEnd, std::vector<int>& elements, std::vector<int>& faces,
60 std::vector<CommonParameters::AreaCoords>& areaCoordsdStartPoint, std::vector<CommonParameters::AreaCoords>& areaCoordsdEndPoint )
const;
63 virtual bool shareSameEdges(
const int elemID1,
const int elemID2 )
const;
66 virtual double calcVolume(
const int elemID )
const;
154 void testFuction()
const;
Definition: MeshDataTetraElement.h:32
virtual void inputMeshData()
Definition: MeshDataTetraElement.cpp:137
virtual void outputMeshDataToBinary() const
Definition: MeshDataTetraElement.cpp:1132
double getCoordZFromElementBoundaryPlanes(const int iPlane, const int iElem, const int num) const
Definition: MeshDataTetraElement.cpp:1429
double calcAreaWithSignFromAreaCoords(const int elemID, const int faceID, const CommonParameters::AreaCoords &coord0, const CommonParameters::AreaCoords &coord1, const CommonParameters::AreaCoords &coord2) const
Definition: MeshDataTetraElement.cpp:2012
int getNodeIDGlobalFromElementAndEdge(const int iElem, const int iEdge, const int num) const
Definition: MeshDataTetraElement.cpp:1344
int * m_elemOnLandSurface
Definition: MeshDataTetraElement.h:180
int getNodeIDGlobalFromElementAndEdgeBoundaryPlanes(const int iPlane, const int iElem, const int iEdge, const int num) const
Definition: MeshDataTetraElement.cpp:1438
double calcAreaOfFaceAtBottomOfMesh(const int iElem) const
Definition: MeshDataTetraElement.cpp:2070
double calcAreaOfFace(const int iElem, const int iFace) const
Definition: MeshDataTetraElement.cpp:2047
void calcVolumeCoordsOfPoint(const int elemID, const CommonParameters::locationXYZ &pointCoord, CommonParameters::VolumeCoords &coords) const
! :
Definition: MeshDataTetraElement.cpp:2115
void calcVolumeCoordFromAreaCoord(const int iFace, const CommonParameters::AreaCoords &areaCoord, CommonParameters::VolumeCoords &volumeCoord) const
Definition: MeshDataTetraElement.cpp:1941
virtual bool shareSameEdges(const int elemID1, const int elemID2) const
Definition: MeshDataTetraElement.cpp:1050
int getMeshType() const
Definition: MeshDataTetraElement.cpp:1278
double calcHorizontalCoordDifferenceBoundaryPlanes(const int iPlane, const int iElem, const int iEdge) const
Definition: MeshDataTetraElement.cpp:1812
static const double m_eps
Definition: MeshDataTetraElement.h:165
virtual int getNodesOfElementsBoundaryPlanes(const int iPlane, const int iElem, const int iNode) const
Definition: MeshDataTetraElement.cpp:1244
double calcXCoordOfPointOnFace(const int iElem, const int iFace, const CommonParameters::AreaCoords &areaCoord) const
Definition: MeshDataTetraElement.cpp:1839
int m_faceID2EdgeID[4][3]
Definition: MeshDataTetraElement.h:189
bool locateLeftOfSegmentOnZXPlaneOfBoundary(const int iPlane, const int iElem, const int iEdge, const CommonParameters::locationZX &point) const
Definition: MeshDataTetraElement.cpp:1646
virtual void outputMeshDataToVTK() const
Definition: MeshDataTetraElement.cpp:1097
int findElementIncludingPointOnSurface(const double locX, const double locY, int &faceID, CommonParameters::AreaCoords &localCoord, const bool useUpperElem, const bool modLoc, double &locXMod, double &locYMod) const
Definition: MeshDataTetraElement.cpp:388
void calcAreaCoordsOfPointOnZXPlaneOfBoundary(const int iPlane, const int iElem, const CommonParameters::CoordPair &point, CommonParameters::AreaCoords &coords) const
Definition: MeshDataTetraElement.cpp:2250
MeshDataTetraElement & operator=(const MeshDataTetraElement &rhs)
Definition: MeshDataTetraElement.cpp:1572
int m_edgeID2NodeID[6][2]
Definition: MeshDataTetraElement.h:192
int getNodeIDGlobalFromElementBoundaryPlanes(const int iPlane, const int iElem, const int num) const
Definition: MeshDataTetraElement.cpp:1383
double getCoordYFromElementBoundaryPlanes(const int iPlane, const int iElem, const int num) const
Definition: MeshDataTetraElement.cpp:1421
MeshDataTetraElement()
Definition: MeshDataTetraElement.cpp:44
int findElementIncludingPointOnYZPlaneAndReturnElemID2D(const int iPlane, const double locY, const double locZ, CommonParameters::AreaCoords &localCoord) const
Definition: MeshDataTetraElement.cpp:553
bool locateInsideOfFace(const int elemID, const int faceID, const CommonParameters::locationXYZ &loc) const
! :
Definition: MeshDataTetraElement.cpp:2339
bool locateLeftOfSegmentOnSeaSurface(const CommonParameters::locationXY &point, const CommonParameters::locationXY &startPointOfSegment, const CommonParameters::locationXY &endPointOfSegment) const
Definition: MeshDataTetraElement.cpp:1598
int findElementIncludingPoint(const double locX, const double locY, const double locZ, CommonParameters::VolumeCoords &localCoord) const
Definition: MeshDataTetraElement.cpp:356
double calcEdgeLengthProjectedOnHorizontalPlaneFromElementAndEdge(const int iElem, const int iEdge) const
Definition: MeshDataTetraElement.cpp:1747
void calcVolumeCoordsOfPointOnLandSurface(const int elemID, const int faceID, const CommonParameters::locationXY &pointCoord, CommonParameters::VolumeCoords &coords) const
Definition: MeshDataTetraElement.cpp:1700
double calcAreaOnXYPlaneWithSignFromAreaCoords(const int elemID, const int faceID, const CommonParameters::AreaCoords &coord0, const CommonParameters::AreaCoords &coord1, const CommonParameters::AreaCoords &coord2) const
Definition: MeshDataTetraElement.cpp:1981
int findElementIncludingPointOnZXPlaneAndReturnElemID2D(const int iPlane, const double locZ, const double locX, CommonParameters::AreaCoords &localCoord) const
Definition: MeshDataTetraElement.cpp:601
double getCoordXFromElementBoundaryPlanes(const int iPlane, const int iElem, const int num) const
Definition: MeshDataTetraElement.cpp:1413
int getNodeIDLocalFromEdgeIDLocal(const int iEdge, const int num) const
Definition: MeshDataTetraElement.cpp:1324
double calcEdgeLengthFromElementAndEdgeBoundaryPlanes(const int iPlane, const int iElem, const int iEdge) const
Definition: MeshDataTetraElement.cpp:1755
double calcEdgeLengthFromElementAndEdge(const int iElem, const int iEdge) const
Definition: MeshDataTetraElement.cpp:1738
void findElementsIncludingDipoleOnSurface(const double locXStart, const double locYStart, const double locXEnd, const double locYEnd, std::vector< int > &elements, std::vector< int > &faces, std::vector< CommonParameters::AreaCoords > &areaCoordsdStartPoint, std::vector< CommonParameters::AreaCoords > &areaCoordsdEndPoint) const
Definition: MeshDataTetraElement.cpp:648
int * m_facesOfElementsBoundaryPlanes[6]
Definition: MeshDataTetraElement.h:174
virtual ~MeshDataTetraElement()
Definition: MeshDataTetraElement.cpp:110
int * m_faceLandSurface
Definition: MeshDataTetraElement.h:183
double calcArea(const CommonParameters::CoordPair &point1, const CommonParameters::CoordPair &point2, const CommonParameters::CoordPair &point3) const
Definition: MeshDataTetraElement.cpp:1727
int getNodeIDGlobalFromElementAndFace(const int iElem, const int iFace, const int num) const
Definition: MeshDataTetraElement.cpp:1370
void calcAreaCoordsOfPointOnLandSurface(const int elemID, const int faceID, const CommonParameters::locationXY &pointCoord, CommonParameters::AreaCoords &coords) const
Definition: MeshDataTetraElement.cpp:2161
bool locateLeftOfSegmentOnYZPlaneOfBoundary(const int iPlane, const int iElem, const int iEdge, const CommonParameters::locationYZ &point) const
Definition: MeshDataTetraElement.cpp:1614
int m_faceID2NodeID[4][3]
Definition: MeshDataTetraElement.h:186
int m_numElemOnLandSurface
Definition: MeshDataTetraElement.h:177
double calcZCoordOfPointOnFace(const int iElem, const int iFace, const CommonParameters::AreaCoords &areaCoord) const
Definition: MeshDataTetraElement.cpp:1907
void calcAreaCoordsOfPointOnYZPlaneOfBoundary(const int iPlane, const int iElem, const CommonParameters::CoordPair &point, CommonParameters::AreaCoords &coords) const
Definition: MeshDataTetraElement.cpp:2209
double calcYCoordOfPointOnFace(const int iElem, const int iFace, const CommonParameters::AreaCoords &areaCoord) const
Definition: MeshDataTetraElement.cpp:1873
virtual double calcVolume(const int elemID) const
Definition: MeshDataTetraElement.cpp:1081
bool locateLeftOfSegmentOnLandSurface(const CommonParameters::locationXY &point, const CommonParameters::locationXY &startPointOfSegment, const CommonParameters::locationXY &endPointOfSegment) const
Definition: MeshDataTetraElement.cpp:1582
int getEdgeIDLocalFromFaceIDLocal(const int iFace, const int num) const
Definition: MeshDataTetraElement.cpp:1499
int getNodeIDLocalFromFaceIDLocal(const int iFace, const int num) const
Definition: MeshDataTetraElement.cpp:1304
int getFaceIDLocalFromElementBoundaryPlanes(const int iPlane, const int iElem) const
Definition: MeshDataTetraElement.cpp:1281
Definition: MeshData.h:31
Definition: CommonParameters.h:99
Definition: CommonParameters.h:112
Definition: CommonParameters.h:105
Definition: CommonParameters.h:53
Definition: CommonParameters.h:38
Definition: CommonParameters.h:43
Definition: CommonParameters.h:48