MOAB: Mesh Oriented datABase  (version 5.4.1)
IdealShapeXY Class Reference

#include <TMPQualityMetricTest.hpp>

+ Inheritance diagram for IdealShapeXY:
+ Collaboration diagram for IdealShapeXY:

Public Member Functions

bool have_surface_orient () const
 Use 3x2 W for surface elements if true, 2x2 W if false.
bool get_surface_target (PatchData &pd, size_t element, Sample sample, MsqMatrix< 3, 2 > &W_out, MsqError &err)
 Get a target matrix.

Detailed Description

Definition at line 293 of file TMPQualityMetricTest.hpp.


Member Function Documentation

bool IdealShapeXY::get_surface_target ( PatchData pd,
size_t  element,
Sample  sample,
MsqMatrix< 3, 2 > &  W_out,
MsqError err 
) [inline, virtual]

Get a target matrix.

Parameters:
pdThe current PatchData
elementThe index an element within the patch data.
sampleThe sample point in the element.
W_outThe resulting target matrix.

Reimplemented from MBMesquite::IdealShapeTarget.

Definition at line 300 of file TMPQualityMetricTest.hpp.

References MBMesquite::MsqMatrix< R, C >::row(), and MBMesquite::MsqMatrix< R, C >::set_row().

    {
        MsqMatrix< 2, 2 > W;
        bool rval = get_2D_target( pd, element, sample, W, err );
        W_out.set_row( 0, W.row( 0 ) );
        W_out.set_row( 1, W.row( 1 ) );
        W_out.set_row( 2, MsqMatrix< 1, 2 >( 0.0 ) );
        return rval;
    }
bool IdealShapeXY::have_surface_orient ( ) const [inline, virtual]

Use 3x2 W for surface elements if true, 2x2 W if false.

If true, then the targets for surface elements attempt some control of orientation and therefore get_surface_target must be used to get the targets. If false, then the target contains no orientation data and is therefore the same as the corresponding 2D target for surface elements. In this case, get_2D_target should be used.

Reimplemented from MBMesquite::IdealShapeTarget.

Definition at line 296 of file TMPQualityMetricTest.hpp.

    {
        return true;
    }

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines