Sundance::SundanceSurf3DCalc Class Reference

List of all members.

Public Member Functions

 SundanceSurf3DCalc ()
virtual ~SundanceSurf3DCalc ()

Static Public Member Functions

static void 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 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]


Detailed Description

This class contains the computational methods which are necessary for the 3D surface and cut-cell calculations.

Definition at line 22 of file SundanceSurf3DCalc.hpp.


Constructor & Destructor Documentation

Sundance::SundanceSurf3DCalc::SundanceSurf3DCalc (  )  [inline]

empty Ctor

Definition at line 26 of file SundanceSurf3DCalc.hpp.

virtual Sundance::SundanceSurf3DCalc::~SundanceSurf3DCalc (  )  [inline, virtual]

empty Dtor

Definition at line 29 of file SundanceSurf3DCalc.hpp.


Member Function Documentation

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.

Parameters:
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 34 of file SundanceSurf3DCalc.cpp.

References Sundance::BrickCell, edegIndex, edgeFaces, edgeNeighboredges, SUNDANCE_MSG1, and SUNDANCE_MSG3.

Referenced by Sundance::GaussLobattoQuadrature::getAdaptedQuadWeights_surf().


Member Data Documentation

const int SundanceSurf3DCalc::edegIndex [static]

Initial value:

 { {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 51 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 55 of file SundanceSurf3DCalc.hpp.

Referenced by getCurveQuadPoints().

Initial value:

 { { 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 57 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 53 of file SundanceSurf3DCalc.hpp.

Site Contact