MOAB: Mesh Oriented datABase  (version 5.4.1)
IdentityTarget Class Reference
+ Inheritance diagram for IdentityTarget:
+ Collaboration diagram for IdentityTarget:

Public Member Functions

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

Detailed Description

Definition at line 84 of file 2d_formulation_test.cpp.


Member Function Documentation

bool IdentityTarget::get_2D_target ( PatchData pd,
size_t  element,
Sample  sample,
MsqMatrix< 2, 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.

Implements MBMesquite::TargetCalculator.

Definition at line 99 of file 2d_formulation_test.cpp.

    {
        W_out = MsqMatrix< 2, 2 >( 1.0 );
        return true;
    }
bool IdentityTarget::get_3D_target ( PatchData pd,
size_t  element,
Sample  sample,
MsqMatrix< 3, 3 > &  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.

Implements MBMesquite::TargetCalculator.

Definition at line 87 of file 2d_formulation_test.cpp.

    {
        W_out = MsqMatrix< 3, 3 >( 1.0 );
        return true;
    }
bool IdentityTarget::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.

Implements MBMesquite::TargetCalculator.

Definition at line 93 of file 2d_formulation_test.cpp.

    {
        W_out = MsqMatrix< 3, 2 >( 1.0 );
        return true;
    }
bool IdentityTarget::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.

Implements MBMesquite::TargetCalculator.

Definition at line 105 of file 2d_formulation_test.cpp.

    {
        return false;
    }

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