MBSim

Project Page
Classes | Enumerations | Functions | Variables
MBSim Namespace Reference

namespace MBSim More...

Classes

class  Body
 base class for all mechanical bodies with mass and generalised coordinates More...
class  GeneralizedForceLaw
 basic force law on acceleration level for constraint description More...
class  UnilateralConstraint
 basic unilateral force law on acceleration level for constraint description More...
class  BilateralConstraint
 basic bilateral force law on acceleration level for constraint description More...
class  GeneralizedImpactLaw
 basic force law on velocity level for constraint description More...
class  UnilateralNewtonImpact
 basic unilateral force law on velocity level for constraint description More...
class  BilateralImpact
 basic bilateral force law on velocity level for constraint description More...
class  FrictionForceLaw
 basic friction force law on acceleration level for constraint description More...
class  PlanarCoulombFriction
 basic planar friction force law on acceleration level for constraint description More...
class  SpatialCoulombFriction
 basic spatial friction force law on acceleration level for constraint description More...
class  PlanarStribeckFriction
 planar Stribeck friction force law on acceleration level for constraint description More...
class  SpatialStribeckFriction
 spatial Stribeck friction force law on acceleration level for constraint description More...
class  FrictionImpactLaw
 basic friction force law on velocity level for constraint description More...
class  PlanarCoulombImpact
 basic planar friction force law on velocity level for constraint description More...
class  SpatialCoulombImpact
 basic spatial friction force law on velocity level for constraint description More...
class  PlanarStribeckImpact
 planar Stribeck friction force law on velocity level for constraint description More...
class  SpatialStribeckImpact
 spatial Stribeck friction force law on velocity level for constraint description More...
class  RegularizedUnilateralConstraint
 basic regularized unilateral force law on acceleration level for constraint description More...
class  MaxwellUnilateralConstraint
 A force law that computes the normal force of many contact kinematics based on the Maxwell-Force-Law. More...
class  RegularizedBilateralConstraint
 basic regularized bilateral force law on acceleration level for constraint description More...
class  RegularizedPlanarFriction
class  RegularizedSpatialFriction
class  Constraint
 Class for constraints between generalized coordinates of objects. More...
class  GearConstraint
class  KinematicConstraint
class  TimeDependentKinematicConstraint
class  StateDependentKinematicConstraint
class  JointConstraint
 Joint contraint. More...
class  Contact
 class for contacts More...
class  ContactKinematicsCircleFrustum
 contact kinematics for unilateral contact between circle and frustum with at most one contact point More...
class  ContactKinematicsCircleSolidCircleHollow
 pairing circle outer side to circle inner side More...
class  ContactKinematicsCircleSolidCircleSolid
 pairing outer circle side to outer circle side More...
class  ContactKinematicsCircleSolidContour1s
 pairing outer circle side to contour1s More...
class  ContactKinematicsCircleSolidFrustum2D
 pairing circle outer side to planar frustum More...
class  ContactKinematicsCircleSolidLine
 pairing circle outer surface to line More...
class  ContactKinematicsCircleSolidLineSegment
 pairing circle outer surface to line More...
class  ContactKinematicsCircleSolidPlane
 pairing circle outer side to plane More...
class  ContactKinematicsCompoundContourCompoundContour
 contact paring between set of contours and set of contours More...
class  ContactKinematicsCompoundContourContour
 pairing of arbitrary contour and set of contours More...
class  ContactKinematics
 basic class for contact kinematical calculations More...
class  ContactKinematicsEdgeEdge
 pairing edge (bounded line) to edge More...
class  ContactKinematicsLineContour1s
 pairing Line to Contour1s More...
class  ContactKinematicsPointCircleSolid
 pairing point to circesolid More...
class  ContactKinematicsPointContour1s
 pairing point to Contour1s More...
class  ContactKinematicsPointContourInterpolation
 pairing point to contour interpolation; More...
class  ContactKinematicsPointFrustum
 pairing point to frustum surface More...
class  ContactKinematicsPointLine
 pairing point to line More...
class  ContactKinematicsPointLineSegment
 pairing point to line segment More...
class  ContactKinematicsPointPlane
 pairing point to plane More...
class  ContactKinematicsPointPlaneWithFrustum
 pairing point to plane More...
class  projectPointAlongNormal
 function that is zero for a height-coordinate of the polynomial frustum on which the normal on that point points towards the given outer point More...
