MBSim

Project Page
Classes | 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...
struct  Transmission
class  GearConstraint
class  KinematicConstraint
class  GeneralizedPositionConstraint
class  GeneralizedVelocityConstraint
class  GeneralizedAccelerationConstraint
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  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 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  GeneralizedFriction
class  StateDependentFunction
class  TimeDependentFunction
class  ConstantFunction< Ret(Arg)>
class  LinearFunction< Ret(Arg)>
class  QuadraticFunction< Ret(Arg)>
class  PolynomFunction< Ret(Arg)>
class  SinusoidalFunction< Ret(Arg)>
class  StepFunction< Ret(Arg)>
class  AbsoluteValueFunction< Ret(Arg)>
class  ModuloFunction< Ret(Arg)>
class  SignumFunction< Ret(Arg)>
class  PositiveValueFunction< Ret(Arg)>
class  AdditionFunction< Ret(Arg)>
class  MultiplicationFunction< Ret(Arg)>
class  VectorValuedFunction< Ret(double)>
class  VectorValuedFunction< Ret(Arg)>
class  NestedFunction< Ret(Argo(double))>
class  NestedFunction< Ret(Argo(Argi))>
struct  LimitedFunction< Ret(Arg)>
class  PiecewiseDefinedFunction< Ret(Arg)>
class  FunctionBase
class  Function
class  TranslationAlongXAxis
class  TranslationAlongYAxis
class  TranslationAlongZAxis
class  TranslationAlongAxesXY
class  TranslationAlongAxesYZ
class  TranslationAlongAxesXZ
class  TranslationAlongAxesXYZ
class  TranslationAlongFixedAxis
class  LinearTranslation
class  RotationAboutXAxis
class  RotationAboutYAxis
class  RotationAboutZAxis
class  RotationAboutFixedAxis
class  RotationAboutAxesXY
class  RotationAboutAxesYZ
class  RotationAboutAxesXZ
class  RotationAboutAxesXYZ
 rotation class for rotation about all three axis using the cardan description More...
class  RotationAboutAxesXYZ2
class  RotationAboutAxesZXZ
class  RotationAboutAxesZYX
class  RotationAboutAxesXYZMapping
class  RotationAboutAxesXYZMapping2
class  RotationAboutAxesZXZMapping
class  RotationAboutAxesZXZMapping2
class  RotationAboutAxesZYXMapping
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  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  PiecewisePolynomFunction< Ret(Arg)>
 class for piecewise-polynomials and cubic spline interpolation More...
class  ToCasadi
class  ToCasadi< double >
class  ToCasadi< fmatvec::Vector< Col, double > >
class  FromCasadi
class  FromCasadi< fmatvec::Vector< Col, double > >
class  FromCasadi< fmatvec::RowVector< Col, double > >
class  FromCasadi< fmatvec::Matrix< fmatvec::General, Row, fmatvec::Var, double > >
class  FromCasadi< double >
class  SymbolicFunction< Ret(Arg)>
class  SymbolicFunction< Ret(Arg1, Arg2)>
class  SymbolicFunction3
class  TabularFunction< Ret(Arg)>
class  PeriodicTabularFunction< Ret(Arg)>
class  TwoDimensionalTabularFunction< Ret(Arg1, Arg2)>
class  DistanceFunction< Ret(Arg)>
 class for distances and root functions of contact problems More...
class  FuncPairContour1sPoint
 root function for pairing Contour1s and Point More...
class  FuncPairContour2sPoint
 root function for pairing Contour2s 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  Contact2sSearch
 general class for contact search with respect to two 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  IsotropicRotationalSpringDamper
 Isotropic rotational spring damper force law. More...
class  Joint
 class for connections: constraints on frames More...
class  InverseKineticsJoint
class  KinematicExcitation
class  GeneralizedPositionExcitation
class  GeneralizedVelocityExcitation
class  GeneralizedAccelerationExcitation
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  NurbsSurface
 A class to represent a NURBS surface. More...
class  Object
 class for all objects having own dynamics and mass More...
class  DOMEvalExceptionStack
class  DOMEvalExceptionWrongType
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  SingleContact
 class for contacts More...
class  Solver
 solver-interface for dynamic systems More...
class  SpringDamper
 A spring damper force law. More...
class  DirectionalSpringDamper
 A spring damper force law. More...
class  GeneralizedSpringDamper
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  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  StopWatch
class  ToDouble
class  ToDouble< double >
class  ToDouble< fmatvec::Vector< Col, double > >
class  ToDouble< fmatvec::RowVector< Row, double > >
class  FromMatStr
class  FromMatStr< double >
class  FromDouble
class  FromDouble< double >
class  FromVecV
class  FromVecV< double >

Functions

fmatvec::Vec3 computeTangential (const fmatvec::Vec3 &n)
const MBXMLUtils::NamespaceURI MBSIM ("http://mbsim.berlios.de/MBSim")
std::ostream & operator<< (std::ostream &o, const LinearComplementarityProblem::LCPSolvingStrategy &strategy)
std::ostream & operator<< (std::ostream &o, const LinearComplementarityProblem::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 knotAveraging (const Vec &uk, int deg, Vec &U)
void knotAveragingClosed (const Vec &uk, int deg, Vec &U)
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)
void binomialCoef (Mat &Bin)
int surfMeshParams (const GeneralMatrix< fmatvec::Vec3 > &Q, Vec &uk, Vec &vl)
int surfMeshParamsClosedU (const GeneralMatrix< fmatvec::Vec3 > &Q, Vec &uk, Vec &vl, int degU)
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)
fmatvec::Mat cs2Mat (cs *sparseMat)
 calculate a fmatvec::Mat out of a sparse matrix
template<class T >
std::string toStr (const T &val)
xercesc::DOMNode * toXML (const std::string &str, xercesc::DOMNode *parent)
xercesc::DOMNode * toXML (int i, xercesc::DOMNode *parent)
xercesc::DOMNode * toXML (unsigned int i, xercesc::DOMNode *parent)
xercesc::DOMNode * toXML (double d, xercesc::DOMNode *parent)
template<class T >
xercesc::DOMNode * toXML (const std::vector< T > &x, xercesc::DOMNode *parent)
template<class Row >
xercesc::DOMNode * toXML (const fmatvec::Vector< Row, double > &x, xercesc::DOMNode *parent)
template<class Type , class Row , class Col >
xercesc::DOMNode * toXML (const fmatvec::Matrix< Type, Row, Col, double > &A, xercesc::DOMNode *parent)
template<class T >
std::string funcExt ()
template<>
std::string funcExt< double > ()
template<class T >
void addElementText (xercesc::DOMElement *parent, const MBXMLUtils::FQN &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)

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)