MULTIBODY SIMULATION SOFTWARE - API documentation
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
chrono Namespace Reference

Namespaces

namespace  cascade
namespace  collision
namespace  geometry
namespace  pneumatics

Classes

class  ChAsset
class  ChAssetLevel
class  ChBoxShape
class  ChCamera
class  ChCylinderShape
class  ChObjShapeFile
class  ChSphereShape
class  ChTexture
class  ChColor
 Class for setting a color (used by ChVisualization) More...
class  ChVisualization
class  ChClassRegisterCommon
class  ChClassRegisterABSTRACT
class  ChClassRegister
class  ChCoordsys
class  ChException
class  ChFileutils
class  ChFrame
class  ChFrameMoving
struct  HashFunction_Generic
struct  HashFunction_String1
struct  HashFunction_String2
struct  HashFunction_String3
class  ChHashTable
class  ChNode
class  ChList
class  ChLog
class  ChLogConsole
class  ChMatrix
class  ChMatrixDynamic
class  ChMatrixNM
class  ChMatrix33
class  ChQuaternion
class  ChRealtimeStepTimer
class  ChRunTimeType
class  ChShared
class  ChSmartPtr
class  ChSharedPtr
class  ChMelement
class  ChSparseMatrix
class  ChStream
class  ChStreamOut
class  ChStreamIn
class  ChStreamOutAscii
class  ChStreamInAscii
class  ChBinaryArchive
class  ChStreamOutBinary
class  ChStreamInBinary
class  ChStreamFile
class  ChStreamOstreamWrapper
class  ChStreamIstreamWrapper
class  ChStreamVectorWrapper
class  ChStreamOutBinaryStream
class  ChStreamInBinaryStream
class  ChStreamOutBinaryVector
class  ChStreamInBinaryVector
class  ChStreamOutBinaryFile
class  ChStreamOutAsciiFile
class  ChStreamInBinaryFile
class  ChStreamInAsciiFile
class  ChTimer
class  ChTrasform
class  ChLcpConstraint
class  ChLcpConstraintNodeContactN
class  ChLcpConstraintNodeFrictionT
class  ChLcpConstraintThree
class  ChLcpConstraintThreeBBShaft
class  ChLcpConstraintThreeGeneric
class  ChLcpConstraintTwo
class  ChLcpConstraintTwoBodies
class  ChLcpConstraintTwoContact
class  ChLcpConstraintTwoContactN
class  ChLcpConstraintTwoFriction
class  ChLcpConstraintTwoFrictionApprox
class  ChLcpConstraintTwoFrictionT
class  ChLcpConstraintTwoGeneric
class  ChLcpConstraintTwoGenericBoxed
class  ChLcpConstraintTwoRollingN
class  ChLcpConstraintTwoRollingT
class  ChLcpDirectSolver
class  ChLcpIterativeBB
class  ChLcpIterativeJacobi
class  ChLcpIterativeMINRES
class  ChLcpIterativePCG
class  ChLcpIterativePMINRES
class  ChLcpIterativeSolver
class  ChLcpIterativeSOR
class  ChLcpIterativeSymmSOR
class  ChLcpSimplexSolver
class  ChLcpSolver
class  ChLcpSolverDEM
class  ChLcpSystemDescriptor
class  ChLcpVariables
class  ChLcpVariablesBody
class  ChLcpVariablesBodyOwnMass
class  ChSharedMassBody
class  ChLcpVariablesBodySharedMass
class  ChLcpVariablesGeneric
class  ChLcpVariablesNode
class  ChFunction
class  ChFunction_Const
class  ChFunction_ConstAcc
class  ChFunction_Derive
class  ChFunction_Fillet3
class  ChFunction_Integrate
class  ChFunction_Matlab
class  ChFunction_Mirror
class  ChFunction_Mocap
class  ChFunction_Noise
class  ChFunction_Operation
class  ChFunction_Oscilloscope
class  ChFunction_Poly
class  ChFunction_Poly345
class  ChFunction_Ramp
class  ChFunction_Recorder
class  ChFunction_Repeat
class  ChFseqNode
class  ChFunction_Sequence
class  ChFunction_Sigma
class  ChFunction_Sine
class  ChOMPmutex
class  ChOMPfunctions
struct  ChOMPscopedLock
class  ChAssembly
class  ChBody
class  ChBodyAuxRef
class  ChBodyDEM
class  ChConstraint
class  ChConstraint_Chf
class  ChConstraint_Chf_ImposeVal
class  ChConstraint_Chf_Continuity
class  ChConstraint_Chf_HorDistance
class  ChConstraint_Chf_VertDistance
class  ChContact
class  ChContactContainer
class  ChAddContactCallback
class  ChReportContactCallback
class  ChContactContainerBase
class  ChContactContainerDEM
class  ChContactContainerNodes
class  ChContactDEM
class  ChContactNode
class  ChContactRolling
class  ChVoightTensor
class  ChStressTensor
class  ChStrainTensor
class  ChContinuumMaterial
class  ChContinuumElastic
class  ChContinuumElastoplastic
class  ChContinuumPlasticVonMises
class  ChContinuumDruckerPrager
class  ChControllerPID
class  ChControls
class  ChConveyor
class  ChEvents
class  ChExternalObject
class  ChFelem_BrickLinear
class  ChFelem_TetraLinear
class  ChFnode
class  ChFelem
class  ChPageVect
class  ChFile_ps_color
class  ChFile_ps_axis_setting
class  ChFile_ps_graph_setting
class  ChFile_ps
class  ChForce
class  ChThesItem
class  ChTag
class  ChVar
class  ChEvStacks
class  ChFx
class  ChFxCfunctionS
class  ChFxCfunction
class  ChGlobals
class  ChHistory
class  ChImpact
class  ChNodeBase
class  ChIndexedNodes
class  ChParticleBase
class  ChIndexedParticles
class  ChIntegrator
class  ChLinkLimit
class  ChLink
class  ChLinkBrake
class  ChLinkClearance
class  ChLinkContact
class  ChLinkDistance
class  ChLinkEngine
class  ChLinkFastContact
class  ChLinkForce
class  ChLinkGear
class  ChLinkGeometric
class  ChLinkLinActuator
class  ChLinkLock
class  ChLinkLockRevolute
class  ChLinkLockLock
class  ChLinkLockSpherical
class  ChLinkLockCylindrical
class  ChLinkLockPrismatic
class  ChLinkLockPointPlane
class  ChLinkLockPointLine
class  ChLinkLockPlanePlane
class  ChLinkLockOldham
class  ChLinkLockFree
class  ChLinkLockHook
class  ChLinkLockAlign
class  ChLinkLockParallel
class  ChLinkLockPerpend
class  ChLinkMarkers
class  ChLinkMask
class  ChLinkMaskLF
class  ChLinkMasked
class  ChLinkMate
class  ChLinkMateGeneric
class  ChLinkMatePlane
class  ChLinkMateCoaxial
class  ChLinkMateSpherical
class  ChLinkMateXdistance
class  ChLinkMateParallel
class  ChLinkMateOrthogonal
class  ChLinkNumdiff
class  ChLinkPneumaticActuator
class  ChLinkPointSpline
class  ChLinkPulley
class  ChLinkScrew
class  ChLinkSpring
class  ChLinkTrajectory
class  ChLinkWheel
class  ChMarker
class  ChMaterialCouple
class  ChMaterialSurface
class  ChNodeMeshless
 Class for a single node in the meshless FEM cluster. More...
class  ChMatterMeshless
class  ChNodeSPH
class  ChContinuumSPH
class  ChMatterSPH
class  ChFMesh
class  ChMocap
class  ChNonlinearSolver
class  ChNodeBody
class  ChObj
class  ChAparticle
class  ChParticlesClones
class  ChPhysicsItem
class  ChProbe
class  ChAddProximityCallback
class  ChReportProximityCallback
class  ChProximityContainerBase
class  ChProximityMeshless
class  ChProximityContainerMeshless
class  ChProximitySPH
class  ChProximityContainerSPH
class  ChQuadrature
class  ChRef
class  ChRefFunction
class  ChRefFunctionHandle
class  ChScript
class  ChScriptEngine
class  ChShaft
class  ChShaftsBody
class  ChShaftsClutch
class  ChShaftsCouple
class  ChShaftsGear
class  ChShaftsMotor
class  ChShaftsPlanetary
class  ChShaftsTorsionSpring
class  ChOptimizer
class  ChOptimizerLocal
class  ChGenotype
class  ChOptimizerGenetic
class  ChOptimizerGradient
class  ChOptimizerHybrid
class  ChStack
class  ChSystem
class  ChControlsJS
class  ChFunction_Jscript
class  ChFxJavascript
class  ChGlobalsJS
class  ChJavascriptScript
class  ChJavascriptEngine
class  CHoptVar
class  ChMatlabEngine
class  ChAssemblyMPI
class  ChBodyDEMMPI
class  ChBodyMPI
class  ChContactContainerDEMMPI
class  ChDomainLatticePartitioning
class  ChInterfaceItem
class  ChDomainNodeInterfaceMPI
class  ChDomainNodeMPI
class  ChDomainNodeMPIlattice3D
class  ChLcpIterativeSchwarzMPI
class  ChLcpSolverDEMMPI
class  ChLcpSharedVarMPI
class  ChLcpSharedInterfaceMPI
class  ChLcpSystemDescriptorMPI
class  ChSystemDescriptorMPIlattice3D
class  ChMPIrequest
class  ChMPIstatus
class  ChMPIfile
class  ChMPI
class  ChSystemMPI

Typedefs

typedef ChSmartPtr
< btCollisionShape > 
smartptrshapes
typedef ChCoordsys< double > Coordsys
typedef ChCoordsys< float > CoordsysF
typedef ChQuaternion< double > Quaternion
typedef ChQuaternion< float > QuaternionF
typedef ChVector< double > Vector
typedef ChVector< float > VectorF
typedef void(* ChThreadFunc )(void *userPtr, void *lsMemory)
typedef void *(* ChMemorySetupFunc )()
typedef unsigned int uint32_t
typedef ChThreadsPOSIX ChThreadsPlatformImplementation
typedef ChSharedPtr< ChAssemblyChAssemblyPtr
typedef ChSharedPtr< ChForceChSharedForcePtr
typedef ChSharedPtr< ChMarkerChSharedMarkerPtr
typedef ChSharedPtr< ChBodyChSharedBodyPtr
typedef ChSharedPtr< ChBodyDEMChSharedBodyDEMPtr
typedef ChSharedPtr
< ChIndexedNodes
ChSharedIndexedNodesPtr
typedef ChSharedPtr
< ChIndexedParticles
ChSharedIndexedParticlesPtr
typedef ChSharedPtr
< ChMatterMeshless
ChSharedMatterMeshlessPtr
typedef ChSharedPtr< ChMatterSPHChSharedMatterSPHPtr
typedef ChSharedPtr< ChNodeBodyChSharedNodeBodyPtr
typedef ChSharedPtr
< ChParticlesClones
ChSharedParticlesClonesPtr
typedef ChSharedPtr< ChShaftChSharedShaftPtr
typedef ChSharedPtr< ChShaftsBodyChSharedShaftsBodyPtr
typedef ChSharedPtr
< ChShaftsClutch
ChSharedShaftsClutchPtr
typedef ChSharedPtr
< ChShaftsCouple
ChSharedShaftsCouplePtr
typedef ChSharedPtr< ChShaftsGearChSharedShaftsGearPtr
typedef ChSharedPtr
< ChShaftsMotor
ChSharedShaftsMotorPtr
typedef ChSharedPtr
< ChShaftsPlanetary
ChSharedPlanetaryPtr
typedef ChSharedPtr
< ChShaftsTorsionSpring
ChSharedShaftsTorsionSpringPtr
typedef ChSharedPtr< ChLinkChSharedLinkPtr
typedef ChSharedPtr< ChProbeChSharedProbePtr
typedef ChSharedPtr< ChControlsChSharedControlsPtr
typedef ChSharedPtr
< ChAssemblyMPI
ChSharedAssemblyMPIPtr
typedef ChSharedPtr< ChBodyDEMMPIChSharedBodyDEMMPIPtr
typedef ChSharedPtr< ChBodyMPIChSharedBodyMPIPtr