class  projectPointAlongNormalJacobian
 the Jacobian function for the projectAlongNormal Function More...
class  ContactKinematicsPointPolynomialFrustum
 class for contact kinematics between convex frustum and an rectangle More...
class  ContactKinematicsPointRectangle
 pairing point to rectangle (bounded plane) More...
class  ContactKinematicsPointSphere
 pairing point to sphere More...
class  edgePolyFrustum
 Function describing the scalar product between normal of frustum point and difference between frustum point and point on line defined by one parameter t. More...
class  edgePolyFrustumCriteria
class  ContactKinematicsRectanglePolynomialFrustum
 class for contact kinematics between convex frustum and an rectangle More...
class  ContactKinematicsSphereFrustum
 pairing sphere to frustum More...
class  ContactKinematicsSpherePlane
 pairing sphere to plane More...
class  PolyFurstumSphereContact
class  PolyFurstumSphereContactJacobian
class  ContactKinematicsSpherePolynomialFrustum
 class for contact kinematics between convex frustum and a sphere More...
class  ContactKinematicsSphereRectangle
 pairing sphere to rectangle More...
class  ContactKinematicsSphereSphere
 pairing sphere to sphere More...
class  Contour
 basic class for contour definition for rigid (which do not know about their shape) and flexible (they know how they look like) bodies More...
class  RigidContour
 basic class for rigid contours More...
class  ContourPointData
 struct for data-management for single point on a contour to describe contact kinematics More...
class  Circle
 circular contour with contact possibility from outside and inside and binormal in direction of the third column of the contour reference frame More...
class  CircleHollow
 circle describing contact from inside More...
class  CircleSolid
 circular contour with contact possibility from outside More...
class  CompoundContour
 contour consisting of primitive contour elements More...
class  Contour1s
 basic class for contours described by one contour parameter $s$ More...
class  Contour1sAnalytical
 analytical description of contours with one contour parameter More...
class  Contour2s
 basic contour described by two contour parameters $\vs$ More...
class  ContourContinuum
 basic class for contours described by a parametrisation More...
class  ContourInterpolation
 Basis-Class for Contour interpolation between Point s, standard contact Point-ContourInterpolation is implemented special interpolations only need to provide (as derived class) the pure virtuals predefined here. More...
class  ContourQuad
 Quad for 3D interpolation. More...
class  Cuboid
 Cuboid with 8 vertices, 12 edges and 6 faces. More...
class  Edge
 RigidContour Edge. More...
class  Face
 plane with borders More...
class  Frustum
 frustum with axis in direction of second column of contour reference frame More...
class  Frustum2D
 planar slice of a frustum More...
class  Line
 unbounded line with constant normal More...
class  LineSegment
 line segment with two bounds More...
class  Plane
 plane without borders More...
class  PlaneWithFrustum
 plane without borders and a frustum on reference kos More...
class  Point
 most primitive contour: the point (no extention) More...
class  PolynomialFrustum
 Frustum contour with a polynomial radius over height course. More...
class  ContactPolyfun
 this class denotes polynomial equation like this:a0+a1*x+a2*x^2+...+an*x^n=rhs para: coefficient vector of the left side More...
class  Rectangle
 RigidContour Rectangle. More...
class  Room
 Room with 6 faces pointing inwards. More...
class  Sphere
 sphere More...
class  DiscretizationInterface
 discretization interface for flexible systems More...
class  DynamicSystem
 dynamic system as topmost hierarchical level More...
class  DynamicSystemSolver
 solver interface for modelling and simulation of dynamic systems More...
class  Element
 basic class of MBSim mainly for plotting More...
class  Environment
 basic singleton (see GAMMA et al.) class to capsulate environment variables for XML More...
class  MBSimEnvironment
 singleton class (see GAMMA et al.) to capsulate environment variables for XML multibody systems More...
class  ExternGeneralizedIO
class  Frame
 cartesian frame on bodies used for application of e.g. More...
class  FixedRelativeFrame
 cartesian frame on rigid bodies More...
class  DistanceFunction
 class for distances and root functions of contact problems More...
class  FuncPairContour1sPoint
 root function for pairing Contour1s and Point More...
class  FuncPairContour1sCircleHollow
 root function for pairing CylinderFlexible and CircleHollow More...
class  FuncPairPointContourInterpolation
 root function for pairing ContourInterpolation and Point More...
