/dports/science/chrono/chrono-7.0.1/src/chrono/motion_functions/ |
H A D | ChFunction_Operation.cpp | 34 double ChFunction_Operation::Get_y(double x) const { in Get_y() function in chrono::ChFunction_Operation 39 res = fa->Get_y(x) + fb->Get_y(x); in Get_y() 42 res = fa->Get_y(x) - fb->Get_y(x); in Get_y() 45 res = fa->Get_y(x) * fb->Get_y(x); in Get_y() 48 res = fa->Get_y(x) / fb->Get_y(x); in Get_y() 51 res = pow(fa->Get_y(x), fb->Get_y(x)); in Get_y() 54 res = ChMax(fa->Get_y(x), fb->Get_y(x)); in Get_y() 57 res = ChMin(fa->Get_y(x), fb->Get_y(x)); in Get_y() 60 res = fmod(fa->Get_y(x), fb->Get_y(x)); in Get_y() 63 res = fabs(fa->Get_y(x)); in Get_y() [all …]
|
H A D | ChFunction_Matlab.cpp | 30 double ChFunction_Matlab::Get_y(double x) const { in Get_y() function in chrono::ChFunction_Matlab 51 return ((Get_y(x + BDF_STEP_HIGH) - Get_y(x)) / BDF_STEP_HIGH); in Get_y_dx()
|
H A D | ChFunction_Mirror.cpp | 31 double ChFunction_Mirror::Get_y(double x) const { in Get_y() function in chrono::ChFunction_Mirror 33 return fa->Get_y(x); in Get_y() 34 return fa->Get_y(2 * this->mirror_axis - x); in Get_y()
|
H A D | ChFunctionRotation_ABCfunctions.cpp | 53 this->angleA->Get_y(s), in Get_q() 54 this->angleB->Get_y(s), in Get_q() 55 this->angleC->Get_y(s) in Get_q()
|
H A D | ChFunctionPosition_XYZfunctions.cpp | 49 px->Get_y(s), in Get_p() 50 py->Get_y(s), in Get_p() 51 pz->Get_y(s)); in Get_p()
|
H A D | ChFunction_Base.h | 87 virtual double Get_y(double x) const = 0; 94 …virtual double Get_y_dx(double x) const { return ((Get_y(x + BDF_STEP_LOW) - Get_y(x)) / BDF_STEP_… in Get_y_dx()
|
/dports/science/chrono/chrono-7.0.1/src/chrono/physics/ |
H A D | ChForce.cpp | 86 displace.x() = move_x->Get_y(ChTime); in SetVpoint() 88 displace.y() = move_y->Get_y(ChTime); in SetVpoint() 90 displace.z() = move_z->Get_y(ChTime); in SetVpoint() 111 displace.x() = move_x->Get_y(ChTime); in SetVrelpoint() 113 displace.y() = move_y->Get_y(ChTime); in SetVrelpoint() 187 vmotion.x() = move_x->Get_y(ChTime); in UpdateState() 189 vmotion.y() = move_y->Get_y(ChTime); in UpdateState() 191 vmotion.z() = move_z->Get_y(ChTime); in UpdateState() 211 xyzforce.x() = f_x->Get_y(ChTime); in UpdateState() 213 xyzforce.y() = f_y->Get_y(ChTime); in UpdateState() [all …]
|
H A D | ChLinkForce.cpp | 41 return m_K * m_K_modul->Get_y(x); in GetKcurrent() 47 return m_R * m_R_modul->Get_y(x); in GetRcurrent() 53 return m_F * m_F_modul->Get_y(t); in GetFcurrent() 59 …return m_F * m_F_modul->Get_y(t) - (m_K * m_K_modul->Get_y(x)) * x - (m_R * m_R_modul->Get_y(x)) *… in GetForce()
|
H A D | ChMarker.cpp | 126 rest_coord.pos.x() = m_coord.pos.x() - motion_X->Get_y(ChTime); in Impose_Rel_Coord() 127 rest_coord.pos.y() = m_coord.pos.y() - motion_Y->Get_y(ChTime); in Impose_Rel_Coord() 128 rest_coord.pos.z() = m_coord.pos.z() - motion_Z->Get_y(ChTime); in Impose_Rel_Coord() 129 qtemp = Q_from_AngAxis(-(motion_ang->Get_y(ChTime)), motion_axis); in Impose_Rel_Coord() 187 csys.pos.x() = motion_X->Get_y(mytime); in UpdateTime() 188 csys.pos.y() = motion_Y->Get_y(mytime); in UpdateTime() 189 csys.pos.z() = motion_Z->Get_y(mytime); in UpdateTime() 205 ang = motion_ang->Get_y(mytime); in UpdateTime() 268 …if ((motion_X->Get_y(mtime) == 0) && (motion_Y->Get_y(mtime) == 0) && (motion_Z->Get_y(mtime) == 0… in UpdatedExternalTime() 269 (motion_ang->Get_y(mtime) == 0) && (motion_X->Get_Type() == ChFunction::FUNCT_CONST) && in UpdatedExternalTime()
|
H A D | ChLimit.cpp | 199 force = cush_coord * m_Kmin * m_Kmin_modul->Get_y(cush_coord_norm); in GetForce() 200 force += (-x_dt) * m_Rmin * m_Rmin_modul->Get_y(cush_coord_norm); in GetForce() 220 force = (-cush_coord) * m_Kmax * m_Kmax_modul->Get_y(cush_coord_norm); in GetForce() 221 force += (-x_dt) * m_Rmax * m_Rmax_modul->Get_y(cush_coord_norm); in GetForce() 234 return m_polarMax_funct->Get_y(pol_ang); in GetMaxPolarAngle() 255 ang_max = m_polarMax_funct->Get_y(pol_ang); in GetPolarForce() 273 force = (-cush_coord) * m_Kmax * m_Kmax_modul->Get_y(cush_coord_norm); in GetPolarForce() 274 force += (-x_dt) * m_Rmax * m_Rmax_modul->Get_y(cush_coord_norm); in GetPolarForce()
|
H A D | ChLinkSpring.cpp | 90 spr_react = spr_f * mod_f_time->Get_y(ChTime); in UpdateForces() 91 spr_react -= (spr_k * mod_k_d->Get_y(deform) * mod_k_speed->Get_y(dist_dt)) * (deform); in UpdateForces() 92 spr_react -= (spr_r * mod_r_d->Get_y(deform) * mod_r_speed->Get_y(dist_dt)) * (dist_dt); in UpdateForces()
|
H A D | ChLoadsXYZnode.cpp | 84 m_scale = m_modulation->Get_y(time); in Update() 195 force_dX->Get_y(rel_pos.x()) - R.x() * rel_vel.x(), in ComputeForce() 196 force_dY->Get_y(rel_pos.y()) - R.y() * rel_vel.y(), in ComputeForce() 197 force_dZ->Get_y(rel_pos.z()) - R.z() * rel_vel.z()); in ComputeForce() 315 force_dX->Get_y(rel_AB.GetPos().x()) - R.x()*rel_AB.GetPos_dt().x(), in ComputeForce() 316 force_dY->Get_y(rel_AB.GetPos().y()) - R.y()*rel_AB.GetPos_dt().y(), in ComputeForce() 317 force_dZ->Get_y(rel_AB.GetPos().z()) - R.z()*rel_AB.GetPos_dt().z() ); in ComputeForce()
|
H A D | ChLinkMotorLinearSpeed.cpp | 60 double mCt = -m_func->Get_y(this->GetChTime()); in IntLoadConstraint_Ct() 70 double mCt = -m_func->Get_y(this->GetChTime()); in ConstraintsBiLoad_Ct() 114 double imposed_speed = m_func->Get_y(this->GetChTime()); in IntLoadResidual_F() 161 double imposed_speed = m_func->Get_y(this->GetChTime()); in VariablesFbLoadForces()
|
/dports/science/chrono/chrono-7.0.1/src/demos/python/core/ |
H A D | demo_CH_functions.py | 19 def Get_y(self, x): member in MyFunction 43 y = f_ramp.Get_y(10) 58 y = f_sine.Get_y(x) 74 y = f_test.Get_y(x) 106 y = f_seq.Get_y(x) 137 y = f_rep_seq.Get_y(x)
|
H A D | demo_CH_coords.py | 76 print ('function f(0.2)=', my_funct.Get_y(0.2) ) 85 def Get_y(self,x): member in MySquareFunct 90 print ('function f(2) =', my_funct2.Get_y(3) )
|
/dports/science/chrono/chrono-7.0.1/src/demos/core/ |
H A D | demo_CH_functions.cpp | 50 double y_ramp = f_ramp.Get_y(10); in main() 74 double y = f_sine.Get_y(x); in main() 98 … virtual double Get_y(double x) const override { return cos(x); } // just for test: simple cosine in main() function in main::ChFunction_MyTest 110 double y = f_test.Get_y(x); in main() 148 double y = f_sequence.Get_y(x); in main() 182 double y = f_rep_seq->Get_y(x); in main()
|
/dports/science/chrono/chrono-7.0.1/src/chrono_vehicle/wheeled_vehicle/tire/ |
H A D | Pac02Tire.h | 43 return m_vert_map.Get_y(depth) + m_bott_map.Get_y(depth); in GetNormalStiffnessForce() 45 return m_vert_map.Get_y(depth); in GetNormalStiffnessForce() 49 return m_PacCoeff.Cz * depth + m_bott_map.Get_y(depth); in GetNormalStiffnessForce()
|
/dports/science/chrono/chrono-7.0.1/src/tests/unit_tests/core/ |
H A D | utest_CH_ChFunction_Lambda.cpp | 27 ASSERT_DOUBLE_EQ(F1.Get_y(3.0), 9.0); in TEST() 34 ASSERT_DOUBLE_EQ(F2.Get_y(2.0), std::exp(4.0)); in TEST() 41 ASSERT_DOUBLE_EQ(F3->Get_y(5.0), std::cos(5.0)); in TEST()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/ccpr/ |
H A D | GrOctoBounds.cpp | 145 VALIDATE(t >= Get_y(r45,t45) - epsilon); in validateBoundsAreTight() 147 VALIDATE(b <= Get_y(l45,b45) + epsilon); in validateBoundsAreTight() 160 VALIDATE(t <= Get_y(r45,b45) + epsilon); in validateBoundsAreTight() 161 VALIDATE(t <= Get_y(l45,t45) + epsilon); in validateBoundsAreTight() 164 VALIDATE(b >= Get_y(l45,t45) - epsilon); in validateBoundsAreTight() 165 VALIDATE(b >= Get_y(r45,b45) - epsilon); in validateBoundsAreTight()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/ccpr/ |
H A D | GrOctoBounds.cpp | 145 VALIDATE(t >= Get_y(r45,t45) - epsilon); in validateBoundsAreTight() 147 VALIDATE(b <= Get_y(l45,b45) + epsilon); in validateBoundsAreTight() 160 VALIDATE(t <= Get_y(r45,b45) + epsilon); in validateBoundsAreTight() 161 VALIDATE(t <= Get_y(l45,t45) + epsilon); in validateBoundsAreTight() 164 VALIDATE(b >= Get_y(l45,t45) - epsilon); in validateBoundsAreTight() 165 VALIDATE(b >= Get_y(r45,b45) - epsilon); in validateBoundsAreTight()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/ccpr/ |
H A D | GrOctoBounds.cpp | 145 VALIDATE(t >= Get_y(r45,t45) - epsilon); in validateBoundsAreTight() 147 VALIDATE(b <= Get_y(l45,b45) + epsilon); in validateBoundsAreTight() 160 VALIDATE(t <= Get_y(r45,b45) + epsilon); in validateBoundsAreTight() 161 VALIDATE(t <= Get_y(l45,t45) + epsilon); in validateBoundsAreTight() 164 VALIDATE(b >= Get_y(l45,t45) - epsilon); in validateBoundsAreTight() 165 VALIDATE(b >= Get_y(r45,b45) - epsilon); in validateBoundsAreTight()
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/ccpr/ |
H A D | GrOctoBounds.cpp | 145 VALIDATE(t >= Get_y(r45,t45) - epsilon); in validateBoundsAreTight() 147 VALIDATE(b <= Get_y(l45,b45) + epsilon); in validateBoundsAreTight() 160 VALIDATE(t <= Get_y(r45,b45) + epsilon); in validateBoundsAreTight() 161 VALIDATE(t <= Get_y(l45,t45) + epsilon); in validateBoundsAreTight() 164 VALIDATE(b >= Get_y(l45,t45) - epsilon); in validateBoundsAreTight() 165 VALIDATE(b >= Get_y(r45,b45) - epsilon); in validateBoundsAreTight()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/ccpr/ |
H A D | GrOctoBounds.cpp | 145 VALIDATE(t >= Get_y(r45,t45) - epsilon); in validateBoundsAreTight() 147 VALIDATE(b <= Get_y(l45,b45) + epsilon); in validateBoundsAreTight() 160 VALIDATE(t <= Get_y(r45,b45) + epsilon); in validateBoundsAreTight() 161 VALIDATE(t <= Get_y(l45,t45) + epsilon); in validateBoundsAreTight() 164 VALIDATE(b >= Get_y(l45,t45) - epsilon); in validateBoundsAreTight() 165 VALIDATE(b >= Get_y(r45,b45) - epsilon); in validateBoundsAreTight()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/ccpr/ |
H A D | GrOctoBounds.cpp | 146 VALIDATE(t >= Get_y(r45,t45) - epsilon); in validateBoundsAreTight() 148 VALIDATE(b <= Get_y(l45,b45) + epsilon); in validateBoundsAreTight() 161 VALIDATE(t <= Get_y(r45,b45) + epsilon); in validateBoundsAreTight() 162 VALIDATE(t <= Get_y(l45,t45) + epsilon); in validateBoundsAreTight() 165 VALIDATE(b >= Get_y(l45,t45) - epsilon); in validateBoundsAreTight() 166 VALIDATE(b >= Get_y(r45,b45) - epsilon); in validateBoundsAreTight()
|
/dports/science/chrono/chrono-7.0.1/src/chrono_vehicle/ |
H A D | ChSubsysDefs.h | 159 return -m_map.Get_y(length - rest_length); in operator() 195 …return -m_map.Get_y(length - rest_length) + m_bump.Get_y(defl_bump) - m_rebound.Get_y(defl_rebound… in operator() 278 force = defl_spring * m_k + m_bump.Get_y(defl_bump) - m_rebound.Get_y(defl_rebound); in operator() 343 return -m_map.Get_y(vel); in operator() 368 return m_f - m_mapK.Get_y(length - rest_length) - m_mapC.Get_y(vel); in operator() 444 return -m_map.Get_y(angle - m_rest_angle); in operator() 463 return -m_map.Get_y(vel); in operator()
|