MBDyn-1.7.3
|
#include <gradient.h>
Public Types | |
typedef Expr::GradientType | GradientType |
typedef GradientType::scalar_func_type | scalar_func_type |
typedef GradientType::scalar_deriv_type | scalar_deriv_type |
typedef GradientType::vector_deriv_type | vector_deriv_type |
Public Member Functions | |
UnaryExpr (const Expr &u) | |
scalar_func_type | dGetValue () const |
scalar_deriv_type | dGetDerivativeLocal (index_type iLocalDof) const |
vector_deriv_type | dGetDerivativeLocalVector (index_type iLocalVecDof) const |
index_type | iGetStartIndexLocal () const |
index_type | iGetEndIndexLocal () const |
index_type | iGetStartIndexLocalVector () const |
index_type | iGetEndIndexLocalVector () const |
LocalDofMap * | pGetDofMap () const |
bool | bHaveReferenceTo (const void *p) const |
void | Compute () const |
Static Public Member Functions | |
static index_type | iGetMaxDerivatives () |
Static Public Attributes | |
static const bool | bAlias = Expr::bAlias |
static const index_type | iMaxDerivatives = Expr::iMaxDerivatives |
static const bool | bVectorize = Expr::bVectorize && UnFunc::bVectorize |
static const index_type | iDimension = GradientType::iDimension |
Private Member Functions | |
template<typename T > | |
T | EvalDeriv (T du_dX) const |
Private Attributes | |
const Expr | oU |
scalar_func_type | f |
scalar_deriv_type | df_du |
Definition at line 1439 of file gradient.h.
typedef Expr::GradientType grad::UnaryExpr< UnFunc, Expr >::GradientType |
Definition at line 1444 of file gradient.h.
typedef GradientType::scalar_deriv_type grad::UnaryExpr< UnFunc, Expr >::scalar_deriv_type |
Definition at line 1447 of file gradient.h.
typedef GradientType::scalar_func_type grad::UnaryExpr< UnFunc, Expr >::scalar_func_type |
Definition at line 1446 of file gradient.h.
typedef GradientType::vector_deriv_type grad::UnaryExpr< UnFunc, Expr >::vector_deriv_type |
Definition at line 1448 of file gradient.h.
|
inline |
Definition at line 1450 of file gradient.h.
References grad::UnaryExpr< UnFunc, Expr >::df_du, and grad::UnaryExpr< UnFunc, Expr >::f.
|
inline |
|
inline |
Definition at line 1510 of file gradient.h.
References grad::UnaryExpr< UnFunc, Expr >::df_du, grad::UnaryExpr< UnFunc, Expr >::f, GRADIENT_ASSERT, and grad::UnaryExpr< UnFunc, Expr >::oU.
|
inline |
Definition at line 1464 of file gradient.h.
References grad::UnaryExpr< UnFunc, Expr >::df_du, grad::UnaryExpr< UnFunc, Expr >::EvalDeriv(), grad::UnaryExpr< UnFunc, Expr >::f, GRADIENT_ASSERT, and grad::UnaryExpr< UnFunc, Expr >::oU.
|
inline |
Definition at line 1473 of file gradient.h.
References grad::UnaryExpr< UnFunc, Expr >::df_du, grad::UnaryExpr< UnFunc, Expr >::EvalDeriv(), grad::UnaryExpr< UnFunc, Expr >::f, GRADIENT_ASSERT, and grad::UnaryExpr< UnFunc, Expr >::oU.
|
inline |
Definition at line 1457 of file gradient.h.
References grad::UnaryExpr< UnFunc, Expr >::df_du, grad::UnaryExpr< UnFunc, Expr >::f, and GRADIENT_ASSERT.
|
inlineprivate |
Definition at line 1525 of file gradient.h.
References grad::UnaryExpr< UnFunc, Expr >::df_du.
Referenced by grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocal(), and grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocalVector().
|
inline |
|
inline |
|
inlinestatic |
Definition at line 1506 of file gradient.h.
References grad::UnaryExpr< UnFunc, Expr >::iMaxDerivatives.
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 1441 of file gradient.h.
|
static |
Definition at line 1443 of file gradient.h.
|
mutableprivate |
Definition at line 1533 of file gradient.h.
Referenced by grad::UnaryExpr< UnFunc, Expr >::Compute(), grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocal(), grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocalVector(), grad::UnaryExpr< UnFunc, Expr >::dGetValue(), grad::UnaryExpr< UnFunc, Expr >::EvalDeriv(), and grad::UnaryExpr< UnFunc, Expr >::UnaryExpr().
|
mutableprivate |
Definition at line 1532 of file gradient.h.
Referenced by grad::UnaryExpr< UnFunc, Expr >::Compute(), grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocal(), grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocalVector(), grad::UnaryExpr< UnFunc, Expr >::dGetValue(), and grad::UnaryExpr< UnFunc, Expr >::UnaryExpr().
|
static |
Definition at line 1445 of file gradient.h.
|
static |
Definition at line 1442 of file gradient.h.
Referenced by grad::UnaryExpr< UnFunc, Expr >::iGetMaxDerivatives().
|
private |
Definition at line 1531 of file gradient.h.
Referenced by grad::UnaryExpr< UnFunc, Expr >::bHaveReferenceTo(), grad::UnaryExpr< UnFunc, Expr >::Compute(), grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocal(), grad::UnaryExpr< UnFunc, Expr >::dGetDerivativeLocalVector(), grad::UnaryExpr< UnFunc, Expr >::iGetEndIndexLocal(), grad::UnaryExpr< UnFunc, Expr >::iGetEndIndexLocalVector(), grad::UnaryExpr< UnFunc, Expr >::iGetStartIndexLocal(), grad::UnaryExpr< UnFunc, Expr >::iGetStartIndexLocalVector(), and grad::UnaryExpr< UnFunc, Expr >::pGetDofMap().