class  FuncPairConeSectionCircle
 base root function for planar pairing ConeSection and Circle More...
class  FuncPairEllipseCircle
 root function for planar pairing Ellipse and Circle More...
class  FuncPairHyperbolaCircle
 root function for planar pairing Hyperbola and Circle More...
class  JacobianPairConeSectionCircle
 base Jacobian of root function for planar pairing ConeSection and Circle More...
class  JacobianPairEllipseCircle
 Jacobian of root function for planar pairing Ellipse and Circle. More...
class  JacobianPairHyperbolaCircle
 Jacobian of root function for planar pairing Hyperbola and Circle. More...
class  FuncPairContour1sLine
 root function for pairing Contour1s and Line More...
class  FuncPairContour1sCircleSolid
 root function for pairing Contour1s and Circle More...
class  Contact1sSearch
 general class for contact search with respect to one contour-parameter More...
class  Gear
class  Gearing
class  Graph
 class for tree-structured mechanical systems with recursive and flat memory mechanism More...
class  Group
 group ingredients do not depend on each other More...
class  AutoTimeSteppingSSCIntegrator
 Explicit and Implicit time-stepping integrator of first or higer order with StepSize Control (SSC) StepSizeControl, GapControl, Extrapolation und concept analogue to TimeSteppingSSCIntegrator. More...
class  DOP853Integrator
 ODE-Integrator DOP853. More...
class  DOPRI5Integrator
 ODE-Integrator DOPRI5. More...
class  EulerExplicitIntegrator
 Explicit Euler integrator. More...
class  Integrator
 integrator-interface for dynamic systems More...
class  LSODARIntegrator
 ODE-Integrator LSODAR Integrator with root finding for ODEs. More...
class  LSODEIntegrator
 ODE-Integrator LSODE Integrator with root finding for ODEs. More...
class  LSODERIntegrator
 ODE-Integrator LSODER Integrator with root finding for ODEs. More...
class  ODEXIntegrator
 ODE-Integrator ODEX. More...
class  RADAU5Integrator
 DAE-Integrator RADAU5. More...
class  RKSuiteIntegrator
 ODE-Integrator RKSuite. More...
class  ThetaTimeSteppingIntegrator
 brief theta-time-stepping integrator of first order More...
class  ThetaTimeSteppingSSCIntegrator
 brief theta-time-stepping integrator with step size adjustment More...
class  TimeSteppingD1MinusLinearIntegrator
 time-integrator for dynamical systems using D1MinusLinear ansatz More...
class  TimeSteppingIntegrator
 brief half-explicit time-stepping integrator of first order More...
class  TimeSteppingSSCIntegrator
 Half-explicit time-stepping integrator of first or higer order with StepSize Control (SSC) important options / settings : More...
class  IsotropicRotationalSpringDamper
 Isotropic rotational spring damper force law. More...
class  Joint
 class for connections: constraints on frames More...
class  InverseKineticsJoint
class  KinematicExcitation
class  TimeDependentKinematicExcitation
class  StateDependentKinematicExcitation
class  Translation
 base class to describe translations along a path More...
class  RotationIndependentTranslation
class  TranslationInXDirection
class  TranslationInYDirection
class  TranslationInZDirection
class  TranslationInXYDirection
class  TranslationInXZDirection
class  TranslationInYZDirection
class  TranslationInXYZDirection
class  LinearTranslation
 class to describe translations along a line More...
class  TimeDependentLinearTranslation
class  TimeDependentTranslation
 class to describe time dependent translations More...
class  StateDependentTranslation
class  GeneralTranslation
class  Rotation
 base class to describe rotation along a path More...
class  TranslationIndependentRotation
class  RotationAboutXAxis
 class to describe rotation about y-axis More...
class  RotationAboutYAxis
 class to describe rotation about y-axis More...
class  RotationAboutZAxis
 class to describe rotation about z-axis More...
class  RotationAboutFixedAxis
 class to describe rotation about fixed axis More...
class  StateDependentRotationAboutFixedAxis
 class to describe state dependent rotation about fixed axis More...
class  TimeDependentRotationAboutFixedAxis
 class to describe time dependent rotation about fixed axis More...
class  RotationAboutAxesXY
 class to describe rotation about axes x and y with basic rotations interpretated in the current coordinate system More...
class  RotationAboutAxesXZ
 class to describe rotation about axes x and z with basic rotations interpretated in the current coordinate system More...
