NeoPZ
Public Member Functions | Private Member Functions | List of all members
TPZHyperPlaneIntersect Class Reference

#include <pzhyperplane.h>

Public Member Functions

void Intersect (TPZGeoMesh &input, const TPZHyperPlane &plane, TPZGeoMesh &target)
 Compute the intersection of the geometric mesh with the plane (only leaf elements) More...
 
REAL EdgeIntersect (const TPZGeoElSide &gelside, const TPZHyperPlane &plane)
 Compute the intersection between the edge and the plane. More...
 

Private Member Functions

void Reorder (TPZGeoEl *gel, TPZGeoMesh &target, TPZVec< std::pair< int64_t, int64_t > > &sidenodepair)
 reorder the nodes to form a convex figure More...
 
int ReorderGeneral (TPZGeoMesh &target, TPZVec< std::pair< int64_t, int64_t > > &sidenodepair)
 a version which allows for more than 4 nodes More...
 

Detailed Description

Definition at line 69 of file pzhyperplane.h.

Member Function Documentation

◆ EdgeIntersect()

REAL TPZHyperPlaneIntersect::EdgeIntersect ( const TPZGeoElSide gelside,
const TPZHyperPlane plane 
)

Compute the intersection between the edge and the plane.

Definition at line 214 of file pzhyperplane.cpp.

References abs(), DebugStop, TPZHyperPlane::Distance(), TPZGeoElSide::Jacobian(), and TPZGeoElSide::X().

Referenced by Intersect().

◆ Intersect()

void TPZHyperPlaneIntersect::Intersect ( TPZGeoMesh input,
const TPZHyperPlane plane,
TPZGeoMesh target 
)

◆ Reorder()

void TPZHyperPlaneIntersect::Reorder ( TPZGeoEl gel,
TPZGeoMesh target,
TPZVec< std::pair< int64_t, int64_t > > &  sidenodepair 
)
private

reorder the nodes to form a convex figure

Definition at line 241 of file pzhyperplane.cpp.

References DebugStop, LOGPZ_DEBUG, TPZGeoMesh::NodeVec(), TPZNumeric::Norm(), TPZGeoEl::Print(), TPZNumeric::ProdVetorial(), and TPZManVector< T, NumExtAlloc >::Resize().

Referenced by Intersect().

◆ ReorderGeneral()

int TPZHyperPlaneIntersect::ReorderGeneral ( TPZGeoMesh target,
TPZVec< std::pair< int64_t, int64_t > > &  sidenodepair 
)
private

The documentation for this class was generated from the following files: