MBDyn-1.7.3
|
#include <gradient.h>
Public Types | |
typedef GradientSizeHelper < LhsExpr::iDimension, RhsExpr::iDimension > ::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 |
typedef LhsExpr | LhsExprType |
typedef RhsExpr | RhsExprType |
Public Member Functions | |
BinaryExpr (const LhsExpr &u, const RhsExpr &v) | |
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 = LhsExpr::bAlias || RhsExpr::bAlias |
static const index_type | iMaxDerivatives = MaxDerivatives<LhsExpr, RhsExpr>::iMaxDerivatives |
static const bool | bVectorize |
static const index_type | iDimension = GradientType::iDimension |
Private Member Functions | |
template<typename T > | |
T | EvalDeriv (T du_dX, T dv_dX) const |
Private Attributes | |
const LhsExpr | oU |
const RhsExpr | oV |
scalar_func_type | f |
scalar_deriv_type | df_du |
scalar_deriv_type | df_dv |
Definition at line 1324 of file gradient.h.
typedef GradientSizeHelper<LhsExpr::iDimension, RhsExpr::iDimension>::GradientType grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::GradientType |
Definition at line 1330 of file gradient.h.
typedef LhsExpr grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::LhsExprType |
Definition at line 1336 of file gradient.h.
typedef RhsExpr grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::RhsExprType |
Definition at line 1337 of file gradient.h.
typedef GradientType::scalar_deriv_type grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::scalar_deriv_type |
Definition at line 1333 of file gradient.h.
typedef GradientType::scalar_func_type grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::scalar_func_type |
Definition at line 1332 of file gradient.h.
typedef GradientType::vector_deriv_type grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::vector_deriv_type |
Definition at line 1334 of file gradient.h.
|
inline |
Definition at line 1339 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_du, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_dv, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::f.
|
inline |
Definition at line 1401 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inline |
Definition at line 1409 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_du, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_dv, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::f, GRADIENT_ASSERT, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inline |
Definition at line 1351 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_du, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_dv, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::EvalDeriv(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::f, GRADIENT_ASSERT, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inline |
Definition at line 1362 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_du, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_dv, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::EvalDeriv(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::f, GRADIENT_ASSERT, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inline |
Definition at line 1346 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::f, and GRADIENT_ASSERT.
|
inlineprivate |
Definition at line 1427 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_du, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::df_dv.
Referenced by grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocal(), and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocalVector().
|
inline |
Definition at line 1377 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inline |
Definition at line 1385 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inlinestatic |
Definition at line 1405 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iMaxDerivatives.
|
inline |
Definition at line 1373 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inline |
Definition at line 1381 of file gradient.h.
References grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
inline |
Definition at line 1389 of file gradient.h.
References GRADIENT_ASSERT, grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oU, and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::oV.
|
static |
Definition at line 1326 of file gradient.h.
|
static |
Definition at line 1328 of file gradient.h.
|
mutableprivate |
Definition at line 1435 of file gradient.h.
Referenced by grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::BinaryExpr(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::Compute(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocalVector(), and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::EvalDeriv().
|
mutableprivate |
Definition at line 1435 of file gradient.h.
Referenced by grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::BinaryExpr(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::Compute(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocalVector(), and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::EvalDeriv().
|
mutableprivate |
Definition at line 1434 of file gradient.h.
Referenced by grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::BinaryExpr(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::Compute(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocalVector(), and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetValue().
|
static |
Definition at line 1331 of file gradient.h.
|
static |
Definition at line 1327 of file gradient.h.
Referenced by grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetMaxDerivatives().
|
private |
Definition at line 1432 of file gradient.h.
Referenced by grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::bHaveReferenceTo(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::Compute(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocalVector(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetEndIndexLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetEndIndexLocalVector(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetStartIndexLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetStartIndexLocalVector(), and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::pGetDofMap().
|
private |
Definition at line 1433 of file gradient.h.
Referenced by grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::bHaveReferenceTo(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::Compute(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::dGetDerivativeLocalVector(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetEndIndexLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetEndIndexLocalVector(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetStartIndexLocal(), grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::iGetStartIndexLocalVector(), and grad::BinaryExpr< BinFunc, LhsExpr, RhsExpr >::pGetDofMap().