class  RotationAboutAxesYZ
 class to describe rotation about axes y and z with basic rotations interpretated in the current coordinate system More...
class  CardanAngles
 class to describe rotation parametrised by cardan angles More...
class  EulerAngles
 class to describe rotation parametrised by Euler angles More...
class  RotationAboutAxesXYZ
 class to describe rotation parametrised by cardan angles More...
class  TimeDependentCardanAngles
 class to describe time dependent rotation parametrised by Cardan angles More...
class  TMatrix
class  Jacobian
 base class to describe Jacobians along a path More...
class  ConstantJacobian
 class to describe a constant Jacobians More...
class  StateDependentJacobian
class  GeneralJacobian
class  JRotationAboutAxesXY
 Jacobian for rotation about axes x and y. More...
class  JRotationAboutAxesXZ
 Jacobian for rotation about axes x and z. More...
class  JRotationAboutAxesYZ
 Jacobian for rotation about axes y and z. More...
class  JRotationAboutAxesXYZ
 Jacobian for rotation about axes x and y. More...
class  TCardanAngles
 standard parametrisation with angular velocity in reference system yields time-dependent mass matrix More...
class  TEulerAngles
 standard parametrisation with angular velocity in reference system yields time-dependent mass matrix More...
class  TCardanAngles2
 alternative parametrisation with angular velocity in body frame yields constant mass matrix for absolute coordinates More...
class  TEulerAngles2
 alternative parametrisation with angular velocity in body frame yields constant mass matrix for absolute coordinates More...
class  DerivativeOfJacobian
 base class to describe derivatives of Jacobians More...
class  StateDependentDerivativeOfJacobian
class  GeneralDerivativeOfJacobian
class  JdRotationAboutAxesXY
 derivative of Jacobian for rotation about axes x and y More...
class  JdRotationAboutAxesXZ
 derivative of Jacobian for rotation about axes x and z More...
class  JdRotationAboutAxesYZ
 derivative of Jacobian for rotation about axes y and z More...
class  JdRotationAboutAxesXYZ
 derivative of Jacobian for rotation about axes x and y More...
class  GuidingVelocity
 base class to describe guiding velocities More...
class  TimeDependentGuidingVelocity
class  GeneralGuidingVelocity
class  DerivativeOfGuidingVelocity
 base class to describe derivatives of guiding velocities More...
class  TimeDependentDerivativeOfGuidingVelocity
class  GeneralDerivativeOfGuidingVelocity
class  KineticExcitation
 kinetic excitations given by time dependent functions More...
class  Link
 general link to one or more objects More...
class  LinkMechanics
 general link to one or more objects More...
class  MBSimError
 basic error class for mbsim More...
class  ModellingInterface
 Interface for models of arbitrary domains, e.g. electrical components. More...
class  CriteriaFunction
 Mother class for different criterias that are fulfilled or not. More...
class  GlobalCriteriaFunction
 This criteria function class applies the infinity norm globally for complete vectors thus it has one tolerance and a list of "results" for each step. More...
class  LocalCriteriaFunction
 This criteria function class applies the infinity norm locally for arbitrary combinations of sub-vectors of the complete vector. It has different tolerances for the different sub-vectors and a list of "result"-lists for each step and each "result" of a sub-vector. More...
class  GlobalResidualCriteriaFunction
 This criteria function class applies the infinity norm globally on the complete vector and compares it with zero (i.e. a residual criteria) More...
class  LocalResidualCriteriaFunction
 This criteria function class applies the infinity norm on single indices sets (each with another tolerance) and compares it with zero (i.e. a residual criteria) More...
class  GlobalShiftCriteriaFunction
 This criteria function class applies the infinity norm globally on the difference between the complete vector of the current step and the complete vector of the step before and compares it with zero (i.e. a shift criteria) More...
class  LocalShiftCriteriaFunction
 This criteria function class applies the infinity norm on single indices sets (each with another tolerance) and compares it with zero (i.e. a residual criteria) More...
class  DampingFunction
class  StandardDampingFunction
class  LCPReformulationFunction
class  LCPNewtonReformulationFunction
class  LCPFixpointReformulationFunction
class  LinearComplementarityJacobianFunction
class  NewtonJacobianFunction
 base class for square Jacobians used for the newton method More...
class  NumericalNewtonJacobianFunction
 class to compute the Jacobian matrix for the newton method numerically More...
