MOAB: Mesh Oriented datABase  (version 5.4.1)
TargetMetricUtil.hpp File Reference

A collection of utility code used by QualtiyMetrics composed of TMP Target Metrics. More...

#include "Mesquite.hpp"
#include "SymMatrix3D.hpp"
#include <vector>
#include <cassert>
+ Include dependency graph for TargetMetricUtil.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MBMesquite
 

Implements the NonSmoothDescent class member functions.


Functions

void MBMesquite::surface_to_2d (const MsqMatrix< 3, 2 > &A, const MsqMatrix< 3, 2 > &W_32, MsqMatrix< 2, 2 > &W_22, MsqMatrix< 3, 2 > &RZ)
 Calculate R and Z such that \(W\prime = Z^{-1} W\) and \(A\prime = (RZ)^{-1} A\).
void MBMesquite::get_sample_pt_evaluations (PatchData &pd, std::vector< size_t > &handles, bool free, MsqError &err)
void MBMesquite::get_elem_sample_points (PatchData &pd, size_t elem, std::vector< size_t > &handles, MsqError &)
template<int DIM>
void MBMesquite::gradient (size_t num_free_verts, const MsqVector< DIM > *dNdxi, const MsqMatrix< 3, DIM > &dmdA, std::vector< Vector3D > &grad)
 Calculate gradient from derivatives of mapping function terms and derivatives of target metric.
template<int DIM, typename MAT >
void MBMesquite::hessian (size_t num_free_verts, const MsqVector< DIM > *dNdxi, const MsqMatrix< DIM, DIM > *d2mdA2, MAT *hess)
 Calculate Hessian from derivatives of mapping function terms and derivatives of target metric.
template<int DIM>
void MBMesquite::hessian_diagonal (size_t num_free_verts, const MsqVector< DIM > *dNdxi, const MsqMatrix< DIM, DIM > *d2mdA2, SymMatrix3D *diagonal)
 Calculate Hessian from derivatives of mapping function terms and derivatives of target metric.

Detailed Description

A collection of utility code used by QualtiyMetrics composed of TMP Target Metrics.

Author:
Jason Kraftcheck

Definition in file TargetMetricUtil.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines