|
MBDyn-1.7.3
|
#include "mbconfig.h"#include <limits>#include <cfloat>#include "modelns.h"#include "strnode.h"#include "matvecexp.h"#include "Rot.hh"
Go to the source code of this file.
Enumerations | |
| enum | IDX_t { IDX1 = 1, IDX2 = 2, IDX3 = 3, NORM, SQUARE } |
| enum | when_t { CURR = 0, PREV = 1 } |
Functions | |
| static const char * | IDX2str (IDX_t IDX) |
| static const char * | when2str (when_t when) |
| template<IDX_t IDX, when_t when> | |
| static int | position (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | distance (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | unitvec (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | angle (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | anglerel (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | velocity (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | vrel (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | angvel (const MathParser::MathArgs &args) |
| template<IDX_t IDX, when_t when> | |
| static int | angvrel (const MathParser::MathArgs &args) |
| template<bool p> | |
| static int | drive (const MathParser::MathArgs &args) |
| static int | model_sf (const MathParser::MathArgs &args) |
| static int | model_node (const MathParser::MathArgs &args) |
| template<bool unique> | |
| static int | model_elem (const MathParser::MathArgs &args) |
| static int | model_curr (const MathParser::MathArgs &args) |
| enum IDX_t |
| Enumerator | |
|---|---|
| IDX1 | |
| IDX2 | |
| IDX3 | |
| NORM | |
| SQUARE | |
Definition at line 43 of file modelns.cc.
| enum when_t |
| Enumerator | |
|---|---|
| CURR | |
| PREV | |
Definition at line 74 of file modelns.cc.
|
static |
Definition at line 313 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, StructNode::GetRCurr(), StructNode::GetRPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, NORM, Vec3::Norm(), PREV, RotManip::VecRot(), and when2str().

|
static |
Definition at line 370 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, StructNode::GetRCurr(), StructNode::GetRPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, Mat3x3::MulTM(), NORM, Vec3::Norm(), PREV, RotManip::VecRot(), and when2str().

|
static |
Definition at line 579 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, Vec3::Dot(), StructNode::GetWCurr(), StructNode::GetWPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, NORM, Vec3::Norm(), PREV, SQUARE, and when2str().

|
static |
Definition at line 640 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, Vec3::Dot(), StructNode::GetWCurr(), StructNode::GetWPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, NORM, Vec3::Norm(), PREV, SQUARE, and when2str().

|
static |
Definition at line 160 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, Vec3::Dot(), StructDispNode::GetXCurr(), StructDispNode::GetXPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, NORM, Vec3::Norm(), PREV, SQUARE, and when2str().

|
static |
Definition at line 716 of file modelns.cc.
References MathParser::AF_CONST, ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, DriveCaller::bIsDifferentiable(), DriveCaller::dGet(), DriveCaller::dGetP(), MathParser::MathArg_t::IsFlag(), and MBDYN_EXCEPT_ARGS.

|
static |
Definition at line 52 of file modelns.cc.
References IDX1, IDX2, IDX3, MBDYN_EXCEPT_ARGS, NORM, and SQUARE.
Referenced by angle(), anglerel(), angvel(), angvrel(), distance(), position(), unitvec(), velocity(), and vrel().
|
static |
Definition at line 1061 of file modelns.cc.
References ASSERT, MathParser::AT_PRIVATE, MathParser::AT_REAL, MathParser::AT_STRING, ModelNameSpace::GetCurrData(), and MBDYN_EXCEPT_ARGS.
Referenced by ModelNameSpace::ModelNameSpace().

|
static |
Definition at line 934 of file modelns.cc.
References MathParser::AF_CONST, ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, MathParser::AT_STRING, SimulationEntity::dGetPrivData(), SimulationEntity::iGetPrivDataIdx(), MathParser::MathArg_t::IsFlag(), MBDYN_EXCEPT_ARGS, MBDynParser::pDM, DataManager::pFindElem(), and psElemNames.

|
static |
Definition at line 832 of file modelns.cc.
References MathParser::AF_CONST, ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, MathParser::AT_STRING, SimulationEntity::dGetPrivData(), SimulationEntity::iGetPrivDataIdx(), MathParser::MathArg_t::IsFlag(), MBDYN_EXCEPT_ARGS, MBDynParser::pDM, DataManager::pFindNode(), and psNodeNames.
Referenced by ModelNameSpace::ModelNameSpace().

|
static |
Definition at line 781 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, DifferentiableScalarFunction::ComputeDiff(), MBDYN_EXCEPT_ARGS, and order.
Referenced by ModelNameSpace::ModelNameSpace().

|
static |
Definition at line 99 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, Vec3::Dot(), StructDispNode::GetXCurr(), StructDispNode::GetXPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, NORM, Vec3::Norm(), PREV, SQUARE, and when2str().

|
static |
Definition at line 236 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, StructDispNode::GetXCurr(), StructDispNode::GetXPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, Vec3::Norm(), PREV, and when2str().

|
static |
Definition at line 442 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, Vec3::Dot(), StructDispNode::GetVCurr(), StructDispNode::GetVPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, NORM, Vec3::Norm(), PREV, SQUARE, and when2str().

|
static |
Definition at line 503 of file modelns.cc.
References ASSERT, MathParser::AT_INT, MathParser::AT_PRIVATE, MathParser::AT_REAL, CURR, Vec3::Dot(), StructDispNode::GetVCurr(), StructDispNode::GetVPrev(), IDX2str(), MBDYN_EXCEPT_ARGS, NORM, Vec3::Norm(), PREV, SQUARE, and when2str().

|
static |
Definition at line 80 of file modelns.cc.
References CURR, MBDYN_EXCEPT_ARGS, and PREV.
Referenced by angle(), anglerel(), angvel(), angvrel(), distance(), position(), unitvec(), velocity(), and vrel().