class  ConstantNewtonJacobianFunction
 class to compute a Jacobian matrix once at the beginning and then uses it over and over again More...
class  FixpointNewtonJacobianFunction
 class use the identity matrix as Jacobian matrix in the newton method yields a fixpoint iteration More...
class  LemkeAlgorithm
class  LinearComplementarityProblem
 class to solve a linear complementarity problem More...
class  MultiDimensionalFixpointSolver
 Fixpoint-Solver for multi-dimensional fixpoint-finding. More...
class  MultiDimensionalNewtonMethod
 Newton method for multidimensional root finding. More...
class  NurbsCurve
 class that copies the nurbs++-library using the fmatvec as a basis-math-library More...
class  Object
 class for all objects having own dynamics and mass More...
class  ObjectFactory
 A object factory. More...
class  ObjectFactoryRegisterXMLNameHelper
 Helper function for automatic class registration for ObjectFactory. More...
class  ObjectFactoryRegisterXMLNameHelperAsSingleton
 Helper function for automatic class registration for ObjectFactory. More...
class  Observer
class  CoordinatesObserver
class  CartesianCoordinatesObserver
class  CylinderCoordinatesObserver
class  NaturalCoordinatesObserver
class  FrameObserver
class  KinematicsObserver
class  AbsoluteKinematicsObserver
class  RelativeKinematicsObserver
class  RigidBodyGroupObserver
class  RigidBodyObserver
class  RigidBody
 rigid bodies with arbitrary kinematics More...
class  RelativeRotationalSpringDamper
 A spring damper force law between . More...
class  SingleContact
 class for contacts More...
class  SpringDamper
 A spring damper force law. More...
struct  RGBColor
 defines additive color using values for each color between [0,1] More...
class  ContourFunction1s
 userFunction for Contours: Contourpoint and trihedral (T,N,B) * Parent class More...
class  Function
class  Function1
 template class for functions with one parameter More...
class  Function2
 template class for functions with two parameters More...
class  Function3
 template class for functions with three parameters More...
class  DifferentiableFunction1
 template class for differentiable functions with one scalar parameter More...
class  ConstantFunction1
 template class for constant functions with one parameter More...
class  ConstantFunction1< double, Arg >
 template class for constant functions with one parameter and scalar return value More...
class  ConstantFunction2
 template class for constant functions with two parameter More...
class  LinearSpringDamperForce
 function describing a linear relationship between the input relative distance / velocity and the output for a spring More...
class  NonlinearSpringDamperForce
 function describing a nonlinear relationship between the input relative distance / velocity and the output for a spring More...
class  ConstantFunction2< double, Arg1, Arg2 >
 template class for constant functions with two parameter and scalar return value More...
class  LinearRegularizedUnilateralConstraint
 function describing a linear relationship between the input relative distance / velocity and the output for a unilateral constraint More...
class  LinearRegularizedBilateralConstraint
 function describing a linear relationship between the input relative distance / velocity and the output for a bilateral constraint More...
class  LinearRegularizedCoulombFriction
 function describing a linear regularized relationship between the input relative velocity and the output for Coulomb friction More...
class  LinearRegularizedStribeckFriction
 function describing a linear regularized relationship between the input relative velocity and the output for Stribeck friction More...
class  InfluenceFunction
 function describing the influence between the deformations on a body More...
class  FlexibilityInfluenceFunction
class  ConstantInfluenceFunction
class  Function1_SS_from_VS
class  Function1_VS_from_SS
class  QuadraticFunction1_VS
 vector valued quadratic function with one scalar argument More...
class  SinusFunction1_VS
 vector valued sine function with one scalar argument More...
class  PositiveSinusFunction1_VS
class  StepFunction1_VS
class  TabularFunction1_VS
class  PeriodicTabularFunction1_VS
class  SummationFunction1_VS
class  TabularFunction2_SSS
class  Polynom1_SS
class  RegulaFalsi
 Regular Falsi for one-dimensional root-finding. More...
class  MultiDimFixPointIteration
 FixpointIteration for multi-dimensional fixpoint-finding. More...
class  NewtonMethod
 Newton method for one-dimensional root-finding. More...
class  MultiDimNewtonMethod
 Newton method for multi-dimensional root-finding. More...
class  PPolynom
 class for piecewise-polynomials and cubic spline interpolation More...
