/dports/science/simbody/simbody-Simbody-3.7/Simbody/include/simbody/internal/ |
H A D | Force_LinearBushing.h | 127 const Vec6& stiffness, const Vec6& damping); 149 const Vec6& stiffness, const Vec6& damping); 198 LinearBushing& setDefaultStiffness(const Vec6& stiffness); 207 LinearBushing& setDefaultDamping(const Vec6& damping); 227 const Vec6& getDefaultStiffness() const; 233 const Vec6& getDefaultDamping() const; 340 const Vec6& getStiffness(const State& state) const; 350 const Vec6& getDamping(const State& state) const; 379 const Vec6& getQ(const State& state) const; 435 const Vec6& getQDot(const State& state) const; [all …]
|
H A D | MobilizedBody_Bushing.h | 130 { Vec6 q; in setDefaultTransform() 138 const Vec6& q = getDefaultQ(); in getDefaultTransform() 167 const Vec6& getDefaultQ() const; 174 Bushing& setDefaultQ(const Vec6& q); 179 const Vec6& getQ(const State& state) const; 187 const Vec6& getQDot(const State& state) const; 194 const Vec6& getQDotDot(const State& state) const; 200 const Vec6& getU(const State& state) const; 205 const Vec6& getUDot(const State& state) const; 214 void setQ(State& state, const Vec6& q) const; [all …]
|
H A D | Constraint_Weld.h | 123 Vec6 getPositionErrors(const State&) const; 124 Vec6 getVelocityErrors(const State&) const; 127 Vec6 getAccelerationErrors(const State&) const; 128 Vec6 getMultipliers(const State&) const;
|
H A D | MobilizedBody_Free.h | 131 const Vec6& getU(const State&) const; 132 const Vec6& getUDot(const State&) const; 136 void setU(State&, const Vec6&) const; 139 const Vec6& getMyPartU(const State&, const Vector& ulike) const; 142 Vec6& updMyPartU(const State&, Vector& ulike) const;
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Examples/Plugins/CoupledBushingForceExample/ |
H A D | CoupledBushingForce.h | 63 OpenSim_DECLARE_PROPERTY(stiffness_row1, SimTK::Vec6, 65 OpenSim_DECLARE_PROPERTY(stiffness_row2, SimTK::Vec6, 67 OpenSim_DECLARE_PROPERTY(stiffness_row3, SimTK::Vec6, 69 OpenSim_DECLARE_PROPERTY(stiffness_row4, SimTK::Vec6, 71 OpenSim_DECLARE_PROPERTY(stiffness_row5, SimTK::Vec6, 78 OpenSim_DECLARE_PROPERTY(damping_row1, SimTK::Vec6, 80 OpenSim_DECLARE_PROPERTY(damping_row2, SimTK::Vec6, 82 OpenSim_DECLARE_PROPERTY(damping_row3, SimTK::Vec6, 84 OpenSim_DECLARE_PROPERTY(damping_row4, SimTK::Vec6, 86 OpenSim_DECLARE_PROPERTY(damping_row5, SimTK::Vec6, [all …]
|
H A D | CoupledBushingForce.cpp | 83 constructProperty_stiffness_row1(Vec6(0)); in constructProperties() 84 constructProperty_stiffness_row2(Vec6(0)); in constructProperties() 85 constructProperty_stiffness_row3(Vec6(0)); in constructProperties() 90 constructProperty_damping_row1(Vec6(0)); in constructProperties() 91 constructProperty_damping_row2(Vec6(0)); in constructProperties() 92 constructProperty_damping_row3(Vec6(0)); in constructProperties() 93 constructProperty_damping_row4(Vec6(0)); in constructProperties() 94 constructProperty_damping_row5(Vec6(0)); in constructProperties() 95 constructProperty_damping_row6(Vec6(0)); in constructProperties() 124 Vec6 f = fk + fv; in computeForce() [all …]
|
/dports/science/mbdyn/mbdyn-1.7.3/libraries/libmbmath/ |
H A D | matvec6.h | 37 class Vec6 { 50 Vec6(const Vec6& vin) { in Vec6() function 103 inline Vec6& operator = (const Vec6& x) { 109 inline Vec6& operator += (const Vec6& x) { 115 inline Vec6& operator -= (const Vec6& x) { 149 inline Vec6 operator + (const Vec6& x) const { 153 inline Vec6 operator - (const Vec6& x) const { 228 extern Vec6 operator + (const Vec6& v); 229 extern Vec6 operator - (const Vec6& v); 498 Vec6 operator * (const Vec6& v) const { [all …]
|
H A D | matvec6.cc | 38 const Vec6 Zero6(0., 0., 0., 0., 0., 0.); 54 Vec6::Write(std::ostream& out, const char* sFill) const in Write() 66 Vec6::Reset(void) in Reset() 81 Vec6 operator + (const Vec6& v) in operator +() 87 Vec6 operator - (const Vec6& v) in operator -() 89 return Vec6(-v.GetVec1(), -v.GetVec2()); in operator -() 94 operator << (std::ostream& out, const Vec6& v) in operator <<() 105 Write(std::ostream& out, const Vec6& v, const char* sFill) in Write() 190 Vec6 MultRV(const Vec6& v, const Mat3x3& R) in MultRV() 192 return Vec6(R*v.GetVec1(), R*v.GetVec2()); in MultRV()
|
/dports/science/simbody/simbody-Simbody-3.7/Simbody/tests/ |
H A D | TestLinearBushing.cpp | 60 const Vec6 k = 10*Vec6(1,2,1,1,5,1); in testParameterSetting() 61 const Vec6 c = 1.3*Vec6(1,.1,1,.11,1,11); in testParameterSetting() 75 Vec6(5), Vec6(7)); in testParameterSetting() 135 const Vec6 k = 10*Vec6(1,1,1,1,1,1); in testKinematicsAndEnergyConservation() 136 const Vec6 c = 1*Vec6(1,1,1,1,1,1); in testKinematicsAndEnergyConservation() 177 (forces, body1, body2, Vec6(0), Vec6(0)); in testKinematicsAndEnergyConservation() 211 Vec6 mq = Vec6(ang[0],ang[1],ang[2],xyz[0],xyz[1],xyz[2]); in testKinematicsAndEnergyConservation() 212 Vec6 mqd = Vec6(angd[0],angd[1],angd[2],xyzd[0],xyzd[1],xyzd[2]); in testKinematicsAndEnergyConservation() 311 const Vec6 k = 10*Vec6(1,1,1,1,1,1); in testKinematicsAndEnergyConservationUsingBushingMobilizer() 312 const Vec6 c = 1*Vec6(1,1,1,1,1,1); in testKinematicsAndEnergyConservationUsingBushingMobilizer() [all …]
|
/dports/science/mbdyn/mbdyn-1.7.3/modules/module-constlaw-f95/ |
H A D | module-constlaw-f95.cc | 211 class DummyConstitutiveLaw<Vec6, Mat6x6> 212 : public ConstitutiveLaw<Vec6, Mat6x6> { 235 virtual ConstitutiveLaw<Vec6, Mat6x6>* pCopy(void) const { in pCopy() 236 ConstitutiveLaw<Vec6, Mat6x6>* pCL = 0; in pCopy() 238 typedef DummyConstitutiveLaw<Vec6, Mat6x6> cl; in pCopy() 254 virtual void Update(const Vec6& Eps, const Vec6& EpsPrime = mb_zero<Vec6>()) { in Update() 255 ConstitutiveLaw<Vec6, Mat6x6>::Epsilon = Eps; in Update() 264 ConstitutiveLaw<Vec6, Mat6x6>::F = dF; in Update() 265 ConstitutiveLaw<Vec6, Mat6x6>::FDE = Mat6x6(dFDE, 6); in Update() 269 virtual void AfterConvergence(const Vec6& Eps, const Vec6& EpsPrime = mb_zero<Vec6>()) { in AfterConvergence() [all …]
|
/dports/science/mbdyn/mbdyn-1.7.3/modules/module-constlaw-f90/ |
H A D | module-constlaw-f90.cc | 211 class DummyConstitutiveLaw<Vec6, Mat6x6> 212 : public ConstitutiveLaw<Vec6, Mat6x6> { 235 virtual ConstitutiveLaw<Vec6, Mat6x6>* pCopy(void) const { in pCopy() 236 ConstitutiveLaw<Vec6, Mat6x6>* pCL = 0; in pCopy() 238 typedef DummyConstitutiveLaw<Vec6, Mat6x6> cl; in pCopy() 254 virtual void Update(const Vec6& Eps, const Vec6& EpsPrime = mb_zero<Vec6>()) { in Update() 255 ConstitutiveLaw<Vec6, Mat6x6>::Epsilon = Eps; in Update() 264 ConstitutiveLaw<Vec6, Mat6x6>::F = dF; in Update() 265 ConstitutiveLaw<Vec6, Mat6x6>::FDE = Mat6x6(dFDE, 6); in Update() 269 virtual void AfterConvergence(const Vec6& Eps, const Vec6& EpsPrime = mb_zero<Vec6>()) { in AfterConvergence() [all …]
|
/dports/science/simbody/simbody-Simbody-3.7/Simbody/src/ |
H A D | Force_LinearBushing.cpp | 38 const Vec6& defStiffness, const Vec6& defDamping) in InstanceVars() 49 Vec6 q; 53 Vec6 qdot; 64 const Vec6& stiffness, const Vec6& damping); 217 const Vec6& stiffness, const Vec6& damping) in LinearBushing() 235 const Vec6& stiffness, const Vec6& damping) in LinearBushing() 406 const Vec6& stiffness, const Vec6& damping) in LinearBushingImpl() 531 const Vec6& q = pc.q; in ensureForceCacheValid() 532 Vec6 fk; Real pe2=0; in ensureForceCacheValid() 542 Vec6 fv; fc.power=0; in ensureForceCacheValid() [all …]
|
H A D | MotionImpl.h | 280 explicit SteadyImpl(const Vec6& u) : defaultU(u) {} in SteadyImpl() 288 void setDefaultRates(const Vec6& u) { in setDefaultRates() 300 const Vec6& getDefaultRates() const {return defaultU;} in getDefaultRates() 302 void setRates(State& s, const Vec6& u) const { in setRates() 303 updVar<Vec6>(s, currentU) = u; in setRates() 306 updVar<Vec6>(s, currentU)[ux] = u; in setOneRate() 310 return getVar<Vec6>(s, currentU)[ux]; in getOneRate() 331 const Vec6& uval = getVar<Vec6>(state, currentU); in calcPrescribedVelocityVirtual() 347 Vec6 defaultU;
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/Model/ |
H A D | FunctionBasedBushingForce.cpp | 175 SimTK::Vec6 FunctionBasedBushingForce:: 180 Vec6 dq = computeDeflection(s); in calcStiffnessForce() 182 Vec6 fk = Vec6(0.0); in calcStiffnessForce() 194 SimTK::Vec6 FunctionBasedBushingForce:: 197 Vec6 dqdot = computeDeflectionRate(s); in calcDampingForce() 209 Vec6 fk = calcStiffnessForce(s); in computeForce() 211 Vec6 fv = calcDampingForce(s); in computeForce() 214 Vec6 f = fk + fv; in computeForce() 259 Vec6 f = calcStiffnessForce(s) + calcDampingForce(s); in getRecordValues() 323 Vec6 f = calcStiffnessForce(s) + calcDampingForce(s); in generateDecorations()
|
H A D | ExpressionBasedBushingForce.cpp | 276 SimTK::Vec6 ExpressionBasedBushingForce:: 281 Vec6 dq = computeDeflection(s); in calcStiffnessForce() 283 Vec6 fk = Vec6(0.0); in calcStiffnessForce() 305 SimTK::Vec6 ExpressionBasedBushingForce:: 308 Vec6 dqdot = computeDeflectionRate(s); in calcDampingForce() 320 Vec6 fk = calcStiffnessForce(s); in computeForce() 322 Vec6 fv = calcDampingForce(s); in computeForce() 325 Vec6 f = fk + fv; in computeForce() 370 Vec6 f = calcStiffnessForce(s) + calcDampingForce(s); in getRecordValues() 429 Vec6 f = calcStiffnessForce(s) + calcDampingForce(s); in generateDecorations()
|
H A D | TwoFrameLinker.h | 205 SimTK::Vec6 computeDeflection(const SimTK::State& s) const; 211 SimTK::Vec6 computeDeflectionRate(const SimTK::State& s) const; 242 SimTK::Vec6 f, SimTK::SpatialVec& F1_G, SimTK::SpatialVec& F2_G) const; 260 SimTK::Vec6 f, SimTK::Vector_<SimTK::SpatialVec>& spatialForces) const; 445 SimTK::Vec6 TwoFrameLinker<C, F>::computeDeflection(const SimTK::State& s) const in computeDeflection() 451 SimTK::Vec6 dq(0); in computeDeflection() 498 SimTK::Vec6 dqdot(0); in computeDeflectionRate() 499 SimTK::Vec6 dq = computeDeflection(s); in computeDeflectionRate() 520 SimTK::Vec6 f, SimTK::SpatialVec& F1_G, SimTK::SpatialVec& F2_G) const in convertInternalForceToForcesOnFrames() 526 SimTK::Vec6 dq = computeDeflection(s); in convertInternalForceToForcesOnFrames() [all …]
|
/dports/science/mbdyn/mbdyn-1.7.3/mbdyn/struct/ |
H A D | hbeam.h | 100 Vec6 Az; 101 Vec6 AzRef; 102 Vec6 AzLoc; 103 Vec6 DefLoc; 104 Vec6 DefLocRef; 159 AddInternalForces(Vec6& /* AzLoc */) { in AddInternalForces() argument 325 Vec6 DefPrimeLoc; 326 Vec6 DefPrimeLocRef;
|
H A D | membraneeas.h | 136 Vec6 Az[NUMSEZ]; 137 Vec6 AzRef[NUMSEZ]; 138 Vec6 AzLoc[NUMSEZ]; 139 Vec6 DefLoc[NUMSEZ]; 140 Vec6 DefLocRef[NUMSEZ]; 141 Vec6 DefLocPrev[NUMSEZ]; 182 AddInternalForces(Vec6& /* AzLoc */ , unsigned int /* iSez */ ) { in AddInternalForces() argument
|
H A D | beam2.h | 107 Vec6 Az; 108 Vec6 AzRef; 109 Vec6 AzLoc; 110 Vec6 DefLoc; 111 Vec6 DefLocRef; 112 Vec6 DefLocPrev; 115 Vec6 DefPrimeLoc; 154 AddInternalForces(Vec6& /* AzLoc */) { in AddInternalForces() argument 374 Vec6 DefPrimeLocRef;
|
H A D | shelleas.h | 214 Vec6 Az[NUMSEZ]; 215 Vec6 AzRef[NUMSEZ]; 216 Vec6 AzLoc[NUMSEZ]; 217 Vec6 DefLoc[NUMSEZ]; 218 Vec6 DefLocRef[NUMSEZ]; 219 Vec6 DefLocPrev[NUMSEZ]; 260 AddInternalForces(Vec6& /* AzLoc */ , unsigned int /* iSez */ ) { in AddInternalForces() argument
|
H A D | shelleasans.h | 240 Vec6 Az[NUMSEZ]; 241 Vec6 AzRef[NUMSEZ]; 242 Vec6 AzLoc[NUMSEZ]; 243 Vec6 DefLoc[NUMSEZ]; 244 Vec6 DefLocRef[NUMSEZ]; 245 Vec6 DefLocPrev[NUMSEZ]; 294 AddInternalForces(Vec6& /* AzLoc */ , unsigned int /* iSez */ ) { in AddInternalForces() argument
|
H A D | beam.h | 177 Vec6 Az[NUMSEZ]; 178 Vec6 AzRef[NUMSEZ]; 179 Vec6 AzLoc[NUMSEZ]; 180 Vec6 DefLoc[NUMSEZ]; 181 Vec6 DefLocRef[NUMSEZ]; 182 Vec6 DefLocPrev[NUMSEZ]; 185 Vec6 DefPrimeLoc[NUMSEZ]; 227 AddInternalForces(Vec6& /* AzLoc */ , unsigned int /* iSez */ ) { in AddInternalForces() argument 461 Vec6 DefPrimeLocRef[NUMSEZ];
|
/dports/science/mbdyn/mbdyn-1.7.3/mbdyn/base/ |
H A D | constltp_impl.h | 414 const Vec6& PStress, const Mat6x6& Stiff, in LinearElasticGenericAxialTorsionCouplingConstitutiveLaw() 428 ConstitutiveLaw<Vec6, Mat6x6>* pCL = 0; in pCopy() 447 virtual void Update(const Vec6& Eps, const Vec6& /* EpsPrime */ = mb_zero<Vec6>()) { 1554 const Vec6& PStress, in LinearViscoElasticGenericAxialTorsionCouplingConstitutiveLaw() 1561 ConstitutiveLaw<Vec6, Mat6x6>::FDE = Stiff; in LinearViscoElasticGenericAxialTorsionCouplingConstitutiveLaw() 1574 ConstitutiveLaw<Vec6, Mat6x6>* pCL = 0; in pCopy() 1581 ConstitutiveLaw<Vec6, Mat6x6>::FDE, in pCopy() 1597 virtual void Update(const Vec6& Eps, const Vec6& EpsPrime = mb_zero<Vec6>()) { 1602 ConstitutiveLaw<Vec6, Mat6x6>::F = ElasticConstitutiveLaw<Vec6, Mat6x6>::PreStress 1603 …+ ConstitutiveLaw<Vec6, Mat6x6>::FDE*(ConstitutiveLaw<Vec6, Mat6x6>::Epsilon - ElasticConstitutive… [all …]
|
H A D | constltp_impl.cc | 170 ConstitutiveLaw<Vec6, Mat6x6> * 260 struct CLArray6DR : public ConstitutiveLawRead<Vec6, Mat6x6> { 261 virtual ConstitutiveLaw<Vec6, Mat6x6> * 263 ConstitutiveLaw<Vec6, Mat6x6>* pCL = 0; in Read() 276 std::vector<ConstitutiveLaw<Vec6, Mat6x6> *> clv(n); in Read() 281 typedef ConstitutiveLawArray<Vec6, Mat6x6> L; in Read() 607 } else if (typeid(T) == typeid(Vec6)) { in Read() 1342 virtual ConstitutiveLaw<Vec6, Mat6x6> * 1344 ConstitutiveLaw<Vec6, Mat6x6>* pCL = 0; in Read() 1346 typedef BiStopCLWrapper<Vec6, Mat6x6> L; in Read() [all …]
|
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/tests/ |
H A D | TestEditProperties.java | 45 Vec6 oldInertia = new Vec6(); in main() 57 Vec6 newInertia = new Vec6(); in main()
|