Enumerations

enum  eChConstraintMode { CONSTRAINT_FREE = 0, CONSTRAINT_LOCK = 1, CONSTRAINT_UNILATERAL = 2, CONSTRAINT_FRIC = 3 }
enum  {
  CHOP_ADD = 0, CHOP_SUB, CHOP_MUL, CHOP_DIV,
  CHOP_POW, CHOP_MAX, CHOP_MIN, CHOP_MODULO,
  CHOP_FABS, CHOP_FUNCT
}
enum  {
  OP_NONE = 0, OP_MUL, OP_DIV, OP_ADD,
  OP_SUB, OP_POW
}
enum  {
  PARID_NULL = 0, PARID_PLUS, PARID_MINUS, PARID_MUL,
  PARID_DIV, PARID_FX, PARID_MINOR, PARID_MAJOR,
  PARID_ISEQUAL, PARID_STORE, PARID_COMMA, PARID_BICOMMA,
  PARID_WHILE, PARID_NOT, PARID_NOTEQUAL, PARID_POINTER
}
enum  eChGeneticSelection { SELEC_ROULETTE = 0, SELEC_ROULETTEBEST, SELEC_NORMGEOMETRIC, SELEC_TOURNAMENT }
enum  eChGeneticCrossover {
  CROSSOVER_ARITMETIC = 0, CROSSOVER_BLEND, CROSSOVER_BLEND_RANDOM, CROSSOVER_HEURISTIC,
  CROSSOVER_DISABLED
}
enum  eChGeneticChange { CRO_CHANGE_NULL = 0, CRO_CHANGE_DATE, CRO_CHANGE_SLOWLY }
enum  eChGeneticMutation { MUTATION_UNIFORM = 0, MUTATION_BOUNDARY }
enum  eChGeneticEliteMode { ELITE_FALSE = 0, ELITE_TRUE }
enum  eChGeneticReplaceMode { REPLA_PARENTS = 0, REPLA_WORST }

Functions