class  StopWatch
class  ToCasadi
class  ToCasadi< double >
class  ToCasadi< fmatvec::Vector< Col, double > >
class  FromCasadi
class  FromCasadi< fmatvec::Vector< Col, double > >
class  FromCasadi< fmatvec::Matrix< fmatvec::General, Row, fmatvec::Var, double > >
class  FromCasadi< double >
class  SymbolicFunction1
class  SymbolicFunction2
class  SymbolicFunction3
class  XMLNamespaceMapping
 XML namespace <-> XML namespace prefix mapping. More...
class  RegisterXMLNamespaceMapping
 Register a new priority based mapping. More...

Enumerations

enum  ContourParameterType { NODE, STAGGEREDNODE, CONTINUUM, EXTINTERPOL }
enum  Solver {
  FixedPointTotal, FixedPointSingle, GaussSeidel, LinearEquations,
  RootFinding
}
 solver for contact equations
enum  Strategy { global, local }
 relaxation strategies in solution of contact equations
enum  LinAlg { LUDecomposition, LevenbergMarquardt, PseudoInverse }
 linear algebra for Newton scheme in solution of contact equations
enum  PlotFeatureStatus { enabled, disabled, unset }
 Plot feature status. More...
enum  PlotFeature {
  plotRecursive = 0, separateFilePerGroup, state, stateDerivative,
  notMinimalState, rightHandSide, globalPosition, globalVelocity,
  globalAcceleration, energy, openMBV, generalizedLinkForce,
  linkKinematics, stopVector, debug, LASTPLOTFEATURE
}
 Plot Features. More...
enum  InitStage {
  modelBuildup = 0, resolveXMLPath, preInit, resize,
  plot, relativeFrameContourLocation, worldFrameContourLocation, reorganizeHierarchy,
  unknownStage, calculateLocalInitialValues, LASTINITSTAGE
}
 The stages of the initialization. More...
enum  FrameFeature {
  position, firstTangent, normal, secondTangent,
  cosy, position_cosy, velocity, angularVelocity,
  velocity_cosy, velocities, velocities_cosy, all
}
 different interest features for frames
enum  LCPSolvingStrategy {
  Standard, ReformulatedStandard, ReformulatedNewtonOnly, ReformulatedFixpointOnly,
  LemkeOnly
}
enum  JacobianType { Numerical, LCPSpecial }
enum  CriteriaType { Global, Local }
enum  SolverType { RegulaFalsiSolver, FixPointIterationSolver, NewtonMethodSolver }

Functions

fmatvec::Vec3 computeTangential (const fmatvec::Vec3 &n)
std::ostream & operator<< (std::ostream &o, const LCPSolvingStrategy &strategy)
std::ostream & operator<< (std::ostream &o, const JacobianType &jacobianType)
double proxCN (const double arg, const double boundary=0)
 computes the prox-function for the set of real numbers that has a lower boundary : )boundary , infinity]
double proxCT2D (const double arg, const double LaNmue)
fmatvec::Vec proxCT3D (const fmatvec::Vec &arg, const double laNmue)
void basisFuns (double u, int span, int deg, const fmatvec::Vec &U, fmatvec::Vec &funs)
void dersBasisFuns (int n, double u, int span, int deg, const fmatvec::Vec &U, fmatvec::Mat &ders)
std::ostream & operator<< (std::ostream &ofstream, const RGBColor &rgbColor)
double computeAngleOnUnitCircle (const fmatvec::Vec3 &r)
 computes azimuthal angle
fmatvec::Vec2 computeAnglesOnUnitSphere (const fmatvec::Vec3 &r)
 computes azimuthal and polar angles
ContactKinematics * findContactPairingRigidRigid (const char *contour0, const char *contour1)
 defines contact kinematics between two contours
template<class T >
void ContactContourInterpolation (DynamicSystemSolver *ds, T *contact, ContourInterpolation *contour0, ContourInterpolation *contour1)
 apply contact between ContourInterpolation surfaces, using node-to-surface pairings, with both as master
template<class T >
void ContactContourInterpolation (DynamicSystemSolver *ds, const T *contact, ContourInterpolation *contour0, ContourInterpolation *contour1, int master)
 apply contact between ContourInterploation surfaces, using node-to-surface pairings, defining master contour 1 or 2, default 0 for both
double macheps ()
double epsroot ()
fmatvec::SqrMat BasicRotAKIx (double phi)
 Basic Rotations (see Script TM Grundlagenfach)
