Quality function of the Jacobian and its adjoint. More...
#include <SimplexAdjJacQF.h>
Public Types | |
typedef T | Number |
The number type. | |
typedef Base::Vertex | Vertex |
The class for a vertex. | |
typedef Base::Simplex | Simplex |
The simplex type. | |
typedef Base::Matrix | Matrix |
An NxN matrix. | |
Public Member Functions | |
Constructors etc. | |
SimplexAdjJacQF () | |
Default constructor. Un-initialized memory. | |
SimplexAdjJacQF (const SimplexAdjJacQF &other) | |
Copy constructor. | |
SimplexAdjJacQF (const Simplex &s) | |
Construct from a simplex. | |
SimplexAdjJacQF & | operator= (const SimplexAdjJacQF &other) |
Assignment operator. | |
~SimplexAdjJacQF () | |
Trivial destructor. | |
Accessors. | |
const Matrix & | getAdjointMatrix () const |
Return a const reference to the adjoint Jacobian matrix. | |
const ads::FixedArray< N, Matrix > & | getAdjointGradientMatrix () const |
Return a const reference to the gradient of the adjoint Jacobian matrix. | |
Manipulators | |
void | setFunction (const Simplex &s) |
Set the vertices in preparation for a function call. | |
void | set (const Simplex &s) |
Set the vertices in preparation for a function call or a gradient call. | |
void | setFunction (const geom::Simplex< N, ads::FixedArray< N+1, Number >, Number > &s) |
Set the vertices in preparation for a function call. | |
void | set (const geom::Simplex< N, ads::FixedArray< N+1, Number >, Number > &s) |
Set the vertices in preparation for a function call or a gradient call. | |
Protected Attributes | |
Adjoint | _adjoint |
The adjoint of the Jacobian. |
Quality function of the Jacobian and its adjoint.
N | is the dimension. | |
T | is the number type. By default it is double. |
This is a base class for simplex quality functions that use the Jacobian matrix and its adjoint. It has member functions for setting these matrices.
setFunction()
sets the Jacobian matrix and its adjoint.set()
sets the Jacobian matrix and its adjoint and their gradients. void SimplexAdjJacQF< N, T >::set | ( | const geom::Simplex< N, ads::FixedArray< N+1, Number >, Number > & | s | ) | [inline] |
Set the vertices in preparation for a function call or a gradient call.
This first projects the simplex to N-D and then call the above set().
Reimplemented from SimplexJacQF< N, T >.
void SimplexAdjJacQF< N, T >::setFunction | ( | const geom::Simplex< N, ads::FixedArray< N+1, Number >, Number > & | s | ) | [inline] |
Set the vertices in preparation for a function call.
This first projects the simplex to N-D and then call the above set_function().
Reimplemented from SimplexJacQF< N, T >.
References SimplexAdjJacQF< N, T >::setFunction().