Home
last modified time | relevance | path

Searched refs:comV (Results 1 – 2 of 2) sorted by relevance

/dports/science/gromacs/gromacs-2021.4/src/gromacs/mdlib/tests/
H A Dconstr.cpp252 RVec comV({ 0.0, 0.0, 0.0 }); in checkCOMVelocity() local
256 comV += testData.masses_[i] * testData.v_[i]; in checkCOMVelocity()
259 comV /= testData.numAtoms_; in checkCOMVelocity()
261 EXPECT_REAL_EQ_TOL(comV[XX], comV0[XX], tolerance) in checkCOMVelocity()
263 EXPECT_REAL_EQ_TOL(comV[YY], comV0[YY], tolerance) in checkCOMVelocity()
265 EXPECT_REAL_EQ_TOL(comV[ZZ], comV0[ZZ], tolerance) in checkCOMVelocity()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/OpenSimJNI/
H A DOpenSimContext.h173 …SimTK::Vec3 comV = _model->getMatterSubsystem().calcSystemMassCenterLocationInGround(*_configState… in getCenterOfMassInGround() local
174 for(int i=0; i<3; i++) com[i] = comV[i]; in getCenterOfMassInGround()