MOAB: Mesh Oriented datABase  (version 5.4.1)
MBMesquite::CompareQM::GradStat Struct Reference
+ Collaboration diagram for MBMesquite::CompareQM::GradStat:

Public Member Functions

void add (Vector3D grad)
void add_diff (Vector3D grad1, Vector3D grad2)

Public Attributes

SimpleStats x
SimpleStats y
SimpleStats z

Detailed Description

Definition at line 159 of file CompareQM.hpp.


Member Function Documentation

Definition at line 446 of file CompareQM.cpp.

References MBMesquite::SimpleStats::add_value(), x, y, and z.

Referenced by MBMesquite::CompareQM::check_grad().

{
    x.add_value( grad[0] );
    y.add_value( grad[1] );
    z.add_value( grad[2] );
}

Definition at line 453 of file CompareQM.cpp.

References z.

Referenced by MBMesquite::CompareQM::check_grad().

{
    x.add_value( fabs( grad1[0] - grad2[0] ) );
    y.add_value( fabs( grad1[1] - grad2[1] ) );
    z.add_value( fabs( grad1[2] - grad2[2] ) );
}

Member Data Documentation

List of all members.


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