#include <SimplexAdjJacQF.h>
Inheritance diagram for geom::SimplexAdjJacQF< N, T >:
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. |
N | is the dimension. | |
T | is the number type. By default it is double. |
setFunction()
sets the Jacobian matrix and its adjoint.set()
sets the Jacobian matrix and its adjoint and their gradients.
void geom::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 geom::SimplexJacQF< N, T >.
void geom::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 geom::SimplexJacQF< N, T >.