MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <TMPQualityMetricTest.hpp>
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. |
Definition at line 293 of file TMPQualityMetricTest.hpp.
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.
pd | The current PatchData |
element | The index an element within the patch data. |
sample | The sample point in the element. |
W_out | The 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; }