All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AnalysisMeshingModel Interface CATIMSHCriterion

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMSHCriterion
 

Usage: you can reimplement this interface by deriving the supplied CATMSHExtICriterion adapter class.


interface CATIMSHCriterion

Interface representing a finite element quality criterion.
Role: This interface should be re-implemented in order to add a new quality criteria in the finite element quality analysis.

BOA information: this interface CANNOT be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o Compute(CATMSHGeometricalEngine*,double&)
Computes the criterion for an finite element.
o GetInfos()
Returns informations on the quality criterion such as minimum and maximum value .
o GetMagnitude()
Returns the name of the unit of criteria, empty string by default
o GetName()
Returns the name of the quality criterion.
o IsImplemented(CATIMSHConnectivity*)
Determines whether the criterion can be computed for a given connectivity or not.
o IsVisible()
Returns if the criterion is useful by the mesh analysis quality.
o NeedGeometricSupport()
Returns if the criterion needs geometric support.

Methods


o Compute
public virtual HRESULT Compute(CATMSHGeometricalEngine* iGeometricalEngine,
double& ioCriterion)=0
Computes the criterion for an finite element.
Parameters:
iGeometricalEngine
Object which handles all informations on the finite element.
ioCriterion
The computed value of the quality criterion.
Returns:
An HRESULT.
Legal values:
S_OK
The computation is succesfull.
E_FAIL
The computation failed.
o GetInfos
public virtual const CATMSHCriterionInfos * GetInfos()const =0
Returns informations on the quality criterion such as minimum and maximum value ...
o GetMagnitude
public virtual const CATUnicodeString & GetMagnitude()const =0
Returns the name of the unit of criteria, empty string by default
Returns:

Possible values:
"Length"
The criterion is a length.
"Angle"
The criterion is an angle.
""
Empty string for criterion whitout unit.
"xx"
Any name of magnitude compatible with CATParmDictionary.
o GetName
public virtual const CATUnicodeString & GetName()const =0
Returns the name of the quality criterion.
o IsImplemented
public virtual HRESULT IsImplemented( const CATIMSHConnectivity* iConnectivity)=0
Determines whether the criterion can be computed for a given connectivity or not.
Parameters:
iConnectivity
The finite element connectivity to be tested.
Returns:
An HRESULT.
Legal values:
S_OK
The criterion can be computed.
E_FAIL
The criterion has no meaning.
o IsVisible
public virtual int IsVisible()const =0
Returns if the criterion is useful by the mesh analysis quality.
Returns:
An int.
Legal values:
0
The criterion is ignored.
1
The criterion is use.
o NeedGeometricSupport
public virtual int NeedGeometricSupport()const =0
Returns if the criterion needs geometric support.
Returns:
An int.
Legal values:
0
The criterion don't need geometric support.
1
The criterion needs geometric support.

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

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