template<class T >
void create (std::string cls_name, T **ppObj)
Coordsys Force2Dcsys (Coordsys *cs)
ChLogGetLog ()
void SetLog (ChLog &new_logobject)
void SetLogDefault ()
double CHatan2 (double mcos, double msin)
void CHsetRandomSeed (long newseed)
double CHrandom ()
void ChPeriodicPar (double &u, int closed)
double CHnoise (double x, double amp, double freq, int octaves, double amp_ratio)
int CHmax (int a, int b)
double CHmax (double a, double b)
int CHmin (int a, int b)
double CHmin (double a, double b)
void Chrono_to_Marray (ChMatrix33<> &mma, double marr[3][3])
void Chrono_from_Marray (ChMatrix33<> &mma, double marr[3][3])
double Qlenght (Quaternion q)
Quaternion Qscale (Quaternion q, double fact)
Quaternion Qadd (Quaternion qa, Quaternion qb)
Quaternion Qsub (Quaternion qa, Quaternion qb)
Quaternion Qnorm (Quaternion q)
Quaternion Qconjugate (Quaternion q)
Quaternion Qcross (Quaternion qa, Quaternion qb)
Quaternion Q_from_AngAxis (double angle, Vector axis)
Quaternion Q_from_AngZ (double angleZ)
Quaternion Q_from_AngX (double angleX)
Quaternion Q_from_AngY (double angleY)
Quaternion Q_from_NasaAngles (Vector mang)
Vector Q_to_NasaAngles (Quaternion q1)
void Q_to_AngAxis (Quaternion *quat, double *a_angle, Vector *a_axis)
Quaternion Qdt_from_Wabs (Vector w, Quaternion q)
Quaternion Qdt_from_Wrel (Vector w, Quaternion q)
Quaternion Qdtdt_from_Aabs (Vector a, Quaternion q, Quaternion q_dt)
Quaternion Qdtdt_from_Arel (Vector a, Quaternion q, Quaternion q_dt)
Quaternion Qdt_from_AngAxis (Quaternion quat, double angle_dt, Vector axis)
Quaternion Qdtdt_from_AngAxis (double angle_dtdt, Vector axis, Quaternion q, Quaternion q_dt)
int Qequal (Quaternion *qa, Quaternion *qb)
int Qnotnull (Quaternion *qa)
Quaternion ImmQ_complete (Vector *qimm)
Quaternion ImmQ_dt_complete (Quaternion *mq, Vector *qimm_dt)
Quaternion ImmQ_dtdt_complete (Quaternion *mq, Quaternion *mqdt, Vector *qimm_dtdt)
Quaternion Angle_to_Quat (int angset, Vector *mangles)
Vector Quat_to_Angle (int angset, Quaternion *mquat)
Quaternion AngleDT_to_QuatDT (int angset, Vector *mangles, Quaternion *q)
Quaternion AngleDTDT_to_QuatDTDT (int angset, Vector *mangles, Quaternion *q)
Vector Angle_to_Angle (int setfrom, int setto, Vector *mangles)
Vector VaxisXfromQuat (Quaternion quat)
template<typename T >
bool operator== (const ChSmartPtr< T > &left, const ChSmartPtr< T > &right)
template<typename T >
bool operator< (const ChSmartPtr< T > &left, const ChSmartPtr< T > &right)
template<typename T >
bool operator== (const ChSharedPtr< T > &left, const ChSharedPtr< T > &right)
template<typename T >
bool operator< (const ChSharedPtr< T > &left, const ChSharedPtr< T > &right)
template<class T >
void StreamSwapBytes (T *ptData)
template<class Real >
ChVector< Real > operator* (const double v, const ChVector< Real > V)
template<class RealA , class RealB >
RealA Vdot (const ChVector< RealA > va, const ChVector< RealB > vb)
template<class RealA >
void Vset (ChVector< RealA > *v, RealA mx, RealA my, RealA mz)
template<class RealA , class RealB >
ChVector< RealA > Vadd (ChVector< RealA > va, ChVector< RealB > vb)
template<class RealA , class RealB >
ChVector< RealA > Vsub (ChVector< RealA > va, ChVector< RealB > vb)
template<class RealA , class RealB >
ChVector< RealA > Vcross (ChVector< RealA > va, ChVector< RealB > vb)
template<class RealA , class RealB >
ChVector< RealA > Vmul (ChVector< RealA > va, RealB fact)
template<class RealA >
RealA Vlenght (ChVector< RealA > va)
template<class RealA >
ChVector< RealA > Vnorm (ChVector< RealA > va)
template<class RealA , class RealB >
bool Vequal (ChVector< RealA > *va, ChVector< RealB > *vb)
template<class RealA >
bool Vnotnull (ChVector< RealA > *va)
template<class RealA >
double VangleYZplane (ChVector< RealA > *va)
template<class RealA >
double VangleYZplaneNorm (ChVector< RealA > *va)
template<class RealA >
double VangleRX (ChVector< RealA > *va)
template<class RealA >
ChVector< RealA > VfromPolar (double norm_angle, double pol_angle)
template<class RealA >
void XdirToDxDyDz (ChVector< RealA > *mVxdir, ChVector< RealA > *mVsingular, ChVector< RealA > *Vx, ChVector< RealA > *Vy, ChVector< RealA > *Vz)
void * SolverMemoryFunc ()
void SolverThreadFunc (void *userPtr, void *lsMemory)
void * SystemdMemoryFunc ()
void SystemdThreadFunc (void *userPtr, void *lsMemory)
ChGlobalsDLL_CreateGlobals ()
void DLL_DeleteGlobals ()
int coll_model_from_r3d (ChCollisionModel *chmodel, ChBody *mbody, int lod, Vector *mt, ChMatrix33<> *mr)
int ChLineLineIntersect (Vector p1, Vector p2, Vector p3, Vector p4, Vector *pa, Vector *pb, double *mua, double *mub)
double ChPointLineDistance (Vector p, Vector dA, Vector dB, double &mu, int &is_insegment)
double ChPointTriangleDistance (Vector B, Vector A1, Vector A2, Vector A3, double &mu, double &mv, int &is_into, Vector &Bprojected)
int ChDegenerateTriangle (Vector Dx, Vector Dy)
ChPageVect pv_set (double x, double y)
ChPageVect pv_set (Vector mv)
const ChFile_ps_color PS_COLOR_WHITE (1, 1, 1)
const ChFile_ps_color PS_COLOR_BLACK (0, 0, 0)
int Get_Var_by_Token (char *string, char *string_end, ChVar &myret, void *database)
int Set_Var_by_Token (char *string, char *string_end, ChVar &myret, void *database)
int Get_Var_by_Name (char *string, ChVar &myret, void *database)
int Set_Var_by_Name (char *string, ChVar &myret, void *database)
int Get_Float_by_Name (char *string, double &myfloat, void *database)
int Set_Float_by_Name (char *string, double &myfloat, void *database)
int token_match (char *string, char *endstring, char *compare)
int token_atom_lenght (char *string, char *string_end)
int goto_next_atom (char *&string, char *&endstring)
int match_parenthesis (char *string, char *endstring)
int match_brace (char *string, char *endstring)
int is_a_number (char *string, char *endstring)
ChVar Ch_EvalVar (char *string, char *endstring, void *database)
ChVar Ch_EvalVar (char *string, void *database)
int Ch_Eval (char *string, void *database, int &result)
int Ch_Eval (char *string, void *database, double &result)
int TranslateWithThesaurus (char *string, char *string_end, ChThesItem *thes, void *obj, int classid, ChTag &ret_tag)
ChGlobalsChGLOBALS ()
void SetChGLOBALS (ChGlobals *my_globals)
int ch_iterative_TFQMR (ChMatrix<> &x, ChMatrix<> &b, void(*SolveAX)(ChMatrix<> &inX, ChMatrix<> &outB, void *userdata), void(*M1_solve)(ChMatrix<> &eIn, ChMatrix<> &eOut, void *userdata), void(*M2_solve)(ChMatrix<> &eIn, ChMatrix<> &eOut, void *userdata), double min_kappa, int max_iterations, int &iter, int &error_code, void *userdata)
void __easy_prodeval (ChMatrix<> &inX, ChMatrix<> &outB, void *userdata)
int ch_iterative_TFQMR_easy (ChMatrix<> &A, ChMatrix<> &x, ChMatrix<> &b, double mkappa, int iterations)
template<class Real >
void Transform_Cq_to_Cqw_row (ChMatrix<> *mCq, int qrow, ChMatrix< Real > *mCqw, int qwrow, ChBody *mbody)
template<class T , class Iterator >
T * ChContainerSearchFromName (char *m_name, Iterator from, Iterator to)
template<class T , class Iterator >
T * ChContainerSearchFromID (int myID, Iterator from, Iterator to)
void null_entry_solv_opt (double x[], double g[])
double CalcFO (double x[], void *idData)
void showVarFun ()
double solvopt (unsigned int n, double x[], double fun(double x[], void *idData), void grad(double x[], double g[]), double options[], void *idData, void(*showDisplay)(), int showEvery, int *breakCicle, int &err_code)
ChGlobalsJSChGLOBALS_JS ()
void SetChGLOBALS_JS (ChGlobalsJS *my_globals)
void __InitChronoJavaClasses (JSContext *cx, JSObject *glob)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->GetMass())) GET_JS_PROP(1
 chjs_from_data (cx, vp, this_data->GetXInertia(),&chjs_Matrix)) GET_JS_PROP(2
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetCoord()),&chjs_Coordsys)) GET_JS_PROP(4
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetCoord_dt()),&chjs_Coordsys)) GET_JS_PROP(5
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetCoord_dtdt()),&chjs_Coordsys)) GET_JS_PROP(6
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetWvel_loc()),&chjs_Vector)) GET_JS_PROP(7
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetWacc_loc()),&chjs_Vector)) GET_JS_PROP(8
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetWvel_par()),&chjs_Vector)) GET_JS_PROP(9
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetWacc_par()),&chjs_Vector)) GET_JS_PROP(10
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetRotAxis()),&chjs_Vector)) GET_JS_PROP(11
 chjs_from_double (cx, vp, this_data->GetRotAngle())) GET_JS_PROP(12
 chjs_from_int (cx, vp, this_data->GetBodyFixed())) GET_JS_PROP(17
this_data SetMass (chjs_to_double(cx, vp))) SET_JS_PROP(1
this_data this_data SetInertia ((ChMatrix33<> *) chjs_to_data(cx, vp))) SET_JS_PROP(2
this_data this_data this_data SetSystem ((ChSystem *) chjs_to_data(cx, vp))) SET_JS_PROP(3
this_data this_data this_data
this_data SetCoord Coordsys 
chjs_to_data (cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys this_data 
SetBodyFixed (chjs_to_int(cx, vp))) SET_JS_PROP(17
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys this_data this_data 
SetCollide (chjs_to_int(cx, vp))) SET_JS_PROP(18
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys this_data this_data
this_data 
SetImpactC (chjs_to_double(cx, vp))) SET_JS_PROP(19
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys this_data this_data
this_data this_data 
SetImpactCt (chjs_to_double(cx, vp))) SET_JS_PROP(20
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys this_data this_data
this_data this_data this_data 
SetSfriction (chjs_to_double(cx, vp))) SET_JS_PROP(21
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys this_data this_data
this_data this_data this_data
this_data 
SetKfriction (chjs_to_double(cx, vp))) SET_JS_PROP(22
DEF_JS_FUNEND PARCHK (0,&chjs_Coordsys)
this_data Move Coordsys chjs_to_data (cx, argv+0)) = tmp.Get_A_quaternion()
 if (mma)
 if (mfa)
 JS_ReportError (cx,"No CHRONO object '%s' in body", chjs_to_string(cx, argv+0))
 if (mext)
 JS_ReportError (cx,"No 3d geometric object '%s' in body", chjs_to_string(cx, argv+0))
 PARCHK (1,&chjs_Vector)
 PARCHK (2,&chjs_int)
this_data
Accumulate_script_force Vector
*Vector 
chjs_to_int (cx, argv+2))
JSClass * achjs_RBody ()
JSObject * CHJS_InitClass_RBody (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_string(cx, vp, this_data->GetName())) GET_JS_PARSE_END SET_JS_PROP(0
this_data SetName (chjs_to_string(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec CHobj_methods[]
JSObject * CHJS_InitClass_CHobj (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_int(cx, vp, this_data->Get_Cn())) GET_JS_PROP(1
 if (this_data->IsValid()) chjs_from_data(cx
this_data Get_C ()
else chjs_from_bool (cx, vp, false)
 GET_JS_PROP (2, chjs_from_bool(cx, vp, this_data->IsActive())) GET_JS_PROP(3
 chjs_from_bool (cx, vp, this_data->IsValid())) GET_JS_PROP(4
this_data SetDisabled (chjs_to_bool(cx, vp))) SET_JS_PARSE_ENDthis_data
DEF_JS_BUILDEND this_data Update ()
JSObject * CHJS_InitClass_Constraint (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_data(cx, vp, this_data->Get_root_function(), chjs_cast_funct(this_data->Get_root_function()))) GET_JS_PROP(1
 chjs_from_data (cx, vp, this_data->Get_target_function(), chjs_cast_funct(this_data->Get_target_function()))) GET_JS_PARSE_END SET_JS_PARSE_ENDif(argc
JSObject * CHJS_InitClass_Constraint_Chf (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->GetT())) GET_JS_PROP(1
this_data SetT (chjs_to_double(cx, vp))) SET_JS_PROP(1
this_data this_data SetValue (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDif(argc
JSObject * CHJS_InitClass_Constraint_Chf_Val (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_int(cx, vp, this_data->GetContinuityOrder())) GET_JS_PROP(1
this_data SetContinuityOrder (chjs_to_int(cx, vp))) SET_JS_PROP(1
this_data this_data SetInterfaceNum (chjs_to_int(cx, vp))) SET_JS_PARSE_ENDif(argc
JSObject * CHJS_InitClass_Constraint_Chf_Continuity (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (3, chjs_from_double(cx, vp, this_data->Get_In())) GET_JS_PROP(4
 chjs_from_double (cx, rval, this_data->Get_Out(chjs_to_double(cx, argv+0), chjs_to_double(cx, argv+1)))
DEF_JS_FUNEND this_data Reset ()
JSObject * CHJS_InitClass_ChControllerPID (JSContext *cx, JSObject *glob, JSObject *parent)
void chjs_errorReporter (JSContext *cx, const char *message, JSErrorReport *report)
void chjs_errorReporterVoid (JSContext *cx, const char *message, JSErrorReport *report)
 GET_JS_PROP (1, chjs_from_data(cx, vp, this_data->GetBody(),&chjs_RBody)) GET_JS_PROP(2
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetVpoint()),&chjs_Vector)) GET_JS_PROP(6
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetVrelpoint()),&chjs_Vector)) GET_JS_PROP(7
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetDir()),&chjs_Vector)) GET_JS_PROP(8
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetRelDir()),&chjs_Vector)) GET_JS_PROP(9
this_data SetBody ((ChBody *) chjs_to_data(cx, vp))) SET_JS_PROP(2
this_data this_data SetMode (chjs_to_int(cx, vp))) SET_JS_PROP(3
this_data this_data this_data SetAlign (chjs_to_int(cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data 
SetFrame (chjs_to_int(cx, vp))) SET_JS_PROP(5
this_data this_data this_data
this_data this_data SetVpoint
Vector this_data SetVrelpoint
Vector this_data SetDir Vector
this_data SetRelDir Vector
this_data 
SetMforce (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data->UpdateState()
JSClass * achjs_Force ()
JSObject * CHJS_InitClass_Force (JSContext *cx, JSObject *glob, JSObject *parent)
JSClass * chjs_cast_funct (ChFunction *myfx)
 chjs_from_double (cx, rval, this_data->Get_y(chjs_to_double(cx, argv+0)))
 chjs_from_double (cx, rval, this_data->Compute_max(chjs_to_double(cx, argv+0), chjs_to_double(cx, argv+1), chjs_to_double(cx, argv+2), 0))
 chjs_print_objtree (cx, 0,&mylist)
mylist KillAll ()
 while (mynode)
 chjs_from_int (cx, rval, ChFunctionOptvarToolsJS::OptVariablesToVector(this_data,(ChMatrix<> *) chjs_to_data(cx, argv+0), 0))
DEF_JS_FUNEND chjs_from_int (cx, rval, this_data->OptVariableCount())
JSObject * CHJS_InitClass_Function (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->Get_yconst())) GET_JS_PARSE_END SET_JS_PROP(0
this_data Set_yconst (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionConst (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->Get_y0())) GET_JS_PROP(1
this_data Set_y0 (chjs_to_double(cx, vp))) SET_JS_PROP(1
this_data this_data Set_ang (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionRamp (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->Get_amp())) GET_JS_PROP(1
this_data Set_amp (chjs_to_double(cx, vp))) SET_JS_PROP(1 = new ChFunction_Sigma()
this_data this_data Set_phase (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data this_data Set_freq (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data
this_data 
Set_w (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionSine (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->Get_start())) GET_JS_PROP(1
this_data Set_start (chjs_to_double(cx, vp))) SET_JS_PROP(1 = new ChFunction_Sequence()
this_data this_data Set_end (chjs_to_double(cx, vp))) SET_JS_PROP(2 = new ChFunction_Poly345()
JSObject * CHJS_InitClass_FunctionSigma (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_int(cx, vp, this_data->Get_order())) GET_JS_PROP(1
 chjs_from_double (cx, vp, this_data->Get_coeff(0))) GET_JS_PROP(2
 chjs_from_double (cx, vp, this_data->Get_coeff(1))) GET_JS_PROP(3
 chjs_from_double (cx, vp, this_data->Get_coeff(2))) GET_JS_PROP(4
 chjs_from_double (cx, vp, this_data->Get_coeff(3))) GET_JS_PROP(5
 chjs_from_double (cx, vp, this_data->Get_coeff(4))) GET_JS_PROP(6
 chjs_from_double (cx, vp, this_data->Get_coeff(5))) GET_JS_PROP(7
 chjs_from_double (cx, vp, this_data->Get_coeff(6))) GET_JS_PARSE_END SET_JS_PROP(0
this_data Set_order (chjs_to_int(cx, vp))) SET_JS_PROP(1
this_data this_data Set_coeff (chjs_to_double(cx, vp), 0)) SET_JS_PROP(2
this_data this_data this_data Set_coeff (chjs_to_double(cx, vp), 1)) SET_JS_PROP(3
this_data this_data this_data
this_data 
Set_coeff (chjs_to_double(cx, vp), 2)) SET_JS_PROP(4
this_data this_data this_data
this_data this_data 
Set_coeff (chjs_to_double(cx, vp), 3)) SET_JS_PROP(5
this_data this_data this_data
this_data this_data this_data 
Set_coeff (chjs_to_double(cx, vp), 4)) SET_JS_PROP(6
this_data this_data this_data
this_data this_data this_data
this_data 
Set_coeff (chjs_to_double(cx, vp), 5)) SET_JS_PROP(7
this_data this_data this_data
this_data this_data this_data
this_data this_data 
Set_coeff (chjs_to_double(cx, vp), 6)) SET_JS_PARSE_ENDthis_data
this_data Set_coeff (chjs_to_double(cx, argv+0), chjs_to_int(cx, argv+1))
 chjs_from_double (cx, rval, this_data->Get_coeff(chjs_to_int(cx, argv+0)))
JSObject * CHJS_InitClass_FunctionPoly (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->Get_h())) GET_JS_PROP(1
this_data Set_h (chjs_to_double(cx, vp))) SET_JS_PROP(1
this_data this_data this_data Set_aw (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data
this_data 
Set_av (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionConstAcc (JSContext *cx, JSObject *glob, JSObject *parent)
JSObject * CHJS_InitClass_FunctionPoly345 (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->Get_y1())) GET_JS_PROP(1
this_data Set_y1 (chjs_to_double(cx, vp))) SET_JS_PROP(1
this_data this_data Set_y2 (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data this_data Set_dy1 (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data
this_data 
Set_dy2 (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionFillet3 (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_data(cx, vp, this_data->Get_fa(), chjs_cast_funct(this_data->Get_fa()))) GET_JS_PROP(1
 chjs_from_data (cx, vp, this_data->Get_fb(), chjs_cast_funct(this_data->Get_fb()))) GET_JS_PROP(2
this_data Set_fa (((ChFunction *) chjs_to_data(cx, vp))->new_Duplicate())) SET_JS_PROP(1 = new ChFunction_Derive()
this_data this_data Set_fb (((ChFunction *) chjs_to_data(cx, vp))->new_Duplicate())) SET_JS_PROP(2
this_data this_data this_data Set_optype (chjs_to_int(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionOperation (JSContext *cx, JSObject *glob, JSObject *parent)
this_data AddPoint (chjs_to_double(cx, argv+0), chjs_to_double(cx, argv+1))
this_data AddPointClean (chjs_to_double(cx, argv+0), chjs_to_double(cx, argv+1), chjs_to_double(cx, argv+2))
JSObject * CHJS_InitClass_FunctionRecorder (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_data(cx, vp, this_data->fx, chjs_cast_funct(this_data->fx))) GET_JS_PARSE_END SET_JS_PROP(0
JSObject * CHJS_InitClass_FunctionNode (JSContext *cx, JSObject *glob, JSObject *parent)
DEF_JS_BUILDEND switch (argc)
DEF_JS_FUNEND if (argc< 2)
 while ((icouple+1)<(int) argc)
 chjs_from_int (cx, rval, this_data->KillFunct(chjs_to_int(cx, argv+0)))
 chjs_from_data (cx, rval, mf, chjs_cast_funct(mf))
 chjs_from_data (cx, rval, this_data->GetNthNode(chjs_to_int(cx, argv+0)),&chjs_FunctionNode)
DEF_JS_FUNEND this_data Setup ()
JSObject * CHJS_InitClass_FunctionSequence (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_string(cx, vp, this_data->Get_Command())) GET_JS_PARSE_END SET_JS_PROP(0
this_data Set_Command (chjs_to_string(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionJscript (JSContext *cx, JSObject *glob, JSObject *parent)
JSObject * CHJS_InitClass_FunctionDerive (JSContext *cx, JSObject *glob, JSObject *parent)
this_data this_data Set_C_start (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data this_data Set_x_start (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data
this_data 
Set_x_end (chjs_to_double(cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data this_data 
Set_num_samples (chjs_to_int(cx, vp))) SET_JS_PARSE_ENDthis_data
DEF_JS_BUILDEND this_data ComputeIntegral ()
JSObject * CHJS_InitClass_FunctionIntegrate (JSContext *cx, JSObject *glob, JSObject *parent)
this_data this_data Set_mirror_axis (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionMirror (JSContext *cx, JSObject *glob, JSObject *parent)
this_data this_data Set_window_start (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data this_data Set_window_length (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data
JSObject * CHJS_InitClass_FunctionRepeat (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_dataNEW(cx, vp, new ChCoordsys<>(this_data->GetPos()),&chjs_Coordsys)) GET_JS_PARSE_END SET_JS_PROP(0
 chjs_from_dataNEW (cx, rval, new ChVector<>(this_data->Eval(chjs_to_double(cx, argv+0), chjs_to_double(cx, argv+1), chjs_to_double(cx, argv+2))),&chjs_Vector)
 chjs_from_dataNEW (cx, rval, new ChVector<>(this_data->Normal(chjs_to_double(cx, argv+0), chjs_to_double(cx, argv+1), chjs_to_double(cx, argv+2))),&chjs_Vector)
JSClass * achjs_Geometry ()
JSObject * CHJS_InitClass_Geometry (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_dataNEW(cx, vp, new Vector(this_data->Get_Iabs()),&chjs_Vector)) GET_JS_PROP(2
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_Pabs()),&chjs_Vector)) GET_JS_PROP(3
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_Nabs()),&chjs_Vector)) GET_JS_PROP(6
JSObject * CHJS_InitClass_Impact (JSContext *cx, JSObject *glob, JSObject *parent)
JSClass * chjs_cast_link (ChLink *mylink)
 GET_JS_PROP (1, if(this_data->GetSystem()) chjs_from_data(cx, vp, this_data->GetSystem(),&chjs_PSystem);else chjs_from_bool(cx, vp, FALSE);) GET_JS_PROP(4
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_react_force()),&chjs_Vector)) GET_JS_PROP(21
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_react_torque()),&chjs_Vector)) GET_JS_PARSE_END SET_JS_PROP(1
JSObject * CHJS_InitClass_Link (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_dataNEW(cx, vp, new Coordsys(this_data->GetDeltaC()),&chjs_Coordsys)) GET_JS_PROP(2
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetDeltaC_dt()),&chjs_Coordsys)) GET_JS_PROP(3
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetDeltaC_dtdt()),&chjs_Coordsys)) GET_JS_PROP(4
 chjs_from_data (cx, vp, this_data->GetMotion_X(), chjs_cast_funct(this_data->GetMotion_X()))) GET_JS_PROP(5
 chjs_from_data (cx, vp, this_data->GetMotion_Y(), chjs_cast_funct(this_data->GetMotion_Y()))) GET_JS_PROP(6
 chjs_from_data (cx, vp, this_data->GetMotion_Z(), chjs_cast_funct(this_data->GetMotion_Z()))) GET_JS_PROP(7
 chjs_from_data (cx, vp, this_data->GetMotion_ang(), chjs_cast_funct(this_data->GetMotion_ang()))) GET_JS_PROP(8
 chjs_from_data (cx, vp, this_data->GetMotion_ang2(), chjs_cast_funct(this_data->GetMotion_ang2()))) GET_JS_PROP(9
 chjs_from_data (cx, vp, this_data->GetMotion_ang3(), chjs_cast_funct(this_data->GetMotion_ang3()))) GET_JS_PROP(10
 chjs_from_dataNEW (cx, vp, new Vector(this_data->GetMotion_axis()),&chjs_Vector)) GET_JS_PROP(11
this_data SetDeltaC Coordsys
this_data SetDeltaC_dt
Coordsys this_data
SetDeltaC_dtdt Coordsys
this_data 
SetMotion_X ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(5
this_data SetDeltaC Coordsys
this_data SetDeltaC_dt
Coordsys this_data
SetDeltaC_dtdt Coordsys
this_data this_data 
SetMotion_Y ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(6
this_data SetDeltaC Coordsys
this_data SetDeltaC_dt
Coordsys this_data
SetDeltaC_dtdt Coordsys
this_data this_data this_data 
SetMotion_Z ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(7
this_data SetDeltaC Coordsys
this_data SetDeltaC_dt
Coordsys this_data
SetDeltaC_dtdt Coordsys
this_data this_data this_data
this_data 
SetMotion_ang ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(8
this_data SetDeltaC Coordsys
this_data SetDeltaC_dt
Coordsys this_data
SetDeltaC_dtdt Coordsys
this_data this_data this_data
this_data this_data 
SetMotion_ang2 ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(9
this_data SetDeltaC Coordsys
this_data SetDeltaC_dt
Coordsys this_data
SetDeltaC_dtdt Coordsys
this_data this_data this_data
this_data this_data this_data 
SetMotion_ang3 ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(10
this_data SetDeltaC Coordsys
this_data SetDeltaC_dt
Coordsys this_data
SetDeltaC_dtdt Coordsys
this_data this_data this_data
this_data this_data this_data
this_data SetMotion_axis
Vector this_data 
Set_angleset (chjs_to_int(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkLock_methods[]
JSObject * CHJS_InitClass_LinkLock (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_double(cx, vp, this_data->Get_SpringK())) GET_JS_PROP(2
 chjs_from_data (cx, vp, this_data->Get_mod_f_time(), chjs_cast_funct(this_data->Get_mod_f_time()))) GET_JS_PROP(6
 chjs_from_data (cx, vp, this_data->Get_mod_k_d(), chjs_cast_funct(this_data->Get_mod_k_d()))) GET_JS_PROP(7
 chjs_from_data (cx, vp, this_data->Get_mod_r_d(), chjs_cast_funct(this_data->Get_mod_r_d()))) GET_JS_PROP(8
 chjs_from_data (cx, vp, this_data->Get_mod_k_speed(), chjs_cast_funct(this_data->Get_mod_k_speed()))) GET_JS_PROP(9
 chjs_from_data (cx, vp, this_data->Get_mod_r_speed(), chjs_cast_funct(this_data->Get_mod_r_speed()))) GET_JS_PROP(10
this_data Set_SpringK (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data Set_SpringR (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data Set_SpringF (chjs_to_double(cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data 
Set_SpringRestLenght (chjs_to_double(cx, vp))) SET_JS_PROP(5
this_data this_data this_data
this_data this_data 
Set_mod_f_time ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(6
this_data this_data this_data
this_data this_data this_data 
Set_mod_k_d ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(7
this_data this_data this_data
this_data this_data this_data
this_data 
Set_mod_r_d ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(8
this_data this_data this_data
this_data this_data this_data
this_data this_data 
Set_mod_k_speed ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(9
this_data this_data this_data
this_data this_data this_data
this_data this_data this_data 
Set_mod_r_speed ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkSpring_methods[]
JSObject * CHJS_InitClass_LinkSpring (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_data(cx, vp, this_data->Get_dist_funct(), chjs_cast_funct(this_data->Get_dist_funct()))) GET_JS_PROP(2
this_data Set_dist_funct ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(2
this_data this_data Set_lin_offset (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data Set_learn (chjs_to_int(cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data 
Set_mot_tau (chjs_to_double(cx, vp))) SET_JS_PROP(5
this_data this_data this_data
this_data this_data 
Set_mot_eta (chjs_to_double(cx, vp))) SET_JS_PROP(6
this_data this_data this_data
this_data this_data this_data 
Set_mot_inertia (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkLinActuator_methods[]
JSObject * CHJS_InitClass_LinkLinActuator (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->Get_lin_offset())) GET_JS_PROP(1
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Ci())) GET_JS_PROP(11
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Co())) GET_JS_PROP(12
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Bi())) GET_JS_PROP(13
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Bo())) GET_JS_PROP(14
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Ps())) GET_JS_PROP(15
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Pma())) GET_JS_PROP(16
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Pmb())) GET_JS_PROP(17
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_L())) GET_JS_PROP(18
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Wa())) GET_JS_PROP(19
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Wb())) GET_JS_PROP(20
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_A())) GET_JS_PROP(21
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Alfa())) GET_JS_PROP(22
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_Gamma())) GET_JS_PROP(23
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_ValvA_min())) GET_JS_PROP(24
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_ValvA_max())) GET_JS_PROP(25
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_ValvA_close())) GET_JS_PROP(26
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_ValvB_min())) GET_JS_PROP(27
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_ValvB_max())) GET_JS_PROP(28
 chjs_from_double (cx, vp, this_data->Get_pneuma()->Get_ValvB_close())) GET_JS_PARSE_END SET_JS_PROP(0
this_data this_data Set_ComA (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data this_data Set_ComB (chjs_to_double(cx, vp))) SET_JS_PROP(10
this_data this_data this_data
this_data 
Get_pneuma ()->Set_Ci(chjs_to_double(cx
this_data this_data this_data
this_data vp 
SET_JS_PROP (11,&chjs_double, this_data->Get_pneuma()->Set_Co(chjs_to_double(cx, vp))) SET_JS_PROP(12
this_data this_data this_data
this_data vp this_data vp 
SET_JS_PROP (13,&chjs_double, this_data->Get_pneuma()->Set_Bo(chjs_to_double(cx, vp))) SET_JS_PROP(14
this_data this_data this_data
this_data vp this_data vp
this_data vp 
SET_JS_PROP (15,&chjs_double, this_data->Get_pneuma()->Set_Pma(chjs_to_double(cx, vp))) SET_JS_PROP(16
this_data this_data this_data
this_data vp this_data vp
this_data vp this_data vp 
SET_JS_PROP (17,&chjs_double, this_data->Get_pneuma()->Set_L(chjs_to_double(cx, vp))) SET_JS_PROP(18
this_data this_data this_data
this_data vp this_data vp
this_data vp this_data vp
this_data vp 
SET_JS_PROP (19,&chjs_double, this_data->Get_pneuma()->Set_Wb(chjs_to_double(cx, vp))) SET_JS_PROP(20
this_data this_data this_data
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp 
SET_JS_PROP (21,&chjs_double, this_data->Get_pneuma()->Set_Alfa(chjs_to_double(cx, vp))) SET_JS_PROP(22
this_data this_data this_data
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp
this_data vp 
SET_JS_PROP (23,&chjs_double, this_data->Get_pneuma()->Set_ValvA_min(chjs_to_double(cx, vp))) SET_JS_PROP(24
this_data this_data this_data
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp 
SET_JS_PROP (25,&chjs_double, this_data->Get_pneuma()->Set_ValvA_close(chjs_to_double(cx, vp))) SET_JS_PROP(26
this_data this_data this_data
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp
this_data vp 
SET_JS_PROP (27,&chjs_double, this_data->Get_pneuma()->Set_ValvB_max(chjs_to_double(cx, vp))) SET_JS_PROP(28
this_data this_data this_data
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp
this_data vp this_data vp
SET_JS_PARSE_END this_data 
SetupActuator ()
JSObject * CHJS_InitClass_LinkPneumaticActuator (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_double(cx, vp, this_data->Get_tau())) GET_JS_PROP(2
this_data Set_tau (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data Set_thread (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkScrew_methods[]
JSObject * CHJS_InitClass_LinkScrew (JSContext *cx, JSObject *glob, JSObject *parent)
this_data this_data Set_alpha (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data Set_beta (chjs_to_double(cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data 
Set_epicyclic (chjs_to_int(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkGear_methods[]
JSObject * CHJS_InitClass_LinkGear (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_data(cx, vp, this_data->Get_rot_funct(), chjs_cast_funct(this_data->Get_rot_funct()))) GET_JS_PROP(2
 chjs_from_data (cx, vp, this_data->Get_spe_funct(), chjs_cast_funct(this_data->Get_spe_funct()))) GET_JS_PROP(3
 chjs_from_data (cx, vp, this_data->Get_tor_funct(), chjs_cast_funct(this_data->Get_tor_funct()))) GET_JS_PROP(4
 chjs_from_data (cx, vp, this_data->Get_torque_w_funct(), chjs_cast_funct(this_data->Get_torque_w_funct()))) GET_JS_PROP(5
this_data Set_rot_funct ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(2
this_data this_data Set_spe_funct ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(3
this_data this_data this_data Set_tor_funct ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data 
Set_torque_w_funct ((ChFunction *) chjs_to_data(cx, vp))) SET_JS_PROP(5
this_data this_data this_data
this_data this_data this_data 
Set_impose_reducer (chjs_to_int(cx, vp))) SET_JS_PROP(7
this_data this_data this_data
this_data this_data this_data
this_data 
Set_eng_mode (chjs_to_int(cx, vp))) SET_JS_PROP(8
this_data this_data this_data
this_data this_data this_data
this_data this_data 
Set_shaft_mode (chjs_to_int(cx, vp))) SET_JS_PROP(9
JSObject * CHJS_InitClass_LinkEngine (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_double(cx, vp, this_data->Get_brake_torque())) GET_JS_PROP(2
this_data Set_brake_torque (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data Set_stick_ratio (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkBrake_methods[]
JSObject * CHJS_InitClass_LinkBrake (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_double(cx, vp, this_data->Get_clearance())) GET_JS_PROP(2
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_contact_P_abs()),&chjs_Vector)) GET_JS_PROP(10
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_contact_N_abs()),&chjs_Vector)) GET_JS_PROP(11
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_contact_F_abs()),&chjs_Vector)) GET_JS_PROP(12
this_data Set_clearance (chjs_to_double(cx, vp))) SET_JS_PROP(2
this_data this_data Set_c_friction (chjs_to_double(cx, vp))) SET_JS_PROP(3
this_data this_data this_data Set_c_restitution (chjs_to_double(cx, vp))) SET_JS_PROP(4
this_data this_data this_data
this_data 
Set_c_tang_restitution (chjs_to_double(cx, vp))) SET_JS_PROP(5
this_data this_data this_data
this_data this_data 
Set_diameter (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkClearance_methods[]
JSObject * CHJS_InitClass_LinkClearance (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (1, chjs_from_double(cx, vp, this_data->Get_radius())) GET_JS_PROP(2
this_data Set_radius (chjs_to_int(cx, vp))) SET_JS_PROP(2
this_data this_data Set_friction (chjs_to_int(cx, vp))) SET_JS_PARSE_ENDstatic JSFunctionSpec LinkWheel_methods[]
JSObject * CHJS_InitClass_LinkWheel (JSContext *cx, JSObject *glob, JSObject *parent)
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetAbsCoord()),&chjs_Coordsys)) GET_JS_PROP(8
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetAbsCoord_dt()),&chjs_Coordsys)) GET_JS_PROP(9
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetAbsCoord_dtdt()),&chjs_Coordsys)) GET_JS_PROP(10
 chjs_from_dataNEW (cx, vp, new Coordsys(this_data->GetRest_Coord()),&chjs_Coordsys)) GET_JS_PARSE_END SET_JS_PROP(1
JSClass * achjs_Marker ()
JSObject * CHJS_InitClass_Marker (JSContext *cx, JSObject *glob, JSObject *parent)
GET_JS_PARSE_END SET_JS_PARSE_END if (argc==0) this_data = new Quaternion(QNULL)
DEF_JS_BUILDEND chjs_from_double (cx, rval,(Vlenght(*this_data)))
 chjs_from_double (cx, rval, Vdot(*(Vector *) chjs_to_data(cx, argv+0),*(Vector *) chjs_to_data(cx, argv+1)))
 sprintf (num,"%g %g %g ", this_data->x, this_data->y, this_data->z)
 chjs_from_string (cx, rval, num)
JSClass * achjs_Vector ()
JSObject * CHJS_InitClass_Vector (JSContext *cx, JSObject *glob, JSObject *parent)
DEF_JS_BUILDEND chjs_from_double (cx, rval,(Qlenght(*this_data)))
 PARCHK (3,&chjs_double)
 chjs_from_dataNEW (cx, rval, new Vector(temp_coord.Get_A_Eulero()),&chjs_Vector)
 chjs_from_dataNEW (cx, rval, new Vector(temp_coord.Get_A_Cardano()),&chjs_Vector)
 chjs_from_dataNEW (cx, rval, new Vector(temp_coord.Get_A_Rodriguez()),&chjs_Vector)
 sprintf (num,"%g %g %g %g ", this_data->e0, this_data->e1, this_data->e2, this_data->e3)
JSClass * achjs_Quaternion ()
JSObject * CHJS_InitClass_Quaternion (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_data(cx, vp,(void *)&this_data->pos,&chjs_Vector)) GET_JS_PROP(1
 chjs_from_data (cx, vp,(void *)&this_data->rot,&chjs_Quaternion)) GET_JS_PARSE_END SET_JS_PROP(0
JSClass * achjs_Coordsys ()
JSObject * CHJS_InitClass_Coordsys (JSContext *cx, JSObject *glob, JSObject *parent)
void matrcol_to_newintarray (ChMatrix<> *ma, int *&marray, int &nrows)
void intarray_to_matrcol (ChMatrix<> *ma, int *marray, int nrows)
 GET_JS_PROP (0, chjs_from_int(cx, vp, this_data->GetRows())) GET_JS_PROP(1
this_data Reset (chjs_to_int(cx, vp), this_data->GetColumns())) SET_JS_PROP(1
this_data this_data Reset (this_data->GetRows(), chjs_to_int(cx, vp))) SET_JS_PARSE_ENDif(argc
 chjs_from_dataNEW (cx, rval, this_data,&chjs_Matrix)
 if ((mi >=this_data->GetRows())||(mj >=this_data->GetColumns()))
this_data SetElement (mi, mj, chjs_to_double(cx, argv+2))
 chjs_from_double (cx, rval, this_data->GetElement(mi, mj))
this_data Reset (chjs_to_int(cx, argv+0), chjs_to_int(cx, argv+1))
this_data FillElem (chjs_to_double(cx, argv+0))
this_data FillDiag (chjs_to_double(cx, argv+0))
this_data FillRandom (chjs_to_double(cx, argv+0), chjs_to_double(cx, argv+1))
this_data MatrScale (chjs_to_double(cx, argv+0))
DEF_JS_FUNEND this_data MatrTranspose ()
 chjs_from_double (cx, rval, ChMatrix<>::MatrDot((ChMatrix<> *) chjs_to_data(cx, argv+0),(ChMatrix<> *) chjs_to_data(cx, argv+1)))
this_data CopyFromMatrix (tmp)
 if ((this_data->GetRows()!=3)||(this_data->GetColumns()!=3))
 chjs_from_dataNEW (cx, rval, new Vector(tmp.Matr_x_Vect(*(Vector *) chjs_to_data(cx, argv+0))),&chjs_Vector)
 chjs_from_dataNEW (cx, rval, new Vector(tmp.MatrT_x_Vect(*(Vector *) chjs_to_data(cx, argv+0))),&chjs_Vector)
 if ((this_data->GetRows()!=3)||(this_data->GetColumns()!=4))
 chjs_from_dataNEW (cx, rval, new Vector(this_data->Matr34_x_Quat(*(Quaternion *) chjs_to_data(cx, argv+0))),&chjs_Vector)
DEF_JS_FUNEND chjs_from_double (cx, rval, ChLinearAlgebra::Det(*this_data))
DEF_JS_FUNEND chjs_from_double (cx, rval, ChLinearAlgebra::ConditionNumber(*this_data))
DEF_JS_FUNEND chjs_from_double (cx, rval, 1/(ChLinearAlgebra::ConditionNumber(*this_data)))
ChLinearAlgebra::SVD * this_data (ChMatrix<> *) chjs_to_data(cx, argv+0),*(ChMatrix<> *) chjs_to_data(cx, argv+1),*(ChMatrix<> *) chjs_to_data(cx, argv+2), cond
 PARCHK (4,&chjs_int)
 chjs_from_int (cx, rval, ch_iterative_TFQMR_easy(*this_data, m1, m2, chjs_to_double(cx, argv+3), chjs_to_int(cx, argv+4)))
mx Reset (this_data->GetRows(), 1)
 matrcol_to_newintarray (mpi, pivarray, nrows)
 intarray_to_matrcol (mpi, pivarray, nrows)
 free (pivarray)
 chjs_from_double (cx, rval, det)
 matrcol_to_newintarray (m0, pivarray, nrows)
 intarray_to_matrcol (m0, pivarray, nrows)
 matrcol_to_newintarray (m2, pivarray, nrows)
 intarray_to_matrcol (m2, pivarray, nrows)
DEF_JS_FUNEND for (int mi=0;mi< this_data->GetRows();mi++)
 strcpy (mybuff,"")
 sprintf (mybuff,"matrix, %d rows x %d columns ", this_data->GetRows(), this_data->GetColumns())
 chjs_from_string (cx, rval, mybuff)
DEF_JS_FUNEND this_data SetIdentity ()
JSClass * achjs_Matrix ()
JSObject * CHJS_InitClass_Matrix (JSContext *cx, JSObject *glob, JSObject *parent)
JSObject * CHJS_InitClass_ChOptimizer (JSContext *cx, JSObject *glob, JSObject *parent)
JSObject * CHJS_InitClass_ChLocalOptimizer (JSContext *cx, JSObject *glob, JSObject *parent)
JSObject * CHJS_InitClass_ChGeneticOptimizer (JSContext *cx, JSObject *glob, JSObject *parent)
JSObject * CHJS_InitClass_ChHybridOptimizer (JSContext *cx, JSObject *glob, JSObject *parent)
 GET_JS_PROP (0, chjs_from_double(cx, vp, this_data->GetChTime())) GET_JS_PROP(1
 chjs_from_dataNEW (cx, vp, new Vector(this_data->Get_G_acc()),&chjs_Vector)) GET_JS_PROP(13
this_data SetChTime (chjs_to_double(cx, vp))) SET_JS_PROP(1
this_data this_data SetTol (chjs_to_double(cx, vp))) SET_JS_PROP(12
this_data this_data this_data
Set_G_acc Vector this_data 
SetStep (chjs_to_double(cx, vp))) SET_JS_PROP(14
this_data this_data this_data
Set_G_acc Vector this_data
this_data 
SetStepMin (chjs_to_double(cx, vp))) SET_JS_PROP(15
this_data this_data this_data
Set_G_acc Vector this_data
this_data this_data 
SetStepMax (chjs_to_double(cx, vp))) SET_JS_PARSE_ENDthis_data->Setup()
this_data UpdateExternalGeometry ()
 chjs_from_int (cx, rval, this_data->DoAssembly(ASS_POSITION|ASS_SPEED|ASS_ACCEL))
this_data SetEndTime (end_t)
 chjs_from_int (cx, rval, this_data->DoFrameDynamics(chjs_to_double(cx, argv+0)))
 if (mbo)
 if (mli)
 chjs_from_bool (cx, rval, false)
JSClass * achjs_PSystem ()
JSObject * CHJS_InitClass_PSystem (JSContext *cx, JSObject *glob, JSObject *parent)
JSClass * achjs_double ()
JSClass * achjs_int ()
JSClass * achjs_string ()
JSClass * achjs_boolean ()
JSClass * achjs_null ()
JSClass * achjs_object ()
void chjs_obj_to_objtree (JSContext *cx, JSObject *lookobj, ChList< chjs_propdata > *mlist, int maxrec, int nrec)
void chjs_print_objtree (JSContext *cx, int tab, ChList< chjs_propdata > *mylist)
int CHJS_InitClasses_Utils (JSContext *cx, JSObject *glob)
int chjs_to_int (JSContext *cx, jsval *vp)
double chjs_to_double (JSContext *cx, jsval *vp)
bool chjs_to_bool (JSContext *cx, jsval *vp)
char * chjs_to_string (JSContext *cx, jsval *vp)
void * chjs_to_data (JSContext *cx, jsval *vp)
void chjs_from_int (JSContext *cx, jsval *vp, int mint)
void chjs_from_double (JSContext *cx, jsval *vp, double mdouble)
void chjs_from_bool (JSContext *cx, jsval *vp, bool mbool)
void chjs_from_string (JSContext *cx, jsval *vp, char *mstring)
void chjs_from_data (JSContext *cx, jsval *vp, void *mdata, JSClass *clasp)
void chjs_from_dataNEW (JSContext *cx, jsval *vp, void *mdata, JSClass *clasp)
JSBool chjs_ValueIsObjectType (JSContext *cx, jsval va, JSClass *clasp)
JSBool chjs_ValueToObjectType (JSContext *cx, jsval va, JSObject **obj, JSClass *clasp)
JSBool chjs_RepParErr (JSContext *cx, int npar, JSClass *clasp)

Variables

ChClassRegister
< ChLcpConstraintNodeContactN
a_registration_ChLcpConstraintNodeContactN
ChClassRegister
< ChLcpConstraintNodeFrictionT
a_registration_ChLcpConstraintNodeFrictionT
ChClassRegisterABSTRACT
< ChLcpConstraintThree
a_registration_ChLcpConstraintThree
ChClassRegister
< ChLcpConstraintThreeBBShaft
a_registration_ChLcpConstraintThreeBBShaft
ChClassRegister
< ChLcpConstraintThreeGeneric
a_registration_ChLcpConstraintThreeGeneric
ChClassRegisterABSTRACT
< ChLcpConstraintTwo
a_registration_ChLcpConstraintTwo
ChClassRegister
< ChLcpConstraintTwoBodies
a_registration_ChLcpConstraintTwoBodies
ChClassRegister
< ChLcpConstraintTwoContact
a_registration_ChLcpConstraintTwoContact
ChClassRegister
< ChLcpConstraintTwoContactN
a_registration_ChLcpConstraintTwoContactN
ChClassRegister
< ChLcpConstraintTwoFriction
a_registration_ChLcpConstraintTwoFriction
ChClassRegister
< ChLcpConstraintTwoFrictionApprox
a_registration_ChLcpConstraintTwoFrictionApprox
ChClassRegister
< ChLcpConstraintTwoFrictionT
a_registration_ChLcpConstraintTwoFrictionT
ChClassRegister
< ChLcpConstraintTwoGeneric
a_registration_ChLcpConstraintTwoGeneric
ChClassRegister
< ChLcpConstraintTwoGenericBoxed
a_registration_ChLcpConstraintTwoGenericBoxed
ChClassRegister
< ChLcpConstraintTwoRollingN
a_registration_ChLcpConstraintTwoRollingN
ChClassRegister
< ChLcpConstraintTwoRollingT
a_registration_ChLcpConstraintTwoRollingT
ChClassRegisterABSTRACT
< ChLcpVariablesBody
a_registration_ChLcpVariablesBody
ChClassRegister
< ChLcpVariablesBodyOwnMass
a_registration_ChLcpVariablesBodyOwnMass
ChClassRegister
< ChLcpVariablesBodySharedMass
a_registration_ChLcpVariablesBodySharedMass
ChClassRegister
< ChLcpVariablesGeneric
a_registration_ChLcpVariablesGeneric
ChClassRegister
< ChLcpVariablesNode
a_registration_ChLcpVariablesNode
ChClassRegisterABSTRACT
< ChFunction
a_registration
ChClassRegister< ChFunction_Consta_registration_const
ChClassRegister
< ChFunction_ConstAcc
a_registration_constacc
ChClassRegister
< ChFunction_Derive
a_registration_derive
ChClassRegister
< ChFunction_Fillet3
a_registration_fillet3
ChClassRegister
< ChFunction_Integrate
a_registration_integrate
ChClassRegister
< ChFunction_Matlab
a_registration_matlab
ChClassRegister
< ChFunction_Mirror
a_registration_mirror
ChClassRegister< ChFunction_Mocapa_registration_mocap
ChClassRegister< ChFunction_Noisea_registration_noise
ChClassRegister
< ChFunction_Operation
a_registration_operation
ChClassRegister
< ChFunction_Oscilloscope
a_registration_oscilloscope
ChClassRegister< ChFunction_Polya_registration_poly
ChClassRegister
< ChFunction_Poly345
a_registration_poly345
ChClassRegister< ChFunction_Rampa_registration_ramp
ChClassRegister
< ChFunction_Recorder
a_registration_recorder
ChClassRegister
< ChFunction_Repeat
a_registration_repeat
ChClassRegister
< ChFunction_Sequence
a_registration_sequence
ChClassRegister< ChFunction_Sigmaa_registration_sigma
ChClassRegister< ChFunction_Sinea_registration_sine
ChClassRegister< ChAssemblya_registration_ChAssembly
ChClassRegister< ChBodya_registration_ChBody
const int BODY_DOF = 6
const int BODY_QDOF = 7
const int BODY_ROT = 3
ChClassRegister< ChBodyAuxRefa_registration_ChBodyAuxRef
ChClassRegister< ChBodyDEMa_registration_ChBodyDEM
ChClassRegister
< ChContactContainer
a_registration_ChContactContainer
ChClassRegisterABSTRACT
< ChContactContainerBase
a_registration_ChContactContainerBase
ChClassRegister
< ChContactContainerDEM
a_registration_ChContactContainerDEM
ChClassRegister
< ChContactContainerNodes
a_registration_ChContactContainerNodes
ChClassRegisterABSTRACT
< ChControls
a_registration_ChControls
ChClassRegister< ChConveyora_registration_ChConveyor
ChClassRegister< ChForcea_registration_ChForce
ChGlobalsGLOBAL_Vars = 0
ChClassRegisterABSTRACT
< ChIndexedNodes
a_registration_ChIndexedNodes
ChClassRegisterABSTRACT
< ChIndexedParticles
a_registration_ChIndexedParticles
ChClassRegister< ChLinka_registration_ChLink
ChClassRegister< ChLinkBrakea_registration_ChLinkBrake
ChClassRegister< ChLinkClearancea_registration_ChLinkClearance
ChClassRegisterABSTRACT
< ChLinkContact
a_registration_ChLinkContact
ChClassRegister< ChLinkDistancea_registration_ChLinkDistance
ChClassRegister< ChLinkEnginea_registration_ChLinkEngine
ChClassRegister
< ChLinkFastContact
a_registration_ChLinkFastContact
ChClassRegister< ChLinkGeara_registration_ChLinkGear
ChClassRegister
< ChLinkLinActuator
a_registration_ChLinkLinActuator
ChClassRegister< ChLinkLocka_registration_ChLinkLock
ChClassRegister< ChLinkMarkersa_registration_ChLinkMarkers
ChClassRegister< ChLinkMaska_registration_ChLinkMask
ChClassRegister< ChLinkMaskLFa_registration_ChLinkMaskLF
ChClassRegister< ChLinkMaskeda_registration_ChLinkMasked
ChClassRegister< ChLinkMatea_registration_ChLinkMate
ChClassRegister
< ChLinkMateGeneric
a_registration_ChLinkMateGeneric
ChClassRegister< ChLinkMatePlanea_registration_ChLinkMatePlane
ChClassRegister
< ChLinkMateCoaxial
a_registration_ChLinkMateCoaxial
ChClassRegister
< ChLinkMateSpherical
a_registration_ChLinkMateSpherical
ChClassRegister
< ChLinkMateXdistance
a_registration_ChLinkMateXdistance
ChClassRegister
< ChLinkMateParallel
a_registration_ChLinkMateParallel
ChClassRegister
< ChLinkMateOrthogonal
a_registration_ChLinkMateOrthogonal
ChClassRegister< ChLinkNumdiffa_registration_ChLinkNumdiff
ChClassRegister
< ChLinkPneumaticActuator
a_registration_ChLinkPneumaticActuator
ChClassRegister
< ChLinkPointSpline
a_registration_ChLinkPointSpline
ChClassRegister< ChLinkPulleya_registration_ChLinkPulley
ChClassRegister< ChLinkScrewa_registration_ChLinkScrew
ChClassRegister< ChLinkSpringa_registration_ChLinkSpring
ChClassRegister< ChLinkTrajectorya_registration_ChLinkTrajectory
ChClassRegister< ChLinkWheela_registration_ChLinkWheel
ChClassRegister< ChMarkera_registration_ChMarker
ChClassRegister< ChMatterMeshlessa_registration_ChMatterMeshless
ChClassRegister< ChMatterSPHa_registration_ChMatterSPH
ChClassRegister< ChNodeBodya_registration_ChNodeBody
ChClassRegister< ChObja_registration_ChObj
ChClassRegister
< ChParticlesClones
a_registration_ChParticlesClones
ChClassRegister< ChPhysicsItema_registration_ChPhysicsItem
ChClassRegisterABSTRACT
< ChProximityContainerBase
a_registration_ChProximityContainerBase
ChClassRegister
< ChProximityContainerMeshless
a_registration_ChProximityContainerMeshless
ChClassRegister
< ChProximityContainerSPH
a_registration_ChProximityContainerSPH
ChClassRegister< ChShafta_registration_ChShaft
ChClassRegister< ChShaftsBodya_registration_ChShaftsBody
ChClassRegister< ChShaftsClutcha_registration_ChShaftClutch
ChClassRegister< ChShaftsGeara_registration_ChShaftsGear
ChClassRegister< ChShaftsMotora_registration_ChShaftsMotor
ChClassRegister
< ChShaftsPlanetary
a_registration_ChShaftsPlanetary
ChClassRegister
< ChShaftsTorsionSpring
a_registration_ChShaftsTorsionSpring
ChClassRegister< ChSystema_registration_ChSystem
ChClassRegister< ChControlsJSa_registration_ChControlsJS
ChClassRegister
< ChFunction_Jscript
a_registration_jscript
ChGlobalsJSGLOBAL_VarsJS = 0
chjs_double
this_data & chjs_Matrix
this_data this_data & chjs_PSystem
this_data this_data this_data & chjs_Coordsys
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys
chjs_int
this_data this_data this_data
this_data SetCoord Coordsys
this_data SetCoord_dt Coordsys
this_data SetCoord_dtdt
Coordsys this_data this_data
this_data this_data this_data
this_data & 
chjs_Vector
rval = JSVAL_VOID
ChMarkermma = this_data->SearchMarker(chjs_to_string(cx, argv+0))
ChForcemfa = this_data->SearchForce(chjs_to_string(cx, argv+0))
return JS_FALSE
ChExternalObjectmext = this_data->GetExternalObject()->GetChildByName(chjs_to_string(cx, argv+0))
JSClass chjs_RBody
chjs_string
JSClass chjs_CHobj
 vp
chjs_boolean
JSClass chjs_Constraint
else this_data = new ChConstraint_Chf()
JSClass chjs_Constraint_Chf
JSClass chjs_Constraint_Chf_Val
JSClass chjs_Constraint_Chf_Continuity
this_data P
JSClass chjs_ChControllerPID
JSClass chjs_Force
DEF_JS_FUNEND ChList
< chjs_propdata > 
mylist
DEF_JS_FUNEND ChList
< chjs_propdata > 
mytree
ChNode< chjs_fullnamevar > * mynode = mylist.GetHead()
JSClass chjs_Function
JSClass chjs_FunctionConst
JSClass chjs_FunctionRamp
JSClass chjs_FunctionSine
JSClass chjs_FunctionSigma
JSClass chjs_FunctionPoly
JSClass chjs_FunctionConstAcc
JSClass chjs_FunctionPoly345
JSClass chjs_FunctionFillet3
JSClass chjs_FunctionOperation
JSClass chjs_FunctionRecorder
this_data fx
JSClass chjs_FunctionNode
int icouple = 0
ChFunctionmf = this_data->GetNthFunction(chjs_to_int(cx, argv+0))
JSClass chjs_FunctionSequence
JSClass chjs_FunctionJscript
JSClass chjs_FunctionDerive
JSClass chjs_FunctionIntegrate
JSClass chjs_FunctionMirror
JSClass chjs_FunctionRepeat
JSClass chjs_Geometry
JSClass chjs_Impact
JSClass chjs_Link
JSClass chjs_LinkLock
JSClass chjs_LinkSpring
JSClass chjs_LinkLinActuator
JSClass chjs_LinkPneumaticActuator
JSClass chjs_LinkScrew
JSClass chjs_LinkGear
JSClass chjs_LinkEngine
JSClass chjs_LinkBrake
JSClass chjs_LinkClearance
JSClass chjs_LinkWheel
JSClass chjs_Marker
this_data x = chjs_to_double(cx, argv+0)
this_data y = chjs_to_double(cx, argv+1)
this_data z = chjs_to_double(cx, argv+2)
this_data e0 = chjs_to_double(cx, argv+0)
this_data e1 = chjs_to_double(cx, argv+1)
this_data e2 = chjs_to_double(cx, argv+2)
this_data e3 = chjs_to_double(cx, argv+3)
DEF_JS_FUNEND ChMatrix33 temp_coord
JSClass chjs_Quaternion
this_data pos
int mi = chjs_to_int(cx, argv+0)
int mj = chjs_to_int(cx, argv+1)
ChMatrix33 tmp
double cond
ChMatrixDynamic m1 = (ChMatrix<>*)chjs_to_data(cx, argv+1)
ChMatrixDynamic m2 = (ChMatrix<>*)chjs_to_data(cx, argv+2)
double det
int * pivarray
int nrows
ChMatrixmb = (ChMatrix<>*)chjs_to_data(cx, argv+0)
ChMatrixmx = (ChMatrix<>*)chjs_to_data(cx, argv+1)
ChMatrixmpi = (ChMatrix<>*)chjs_to_data(cx, argv+2)
ChMatrixDynamicmthis = new ChMatrixDynamic<>()
ChMatrixDynamicmbback = new ChMatrixDynamic<>()
ChMatrixm0 = (ChMatrix<>*)chjs_to_data(cx, argv+0)
JSClass chjs_ChOptimizer
JSClass chjs_ChLocalOptimizer
JSClass chjs_ChGeneticOptimizer
JSClass chjs_ChHybridOptimizer
double end_t = chjs_to_double(cx, argv+0)
ChBodymbo = this_data->SearchBody(chjs_to_string(cx, argv+0))
ChLinkmli = this_data->SearchLink(chjs_to_string(cx, argv+0))
return JS_TRUE
JSClass chjs_null
JSClass chjs_object
ChClassRegister< ChAssemblyMPIa_registration_ChAssemblyMPI
ChClassRegister< ChBodyDEMMPIa_registration_ChBodyDEMMPI
ChClassRegister< ChBodyMPIa_registration_ChBodyMPI
ChClassRegister
< ChContactContainerDEMMPI
a_registration_ChContactContainerDEMMPI
ChClassRegister< ChSystemMPIa_registration_ChSystemMPI

Typedef Documentation

typedef ChCoordsys<double> chrono::Coordsys

Shortcut for faster use of typical double-precision coordsys. Instead of writing "ChCoordsys<double> foo;" you can write the shorter version "Coordsys foo;"

typedef ChCoordsys<float> chrono::CoordsysF

Shortcut for faster use of typical single-precision coordsys.

Shortcut for faster use of typical double-precision quaternion. Instead of writing "ChQuaternion<double> foo;" you can write the shorter version "Quaternion foo;"

Shortcut for faster use of typical single-precision quaternion.

typedef ChVector<double> chrono::Vector

Shortcut for faster use of typical double-precision vectors. Instead of writing ChVector<double> foo; you can write the shorter version Vector foo;

typedef ChVector<float> chrono::VectorF

Shortcut for faster use of typical single-precision vectors.


Enumeration Type Documentation

Modes for constraint.

Enumerator:
CONSTRAINT_FREE 

the constraint does not enforce anything

CONSTRAINT_LOCK 

the constraint enforces c_i=0;

CONSTRAINT_UNILATERAL 

the constraint enforces linear complementarity c_i>0, l_i>0, l_1*c_i=0;

CONSTRAINT_FRIC 

the constraint is one of three reactions in friction (cone complementarity problem)


Function Documentation

double chrono::CalcFO ( double  x[],
void *  idData 
)

Ch_local_optimizer Local optimization engine member functions

CHapi int chrono::ch_iterative_TFQMR ( ChMatrix<> &  x,
ChMatrix<> &  b,
void(*)(ChMatrix<> &inX, ChMatrix<> &outB, void *userdata)  SolveAX,
void(*)(ChMatrix<> &eIn, ChMatrix<> &eOut, void *userdata)  M1_solve,
void(*)(ChMatrix<> &eIn, ChMatrix<> &eOut, void *userdata)  M2_solve,
double  min_kappa,
int  max_iterations,
int &  iter,
int &  error_code,
void *  userdata 
)

category: itl,algorithms component: function definition: tfqmr.h tparam: Matrix or multiplier for matrix free methods tparam: Vector tparam: Vector tparam: Preconditioner - Incomplete LU, Incomplete LU with threshold, SSOR or identity_preconditioner. tparam: Iteration - Controls the stopping criteria

TF-QMR

TRANSPOSE-FREE QUASI-MINIMAL-RESIDUAL solver for linear systems.

Iterative method to solve linear systems Ax=b, applies to both symmetric and non simmetric matrices, does not breakdown for singular matrices, accepts preconditioning.

x = initial guess for X0 and also matrix to store final value; b = known term vector in Ax=b SolveAX = function which computes b"=Ax (gets x as 1st parameter, outputs in b", the 2nd param, and may use some user data as 3rd param.) M1_solve = function which performs preconditioner M matrix solve as Out=M'*In M2_solve = function which performs preconditioner M matrix solve as Out=M'*In min_kappa = threshold for convergence max_iterations = limit on number of iterations iter = returns tot iterations done before exiting error_code= returns error, if any: 0: convergence within maximum iterations 1: no convergence after maximum iterations 2: breakdown in tau 3: breakdown in alpha 4: breakdown in gamma 5: breakdown in rho userdata = generic pointer to whatever one needs (it will be passed to SolveAX as 3rd parameter, so it may be useful to pass some pointer to application, geometric or modeling data, etc., then avoiding the use of global vars.)

CHapi ChGlobals & chrono::ChGLOBALS ( )

***OBSOLETE*** better use the following..

Global function to get the current ChGlobals object (this is an easy way to access a single instance of globally visible data)

CHapiJS ChGlobalsJS & chrono::ChGLOBALS_JS ( )

Global function to get the current ChGlobalsJS object (this is an easy way to access a single instance of globally visible data)

chrono::chjs_from_data ( cx  ,
vp  ,
this_data->  GetXInertia(),
chjs_Matrix 
)
Initial value:
 {
    {0}
}
CHapi int chrono::ChLineLineIntersect ( Vector  p1,
Vector  p2,
Vector  p3,
Vector  p4,
Vector *  pa,
Vector *  pb,
double *  mua,
double *  mub 
)

Calculate the line segment PaPb that is the shortest route between two lines P1P2 and P3P4. Calculate also the values of mua and mub where Pa = P1 + mua (P2 - P1) Pb = P3 + mub (P4 - P3) Return FALSE if no solution exists.

CHapi void chrono::ChPeriodicPar ( double &  u,
int  closed 
)

Parameter make periodic in 0..1 (using 0..1 modulus if closed, otherwise clamping in 0..1 range)

CHapi double chrono::ChPointLineDistance ( Vector  p,
Vector  dA,
Vector  dB,
double &  mu,
int &  is_insegment 
)

Calculate distance between a point p and a line identified with segment dA,dB. Returns distance. Also, the mu value reference tells if the nearest projection of point on line falls into segment (for mu 0...1)

CHapi double chrono::ChPointTriangleDistance ( Vector  B,
Vector  A1,
Vector  A2,
Vector  A3,
double &  mu,
double &  mv,
int &  is_into,
Vector &  Bprojected 
)

Calculate distance of a point from a triangle surface. Also computes if projection is inside the triangle.

template<class T >
void chrono::create ( std::string  cls_name,
T **  ppObj 
)

This function return a pointer to an object that belong to the class specified by the string cls_name. If success put in *ppObj that pointer, otherwise put a NULL value in *ppObj.

CHapi ChGlobals * chrono::DLL_CreateGlobals ( )

Create a ChGlobal data, sets it as the default return for the ChGLOBALS() function, and returns the ChGlobal object. Must be called ALWAYS once at the beginning of the program using Chrono dll.

CHapi void chrono::DLL_DeleteGlobals ( )

Deletes the global data created with DLL_CreateGlobals(). Must be called ALWAYS once at the end of the program using Chrono dll.

this_data this_data this_data this_data this_data this_data this_data this_data this_data this_data this_data chrono::Set_mot_inertia ( chjs_to_double(cx, vp)  )
Initial value:
 {
    {0}
}
CHapi void chrono::SetChGLOBALS ( ChGlobals *  my_globals)

Create an istance of ChGlobals, then use this function at the beginning of your program to set it as a globally visible data. So that following calls to ChGLOBALS() will always return it. If setting 0, the default static globals will be returned by ChGLOBALS().

CHapiJS void chrono::SetChGLOBALS_JS ( ChGlobalsJS *  my_globals)

Create an istance of ChGlobalsJS, then use this function at the beginning of your program to set it as a globally visible data. So that following calls to ChGLOBALS_JS() will always return it. If setting 0, the default static globals will be returned by ChGLOBALS_JS().

CHapi void chrono::SetLog ( ChLog &  new_logobject)

Global function to set another ChLog object as current 'global' logging system. For example, a plugin developer may like to see logs on a GUI dialog: if so, he can inherit a specialized ChLog class (overriding the Output() function) and use the SetLog() function to have it available all times. Doing so, in your code you can write, for example:

chrono::GetLog() << "message";

template<class T >
void chrono::StreamSwapBytes ( T *  ptData)

Templated function for swapping bytes of objects of type 'T', in general fo rwhatever T type. This is used for cross-platform compatibility when sharing objects between big-endian and little-endian memory models, depending on the microprocessor type.


Variable Documentation

CLASS

CLASS

JSClass chrono::chjs_boolean
Initial value:
 {
    "boolean", 0,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}
JSClass chrono::chjs_ChControllerPID
Initial value:
 {
    "PID", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  ChControllerPID_get,              ChControllerPID_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   ChControllerPID_finalize,
}
JSClass chrono::chjs_CHobj
Initial value:
 {
    "CHobj", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  CHobj_get,                CHobj_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_Constraint
Initial value:
 {
    "ChConstraint", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Constraint_get,           Constraint_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,           Constraint_finalize,
}
JSClass chrono::chjs_Constraint_Chf
Initial value:
 {
    "ChConstraint_Chf", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Constraint_Chf_get,               Constraint_Chf_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,           Constraint_Chf_finalize,
}
JSClass chrono::chjs_Constraint_Chf_Continuity
Initial value:
 {
    "ChConstraint_Chf_Continuity", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Constraint_Chf_Continuity_get,            Constraint_Chf_Continuity_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,           Constraint_Chf_Continuity_finalize,
}
JSClass chrono::chjs_Constraint_Chf_Val
Initial value:
 {
    "ChConstraint_Chf_Val", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Constraint_Chf_Val_get,           Constraint_Chf_Val_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,           Constraint_Chf_Val_finalize,
}
JSClass chrono::chjs_Coordsys
Initial value:
 {
    "Coordsys", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Coordsys_get,     Coordsys_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   Coordsys_finalize,
}
JSClass chrono::chjs_double
Initial value:
 {
    "double", 0,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}
JSClass chrono::chjs_Force
Initial value:
 {
    "Force", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Force_get,                Force_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
this_data this_data this_data this_data & chrono::chjs_Function
Initial value:
 {
    "ChFunction", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Function_get,     Function_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_FunctionConst
Initial value:
 {
    "ChFunctionConst", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionConst_get,        FunctionConst_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,           FunctionConst_finalize,
}
JSClass chrono::chjs_FunctionConstAcc
Initial value:
 {
    "ChFunctionConstAcc", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionConstAcc_get,     FunctionConstAcc_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,    FunctionConstAcc_finalize,
}
JSClass chrono::chjs_FunctionDerive
Initial value:
 {
    "ChFunctionDerive", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionDerive_get,       FunctionDerive_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,                   FunctionDerive_finalize,
}
JSClass chrono::chjs_FunctionFillet3
Initial value:
 {
    "ChFunctionFillet3", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionFillet3_get,      FunctionFillet3_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   FunctionFillet3_finalize,
}
JSClass chrono::chjs_FunctionIntegrate
Initial value:
 {
    "ChFunctionIntegrate", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionIntegrate_get,    FunctionIntegrate_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,                   FunctionIntegrate_finalize,
}
JSClass chrono::chjs_FunctionJscript
Initial value:
 {
    "ChFunctionJscript", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionJscript_get,      FunctionJscript_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,               FunctionJscript_finalize,
}
JSClass chrono::chjs_FunctionMirror
Initial value:
 {
    "ChFunctionMirror", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionMirror_get,       FunctionMirror_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,                   FunctionMirror_finalize,
}
JSClass chrono::chjs_FunctionNode
Initial value:
 {
    "ChFunctionNode", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionNode_get,         FunctionNode_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_FunctionOperation
Initial value:
 {
    "ChFunctionOperation", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionOperation_get,    FunctionOperation_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,                   FunctionOperation_finalize,
}
JSClass chrono::chjs_FunctionPoly
Initial value:
 {
    "ChFunctionPoly", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionPoly_get,         FunctionPoly_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   FunctionPoly_finalize,
}
JSClass chrono::chjs_FunctionPoly345
Initial value:
 {
    "ChFunctionPoly345", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionPoly345_get,      FunctionPoly345_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,      FunctionPoly345_finalize,
}
JSClass chrono::chjs_FunctionRamp
Initial value:
 {
    "ChFunctionRamp", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionRamp_get,         FunctionRamp_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   FunctionRamp_finalize,
}
JSClass chrono::chjs_FunctionRecorder
Initial value:
 {
    "ChFunctionRecorder", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionRecorder_get,     FunctionRecorder_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,    FunctionRecorder_finalize,
}
JSClass chrono::chjs_FunctionRepeat
Initial value:
 {
    "ChFunctionRepeat", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionRepeat_get,       FunctionRepeat_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,                   FunctionRepeat_finalize,
}
JSClass chrono::chjs_FunctionSequence
Initial value:
 {
    "ChFunctionSequence", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionSequence_get,     FunctionSequence_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   FunctionSequence_finalize,
}
JSClass chrono::chjs_FunctionSigma
Initial value:
 {
    "ChFunctionSigma", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionSigma_get,        FunctionSigma_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,    FunctionSigma_finalize,
}
JSClass chrono::chjs_FunctionSine
Initial value:
 {
    "ChFunctionSine", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  FunctionSine_get,         FunctionSine_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   FunctionSine_finalize,
}
JSClass chrono::chjs_Geometry
Initial value:
 {
    "Geometry", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Geometry_get,             Geometry_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_Impact
Initial value:
 {
    "Ch_Impact", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Impact_get,               Impact_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_int
Initial value:
 {
    "int", 0,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}
JSClass chrono::chjs_Link
Initial value:
 {
    "Link", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Link_get,                 Link_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkBrake
Initial value:
 {
    "LinkBrake", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkBrake_get,    LinkBrake_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkClearance
Initial value:
 {
    "LinkClearance", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkClearance_get,        LinkClearance_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkEngine
Initial value:
 {
    "LinkEngine", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkEngine_get,           LinkEngine_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkGear
Initial value:
 {
    "LinkGear", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkGear_get,             LinkGear_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkLinActuator
Initial value:
 {
    "LinkLinActuator", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkLinActuator_get,              LinkLinActuator_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkLock
Initial value:
 {
    "LinkLock", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkLock_get,             LinkLock_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkPneumaticActuator
Initial value:
 {
    "LinkPneumaticActuator", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkPneumaticActuator_get,       LinkPneumaticActuator_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkScrew
Initial value:
 {
    "LinkScrew", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkScrew_get,            LinkScrew_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkSpring
Initial value:
 {
    "LinkSpring", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkSpring_get,           LinkSpring_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_LinkWheel
Initial value:
 {
    "LinkWheel", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  LinkWheel_get,            LinkWheel_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_Marker
Initial value:
 {
    "Marker", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Marker_get,               Marker_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_Matrix
Initial value:
 {
    "Matrix", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Matrix_get,               Matrix_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   Matrix_finalize,
}
JSClass chrono::chjs_null
Initial value:
 {
    "null", 0,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}
JSClass chrono::chjs_object
Initial value:
 {
    "object", 0,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}
JSClass chrono::chjs_PSystem
Initial value:
 {
    "System", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  PSystem_get,              PSystem_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_Quaternion
Initial value:
 {
    "Quaternion", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Quaternion_get,   Quaternion_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   Quaternion_finalize,
}
& chrono::chjs_RBody
Initial value:
 {
    "Body", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  RBody_get,                RBody_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
}
JSClass chrono::chjs_string
Initial value:
 {
    "string", 0,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}
this_data this_data & chrono::chjs_Vector
Initial value:
 {
    "Vector", JSCLASS_HAS_RESERVED_SLOTS(2),
    JS_PropertyStub,  JS_PropertyStub,  Vector_get,               Vector_set,
    JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   Vector_finalize,
}
this_data chrono::fx
Initial value:
 ((ChFunction*)chjs_to_data(cx,vp))  )
        SET_JS_PROP (1, &chjs_double, this_data->SetDuration(chjs_to_double(cx,vp)) )
SET_JS_PARSE_END





static JSFunctionSpec FunctionNode_methods[] = {
    {0}
}

DECLARE THAT THERE'S A GLOBAL POINTER TO A "GLOBAL_Vars" OBJECT!!!

DECLARE THAT THERE'S A GLOBAL POINTER TO A "GLOBAL_VarsJS" OBJECT

this_data chrono::P
Initial value:
 (chjs_to_double(cx,vp)) )
        SET_JS_PROP (1, &chjs_double, this_data->I = (chjs_to_double(cx,vp)) )
        SET_JS_PROP (2, &chjs_double, this_data->D = (chjs_to_double(cx,vp)) )
SET_JS_PARSE_END









  this_data = new ChControllerPID
this_data chrono::pos
Initial value:
 *(Vector*)chjs_to_data(cx,vp) )
        SET_JS_PROP (1, &chjs_Quaternion,       this_data->rot = *(Quaternion*)chjs_to_data(cx,vp) )
SET_JS_PARSE_END









  this_data = new Coordsys(CSYSNULL)

CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on Tue Jul 10 2012 by Doxygen