MOAB: Mesh Oriented datABase
(version 5.4.1)
|
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. |
Definition at line 84 of file 2d_formulation_test.cpp.
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.
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. |
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.
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. |
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.
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. |
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; }