All Frameworks  Class Hierarchy  This Framework  Indexes   

AnalysisMeshingModel Class CATMSHGeometricalEngine

Usage: you can derive this class.


public class CATMSHGeometricalEngine

Object that handles necessary informations about a finite element in order to compute a quality criterion.
See CATIMSHCriterion.


Constructor and Destructor Index


o ~CATMSHGeometricalEngine()
Destructor.
o CATMSHGeometricalEngine(CATIMSHConnectivity*)
Constructs a geometrical engine corresponding to a given connectivity.

Method Index


o ComputeArea(int,int,double&)
Compute the area of a specified iNuFace, intermediates nodes are take account.
o GetCenter(double*&)
Returns the coordinates of the center of element.
o GetConnectivity()
Returns the connectivity associated with.
o GetCoordinates()
Returns a pointer to an array containing nodes coordinates in the following order: X0, Y0, Z0, X1, Y1, Z1, .
o GetCoordinates(int)
Returns a pointer to the array containing nodes coordinates of iNuNode in the following order: X, Y, Z .
o GetDimension()
Returns the dimension of the connectivity.
o GetMainAreas(double*&)
Returns the pointer of faces areas table (0 to NbFaces-1).
o GetMainEdge(int,CATMathVector&)
Returns the vector of the specified edge (ignore intermediate nodes).
o GetMainLengths(double*&)
Returns a pointer on the edges lengths table 0 to NbEdges-1.
o GetMainNormal(int,CATMathVector&)
Returns the direction of normal face specified ( 0 for 2D element), the intermediates nodes are ignored.
o GetMaxEdge()
Returns the maximum length of the edges.
o GetMinEdge()
Returns the minimum length of the edges.
o GetShapeFunction()
Returns the shape function associated with.
o Init(double* const[])
Initialize the geometrical engine with the geometry of a finite element.
o Init(CATMSHElement const* const)
Initialize the geometrical engine with the geometry of a finite element.
o SetCoordinates(int,double[])
Set coordinates of specified node.

Constructor and Destructor


o ~CATMSHGeometricalEngine
public virtual ~CATMSHGeometricalEngine()
Destructor.
o CATMSHGeometricalEngine
public CATMSHGeometricalEngine( const iConnectivity)
Constructs a geometrical engine corresponding to a given connectivity.
Parameters:
iConnectivity
Connectivity to be associated with.

Methods


o ComputeArea
public virtual ComputeArea( const iNuFace,
const iIntegrationType,
oArea)
Compute the area of a specified iNuFace, intermediates nodes are take account.
Parameters:
iNuFace
Local number of face, between 0 to NbFaces-1.
iIntegrationType
Type of numeric integration ( gauss scheme point of integration ).
Legal values:
0
CATMSHCentroid.
1
CATMSHLowPrecision.
2
CATMSHMediumPrecision.
3
CATMSHHighPrecision.
oArea
Area of face.
o GetCenter
public GetCenter( const oCenter)
Returns the coordinates of the center of element.
Parameters:
oCenter
Center coordinates of element.
o GetConnectivity
public GetConnectivity()
Returns the connectivity associated with.
o GetCoordinates
public GetCoordinates()
Returns a pointer to an array containing nodes coordinates in the following order: X0, Y0, Z0, X1, Y1, Z1, ...
o GetCoordinates
public GetCoordinates( const iNuNode)
Returns a pointer to the array containing nodes coordinates of iNuNode in the following order: X, Y, Z ...
Parameters:
iNuNode
Local number of node, between 0 to NbNodes-1
o GetDimension
public GetDimension()
Returns the dimension of the connectivity.
o GetMainAreas
public GetMainAreas( const Areas)
Returns the pointer of faces areas table (0 to NbFaces-1). The areas are computed without take account intermediate nodes.
o GetMainEdge
public GetMainEdge( const iNuEdge,
oEdge)
Returns the vector of the specified edge (ignore intermediate nodes).
Parameters:
iNuEdge
Local number of edge, between 0 to NbEdges-1.
oEdge
Vector between first and second node of the edge.
o GetMainLengths
public GetMainLengths( const oLengths)
Returns a pointer on the edges lengths table 0 to NbEdges-1. The lengths are computed without take account intermediate nodes.
o GetMainNormal
public GetMainNormal( const iNuFace,
oNormal)
Returns the direction of normal face specified ( 0 for 2D element), the intermediates nodes are ignored.
Parameters:
iNuFace
Local number of face, between 0 to NbFaces-1.
oNormal
Normalized Vector at the center of the face.
Returns:
An HRESULT.
Legal values:
S_OK
Normal vector is normalized.
E_FAIL
Normal vector is null.
o GetMaxEdge
public virtual GetMaxEdge()
Returns the maximum length of the edges.
o GetMinEdge
public virtual GetMinEdge()
Returns the minimum length of the edges.
o GetShapeFunction
public GetShapeFunction()
Returns the shape function associated with.
o Init
public virtual Init( const iCoordinates)
Initialize the geometrical engine with the geometry of a finite element.
Parameters:
iCoordinates
iCoordinates array containning pointer coordinates in the following order : iCoordinates[0] pointer of the first coordinates of node 0. iCoordinates[1] pointer of the first coordinates of node 1. .. iCoordinates[NbNodes-1] pointer of the first coordinates of node the last node.
o Init
public virtual Init( iElement)
Initialize the geometrical engine with the geometry of a finite element.
Parameters:
iElement
Finite element to be used to initialize the geometrical engine.
o SetCoordinates
public virtual SetCoordinates( const iNuNode,
const iXYZ)
Set coordinates of specified node. This method invalidate all previous results like a call to Init.
Parameters:
iNuNode
Local number of node, between 0 to NbNodes-1.
iXYZ
New coordinates of node.

This object is included in the file: CATMSHGeometricalEngine.h
If needed, your Imakefile.mk should include the module: CATAmtModel

Copyright © 2003, Dassault Systèmes. All rights reserved.