Public Member Functions | |
| SundanceSurf3DCalc () | |
| virtual | ~SundanceSurf3DCalc () |
Static Public Member Functions | |
| static void | getCurveQuadPoints (CellType maxCellType, int maxCellLID, const Mesh &mesh, const ParametrizedCurve ¶mCurve, const Array< Point > &brickPoints, Array< Point > &intersectPoints, Array< int > &edgeIndex, Array< int > &triangleIndex) |
Static Public Attributes | |
| static const int | edegIndex [12][2] |
| static const int | faceEdges [6][4] = { {0,1,3,5} , {0,2,4,8} , {1,2,6,9} , {3,4,7,10} , {5,6,7,11} , {8,9,10,11} } |
| static const int | edgeFaces [12][2] = { {0,1} , {0,2} , {1,2} , {0,3} , {1,3} , {0,4} , {2,4} , {3,4} , {1,5} , {2,5} , {3,5} , {4,5} } |
| static const int | edgeNeighboredges [12][12] |
This class contains the computational methods which are necessary for the 3D surface and cut-cell calculations.
Definition at line 64 of file SundanceSurf3DCalc.hpp.
| Sundance::SundanceSurf3DCalc::SundanceSurf3DCalc | ( | ) | [inline] |
empty Ctor
Definition at line 68 of file SundanceSurf3DCalc.hpp.
| virtual Sundance::SundanceSurf3DCalc::~SundanceSurf3DCalc | ( | ) | [inline, virtual] |
empty Dtor
Definition at line 71 of file SundanceSurf3DCalc.hpp.
| void SundanceSurf3DCalc::getCurveQuadPoints | ( | CellType | maxCellType, |
| int | maxCellLID, | ||
| const Mesh & | mesh, | ||
| const ParametrizedCurve & | paramCurve, | ||
| const Array< Point > & | brickPoints, | ||
| Array< Point > & | intersectPoints, | ||
| Array< int > & | edgeIndex, | ||
| Array< int > & | triangleIndex | ||
| ) | [static] |
method to compute the intersection surface between one curve and a brick cell. The resulted surface is represented by a triangle surface.
| maxCellType | [IN] |
| maxCellLID | [IN] |
| mesh | [IN] |
| paramCurve | [IN] the surface object |
| intersectPoints | [OUT] the array with the intersection points in the reference coordinate |
| brickPoints | [OUT] 12 points of the brick cell |
| edgeIndex | [OUT] the intersection points are by default on the edges of the brick |
| triangleIndex | [OUT] contains the triangles, the size of this vector is 3*nrTriags. |
Definition at line 76 of file SundanceSurf3DCalc.cpp.
References Sundance::BrickCell, edegIndex, edgeFaces, edgeNeighboredges, SUNDANCE_MSG1, and SUNDANCE_MSG3.
Referenced by Sundance::GaussLobattoQuadrature::getAdaptedQuadWeights_surf().
const int SundanceSurf3DCalc::edegIndex [static] |
{ {0,1} , {0,2} , {0,4} , {1,3} , {1,5} , {2,3} , {2,6} , {3,7} ,
{4,5} , {4,6} , {5,7} , {6,7} }
Definition at line 93 of file SundanceSurf3DCalc.hpp.
Referenced by getCurveQuadPoints().
const int SundanceSurf3DCalc::edgeFaces = { {0,1} , {0,2} , {1,2} , {0,3} , {1,3} , {0,4} , {2,4} , {3,4} , {1,5} , {2,5} , {3,5} , {4,5} } [static] |
Definition at line 97 of file SundanceSurf3DCalc.hpp.
Referenced by getCurveQuadPoints().
const int SundanceSurf3DCalc::edgeNeighboredges [static] |
{ { 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0 , 0} ,
{ 1 , 1 , 1 , 1 , 0 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,
{ 1 , 1 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 1 , 0 , 0} ,
{ 1 , 1 , 0 , 1 , 1 , 1 , 0 , 1 , 0 , 0 , 1 , 0} ,
{ 1 , 0 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 0 , 1 , 0} ,
{ 1 , 1 , 0 , 1 , 0 , 1 , 1 , 1 , 0 , 0 , 0 , 1} ,
{ 0 , 1 , 1 , 0 , 0 , 1 , 1 , 1 , 0 , 1 , 0 , 1} ,
{ 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1} ,
{ 1 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 1 , 1 , 1 , 1} ,
{ 0 , 1 , 1 , 0 , 0 , 0 , 1 , 0 , 1 , 1 , 1 , 1} ,
{ 0 , 0 , 0 , 1 , 1 , 0 , 0 , 1 , 1 , 1 , 1 , 1} ,
{ 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1} , }
Definition at line 99 of file SundanceSurf3DCalc.hpp.
Referenced by getCurveQuadPoints().
const int SundanceSurf3DCalc::faceEdges = { {0,1,3,5} , {0,2,4,8} , {1,2,6,9} , {3,4,7,10} , {5,6,7,11} , {8,9,10,11} } [static] |
Definition at line 95 of file SundanceSurf3DCalc.hpp.