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

Public Member Functions

void add_diag (Matrix3D hess)
void add_diag (SymMatrix3D hess)
void add_diag_diff (Matrix3D hess1, Matrix3D hess2)
void add_diag_diff (SymMatrix3D hess1, SymMatrix3D hess2)
void add_nondiag (Matrix3D hess)
void add_nondiag_diff (Matrix3D hess1, Matrix3D hess2)

Public Attributes

SimpleStats xx
SimpleStats xy
SimpleStats xz
SimpleStats yy
SimpleStats yz
SimpleStats zz

Detailed Description

Definition at line 165 of file CompareQM.hpp.


Member Function Documentation

Definition at line 460 of file CompareQM.cpp.

Referenced by MBMesquite::CompareQM::check_hess(), and MBMesquite::CompareQM::check_hess_diag().

{
    xx.add_value( hess[0][0] );
    xy.add_value( ( hess[0][1] + hess[1][0] ) / 2 );
    xz.add_value( ( hess[0][2] + hess[2][0] ) / 2 );
    yy.add_value( hess[1][1] );
    yz.add_value( ( hess[1][2] + hess[2][1] ) / 2 );
    zz.add_value( hess[2][2] );
}

Definition at line 470 of file CompareQM.cpp.

{
    xx.add_value( hess[0] );
    xy.add_value( hess[1] );
    xz.add_value( hess[2] );
    yy.add_value( hess[3] );
    yz.add_value( hess[4] );
    zz.add_value( hess[5] );
}

Definition at line 480 of file CompareQM.cpp.

References MBMesquite::hess().

Referenced by MBMesquite::CompareQM::check_hess(), and MBMesquite::CompareQM::check_hess_diag().

{
    Matrix3D d = hess1 - hess2;
    Matrix3D hess( fabs( d[0][0] ), fabs( d[0][1] ), fabs( d[0][2] ), fabs( d[1][0] ), fabs( d[1][1] ), fabs( d[1][2] ),
                   fabs( d[2][0] ), fabs( d[2][1] ), fabs( d[2][2] ) );
    add_diag( hess );
}

Definition at line 488 of file CompareQM.cpp.

References MBMesquite::hess().

{
    SymMatrix3D d = hess1 - hess2;
    SymMatrix3D hess( fabs( d[0] ), fabs( d[1] ), fabs( d[2] ), fabs( d[3] ), fabs( d[4] ), fabs( d[5] ) );
    add_diag( hess );
}

Definition at line 495 of file CompareQM.cpp.

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

{
    xx.add_value( hess[0][0] );
    xy.add_value( hess[0][1] );
    xy.add_value( hess[1][0] );
    xz.add_value( hess[0][2] );
    xz.add_value( hess[2][0] );
    yy.add_value( hess[1][1] );
    yz.add_value( hess[1][2] );
    yz.add_value( hess[2][1] );
    zz.add_value( hess[2][2] );
}

Definition at line 508 of file CompareQM.cpp.

References MBMesquite::hess().

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

{
    Matrix3D d = hess1 - hess2;
    Matrix3D hess( fabs( d[0][0] ), fabs( d[0][1] ), fabs( d[0][2] ), fabs( d[1][0] ), fabs( d[1][1] ), fabs( d[1][2] ),
                   fabs( d[2][0] ), fabs( d[2][1] ), fabs( d[2][2] ) );
    add_nondiag( hess );
}

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