fmatvec::SqrMat BasicRotAKIy (double phi)
fmatvec::SqrMat BasicRotAKIz (double phi)
fmatvec::SqrMat BasicRotAIKx (double phi)
fmatvec::SqrMat BasicRotAIKy (double phi)
fmatvec::SqrMat BasicRotAIKz (double phi)
template<class Row >
fmatvec::Vector< Row, double > AIK2Cardan (const fmatvec::SquareMatrix< Row, double > &AIK)
 Cardan parametrisation (x y z): calculate angles (alpha, beta, gamma) from rotation matrix AKI or AIK.
template<class Row >
fmatvec::Vector< Row, double > AKI2Cardan (const fmatvec::SquareMatrix< Row, double > &AKI)
template<class Row >
fmatvec::Vector< Row, double > AIK2RevCardan (const fmatvec::SquareMatrix< Row, double > &AIK)
 reversed Cardan parametrisation (z y x): calculate angles (alpha, beta, gamma) from rotation matrix AKI or AIK
template<class Row >
fmatvec::Vector< Row, double > AKI2RevCardan (const fmatvec::SquareMatrix< Row, double > &AKI)
fmatvec::Vec AIK2ParametersZXY (const fmatvec::SqrMat &AIK)
 ZXY parametrisation (z -x -y) with parameters (angles) = [al; be; ga] first rotation: z-Axis (ga), 2nd rotation: x-Axis (al), 3rd rotation: y-Axis (be) calculates angles (alpha, beta, gamma) from rotation matrix AIK.
fmatvec::Vec calcParametersDotZXY (const fmatvec::SqrMat &AIK, const fmatvec::Vec &KomegaK)
 kinematic equations to calculate [al_dot; be_dot; ga_dot] from AIK and KomegaK
fmatvec::SqrMat Cardan2AIK (double alpha, double beta, double gamma)
 Cardan parametrisation (x y z): calculate AIK matrix from angles (alpha, beta, gamma)
fmatvec::SqrMat Euler2AIK (double psi, double theta, double phi)
 Euler parametrisation: calculate AIK matrix from angles (psi, theta, phi); psi: Preazession; theta: Nutation; phi: Rotation.
std::string numtostr (int i)
std::string numtostr (double d)
template<class Type , class Row , class Col >
std::string numtostr (fmatvec::Matrix< Type, Row, Col, double > m)
double degtorad (double alpha)
double radtodeg (double phi)
fmatvec::Vec degtorad (fmatvec::Vec alpha)
fmatvec::Vec radtodeg (fmatvec::Vec phi)
fmatvec::Vec tildetovec (const fmatvec::SqrMat &A)
double sign (double x)
double ArcTan (double x, double y)
 calculates planar angle in [0,2] with respect to Cartesian coordinates of: Arc Tangent (y/x)
template<class T >
std::string toStr (const T &val)
MBXMLUtils::TiXmlNode * toXML (const std::string &str)
MBXMLUtils::TiXmlNode * toXML (int i)
MBXMLUtils::TiXmlNode * toXML (unsigned int i)
MBXMLUtils::TiXmlNode * toXML (double d)
template<class T >
MBXMLUtils::TiXmlNode * toXML (const std::vector< T > &x)
template<class Row >
MBXMLUtils::TiXmlNode * toXML (const fmatvec::Vector< Row, double > &x)
template<class Type , class Row , class Col >
MBXMLUtils::TiXmlNode * toXML (const fmatvec::Matrix< Type, Row, Col, double > &A)
template<class T >
std::string funcExt ()
template<>
std::string funcExt< double > ()
template<class T >
void addElementText (MBXMLUtils::TiXmlElement *parent, std::string name, const T &value)

Variables

const RGBColor RED = {1, 0, 0}
const RGBColor GREEN = {0, 1, 0}
const RGBColor BLUE = {0, 0, 1}
const RGBColor WHITE = {0, 0, 0}
const RGBColor BLACK = {1, 1, 1}
const RGBColor YELLOW = {1, 1, 0}
const RGBColor DARKGRAY = {0.984, 0.984, 0.984}
const RGBColor LIGHTGRAY = {0.827, 0.827, 0.827}

Detailed Description

namespace MBSim

class for time measurement (timer, stopwatch)

Author:
Robert Huber
Date:
2010-05-11 portable version without gettimeofday added (if sys/time.h is not availible) (Robert Huber)
2010-07-06 flag in StopWatch::stop to reset timer (Robert Huber)

Enumeration Type Documentation

The stages of the initialization.

see also DynamicSystemSolver::init()

Enumerator:
resolveXMLPath 

resolve the path (given by the XML ref* attributes) to the corrosponding pointer

preInit 

Make some early initialization. TODO This should be split into detailed stages.

resize 

Do the resizing of all vectors, matrices and containers, ...

plot 

Build/initialize the plot structure

relativeFrameContourLocation 

Set the relative position and orientation of all Frame's/Contour's in all Group's/RigidBody's

worldFrameContourLocation 

Set the world position and orientation of all Frame's/Contour's in all Group's

reorganizeHierarchy 

Reorganize the hierarchy (build invisible tree structur)

unknownStage 

Init all the rest. TODO This should be split into detailed stages.

calculateLocalInitialValues 

calculation of non-linear initial values in complex internal models

Plot Features.

Enumerator:
plotRecursive 

enables/disables all plotting beyond this hierarchy

separateFilePerGroup 

create a separate h5 file for the Group

state 

plot the state vector (x, q, u)

stateDerivative 

plot the derivative of the state vector (xd, qd, ud)

rightHandSide 

plot the smooth and non smooth right hand size (h, r=W*l)

globalPosition 

plot some global (world) positions/orientation

globalVelocity 

plot some global (world) velocities

globalAcceleration 

plot some global (world) accelerations

energy 

plot the energy

openMBV 

plot the OpenMBV part

generalizedLinkForce 

plot the smooth/non smooth generalized link force (l)

linkKinematics 

plot the kinematic of links (g, gd)

stopVector 

plot the stop vector (sv)

debug 

plot internal sizes

Plot feature status.

Enumerator:
enabled 

set the feature enabled

disabled 

set the feature disabled

unset 

use the default value for the feature


Function Documentation

double MBSim::ArcTan ( double  x,
double  y 
)

calculates planar angle in [0,2] with respect to Cartesian coordinates of: Arc Tangent (y/x)

Parameters:
Cartesianx-coordinate
Cartesiany-coordinate
Returns:
angle
fmatvec::SqrMat MBSim::BasicRotAKIx ( double  phi)

Basic Rotations (see Script TM Grundlagenfach)

Rotate CoSy I (angle phi) to obtain CoSy K

double MBSim::computeAngleOnUnitCircle ( const fmatvec::Vec3 &  r)

computes azimuthal angle

Author:
Martin Foerg
Date:
some comments (Thorsten Schindler)
fmatvec::Vec2 MBSim::computeAnglesOnUnitSphere ( const fmatvec::Vec3 &  r)

computes azimuthal and polar angles

Author:
Martin Foerg
Date:
some comments (Thorsten Schindler)
fmatvec::Vec3 MBSim::computeTangential ( const fmatvec::Vec3 &  n)
Returns:
perpendicular vector
Parameters:
inputvector
template<class T >
void MBSim::ContactContourInterpolation ( DynamicSystemSolver *  ds,
T *  contact,
ContourInterpolation *  contour0,
ContourInterpolation *  contour1 
)

apply contact between ContourInterpolation surfaces, using node-to-surface pairings, with both as master

Author:
Roland Zander
Date:
2009-07-14 some comments (Thorsten Schindler)
template<class T >
void MBSim::ContactContourInterpolation ( DynamicSystemSolver *  ds,
const T *  contact,
ContourInterpolation *  contour0,
ContourInterpolation *  contour1,
int  master 
)

apply contact between ContourInterploation surfaces, using node-to-surface pairings, defining master contour 1 or 2, default 0 for both

Author:
Roland Zander
Date:
2009-07-14 some comments (Thorsten Schindler)
ContactKinematics* MBSim::findContactPairingRigidRigid ( const char *  contour0,
const char *  contour1 
)

defines contact kinematics between two contours

Author:
Martin Foerg
Date:
2009-07-14 some comments (Thorsten Schindler)
2010-11-05 Interface changed (Markus Schneider)
double MBSim::proxCN ( const double  arg,
const double  boundary = 0 
)

computes the prox-function for the set of real numbers that has a lower boundary : )boundary , infinity]

Parameters:
theargument of the prox-function
thelower boundary (=0, for no value)