/dports/cad/verilator/verilator-4.216/test_regress/t/ |
H A D | t_trace_fst.v | 75 logic [4:0] state_w; register 80 state_w[4] = state_array[2][0]; 81 state_w[3] = state_array[2][4]; 82 state_w[2] = state_array[2][3] ^ state_array[2][0]; 83 state_w[1] = state_array[2][2]; 84 state_w[0] = state_array[2][1]; 95 state_array[2] <= state_w;
|
H A D | t_trace_fst_cmake.v | 75 logic [4:0] state_w; register 80 state_w[4] = state_array[2][0]; 81 state_w[3] = state_array[2][4]; 82 state_w[2] = state_array[2][3] ^ state_array[2][0]; 83 state_w[1] = state_array[2][2]; 84 state_w[0] = state_array[2][1]; 95 state_array[2] <= state_w;
|
H A D | t_trace_fst_sc_cmake.v | 74 logic [4:0] state_w; register 79 state_w[4] = state_array[2][0]; 80 state_w[3] = state_array[2][4]; 81 state_w[2] = state_array[2][3] ^ state_array[2][0]; 82 state_w[1] = state_array[2][2]; 83 state_w[0] = state_array[2][1]; 94 state_array[2] <= state_w;
|
H A D | t_trace_fst_sc.v | 74 logic [4:0] state_w; register 79 state_w[4] = state_array[2][0]; 80 state_w[3] = state_array[2][4]; 81 state_w[2] = state_array[2][3] ^ state_array[2][0]; 82 state_w[1] = state_array[2][2]; 83 state_w[0] = state_array[2][1]; 94 state_array[2] <= state_w;
|
/dports/science/chrono/chrono-7.0.1/src/demos/python/fea/ |
H A D | demo_FEA_loads_static.py | 134 state_w): #/< state speed to evaluate Q argument 135 if not state_x==None and not state_w==None : 137 node_vel = chrono.ChVectorD(state_w[0], state_w[1], state_w[2]) 198 state_w): #/< state speed to evaluate Q argument 203 if not state_x==None and not state_w==None : 205 Enode_vel = chrono.ChVectorD(state_w[0], state_w[1], state_w[2]) 207 Fnode_vel = chrono.ChVectorD(state_w[3], state_w[4], state_w[5])
|
H A D | demo_FEA_loads_dynamic.py | 126 state_w): #/< state speed to evaluate Q argument 127 if not state_x==None and not state_w==None : 129 node_vel = chrono.ChVectorD(state_w[0], state_w[1], state_w[2])
|
/dports/science/chrono/chrono-7.0.1/src/chrono/physics/ |
H A D | ChLoaderUV.h | 37 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F 58 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q in ComputeQ() argument 80 this->ComputeF(Ulroots[iu], Vlroots[iv], mF, state_x, state_w); in ComputeQ() 82 loadable->ComputeNF(Ulroots[iu], Vlroots[iv], mNF, detJ, mF, state_x, state_w); in ComputeQ() 101 this->ComputeF(Ulroots[i], Vlroots[i], mF, state_x, state_w); in ComputeQ() 103 loadable->ComputeNF(Ulroots[i], Vlroots[i], mNF, detJ, mF, state_x, state_w); in ComputeQ() 125 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q in ComputeQ() argument 132 this->ComputeF(Pu, Pv, mF, state_x, state_w); in ComputeQ() 136 loadable->ComputeNF(Pu, Pv, Q, detJ, mF, state_x, state_w); in ComputeQ() 164 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F in ComputeF() argument [all …]
|
H A D | ChShaftsLoads.cpp | 30 void ChShaftsLoad::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 45 if (state_w) { in ComputeQ() 47 mrotA_dt = (*state_w)(0); in ComputeQ() 48 mrotB_dt = (*state_w)(1); in ComputeQ() 111 void ChShaftsElasticGear::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 126 if (state_w) { in ComputeQ() 128 mrotA_dt = (*state_w)(0); in ComputeQ() 129 mrotB_dt = (*state_w)(1); in ComputeQ()
|
H A D | ChLoad.h | 90 ChStateDelta* state_w ///< state speed to evaluate Q 96 ChStateDelta* state_w, ///< state speed to evaluate jacobians 171 ChStateDelta* state_w ///< state speed to evaluate Q 331 inline void ChLoad<Tloader>::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 332 this->loader.ComputeQ(state_x, state_w); in ComputeQ() 337 ChStateDelta* state_w, in ComputeJacobian() argument 348 this->loader.ComputeQ(state_x, state_w); // Q0 = Q(x, v) in ComputeJacobian() 363 this->loader.ComputeQ(&state_x_inc, state_w); // Q1 = Q(x+Dx, v) in ComputeJacobian() 372 (*state_w)(i) += Delta; in ComputeJacobian() 373 this->loader.ComputeQ(state_x, state_w); // Q1 = Q(x, v+Dv) in ComputeJacobian() [all …]
|
H A D | ChLoaderU.h | 36 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F 56 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q in ComputeQ() argument 73 this->ComputeF(Ulroots[iu], mF, state_x, state_w); in ComputeQ() 75 loadable->ComputeNF(Ulroots[iu], mNF, detJ, mF, state_x, state_w); in ComputeQ() 94 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q in ComputeQ() argument 101 this->ComputeF(Pu, mF, state_x, state_w); in ComputeQ() 105 loadable->ComputeNF(Pu, Q, detJ, mF, state_x, state_w); in ComputeQ()
|
H A D | ChLoaderUVW.h | 38 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F 60 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q in ComputeQ() argument 80 this->ComputeF(Ulroots[i], Vlroots[i], Wlroots[i], mF, state_x, state_w); in ComputeQ() 82 … loadable->ComputeNF(Ulroots[i], Vlroots[i], Wlroots[i], mNF, detJ, mF, state_x, state_w); in ComputeQ() 107 this->ComputeF(Ulroots[i], Vlroots[i], Vlroots[iw], mF, state_x, state_w); in ComputeQ() 109 loadable->ComputeNF(Ulroots[i], Vlroots[i], Vlroots[iw], mNF, detJ, mF, state_x, state_w); in ComputeQ() 136 this->ComputeF(Ulroots[iu], Vlroots[iv], Wlroots[iw], mF, state_x, state_w); in ComputeQ() 139 state_w); in ComputeQ() 165 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q in ComputeQ() argument 172 this->ComputeF(Pu, Pv, Pw, mF, state_x, state_w); in ComputeQ() [all …]
|
H A D | ChLinkTSDA.cpp | 112 bframe1.SetPos_dt(state_w.segment(0, 3)); in ComputeQ() 113 bframe1.SetWvel_loc(state_w.segment(3, 3)); in ComputeQ() 117 bframe2.SetPos_dt(state_w.segment(6, 3)); in ComputeQ() 118 bframe2.SetWvel_loc(state_w.segment(9, 3)); in ComputeQ() 122 m_states = state_w.segment(12, m_nstates); in ComputeQ() 204 ComputeQ(time, state_x_perturbed, state_w, Qforce1); in ComputeJacobians() 250 ChStateDelta state_w(12 + m_nstates, nullptr); in Update() local 260 state_w.segment(12, m_nstates) = m_states; in Update() 264 ComputeQ(time, state_x, state_w, m_Qforce); in Update() 271 ComputeJacobians(time, state_x, state_w); in Update() [all …]
|
H A D | ChLoadsXYZnode.cpp | 29 void ChLoadXYZnodeForce::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 43 if (state_w) { in ComputeQ() 45 nodeApos_dt = ChVector<>(state_w->segment(0, 3)); in ComputeQ() 128 if (state_w) { in ComputeQ() 130 nodeApos_dt = state_w->segment(0, 3); in ComputeQ() 131 nodeBpos_dt = state_w->segment(3, 3); in ComputeQ() 214 void ChLoadXYZnodeBody::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 228 if (state_w) { in ComputeQ() 230 bodycoordA.SetPos_dt(state_w->segment(0, 3)); in ComputeQ() 231 bodycoordB.SetPos_dt(state_w->segment(3, 3)); in ComputeQ() [all …]
|
H A D | ChLoad.cpp | 92 ChStateDelta* state_w, // state speed to evaluate jacobians in ComputeJacobian() argument 104 ComputeQ(state_x, state_w); // Q0 = Q(x, v) in ComputeJacobian() 119 ComputeQ(&state_x_inc, state_w); // Q1 = Q(x+Dx, v) in ComputeJacobian() 128 (*state_w)(i) += Delta; in ComputeJacobian() 129 ComputeQ(state_x, state_w); // Q1 = Q(x, v+Dv) in ComputeJacobian() 131 (*state_w)(i) -= Delta; in ComputeJacobian() 242 ComputeQ(state_x, state_w); // Q0 = Q(x, v) in ComputeJacobian() 257 ComputeQ(&state_x_inc, state_w); // Q1 = Q(x+Dx, v) in ComputeJacobian() 266 (*state_w)(i) += Delta; in ComputeJacobian() 267 ComputeQ(state_x, state_w); // Q1 = Q(x, v+Dv) in ComputeJacobian() [all …]
|
H A D | ChLoadsBody.cpp | 37 void ChLoadBodyForce::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 67 … mbody->ComputeNF(abs_point.x(), abs_point.y(), abs_point.z(), load_Q, detJ, mF, state_x, state_w); in ComputeQ() 102 void ChLoadBodyTorque::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 126 mbody->ComputeNF(0, 0, 0, load_Q, detJ, mF, state_x, state_w); in ComputeQ() 159 void ChLoadBodyBody::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 173 if (state_w) { in ComputeQ() 175 bodycoordA.SetPos_dt(state_w->segment(0, 3)); in ComputeQ() 176 bodycoordA.SetWvel_loc(state_w->segment(3, 3)); in ComputeQ() 177 bodycoordB.SetPos_dt(state_w->segment(6, 3)); in ComputeQ() 178 bodycoordB.SetWvel_loc(state_w->segment(9, 3)); in ComputeQ()
|
H A D | ChLoadable.h | 94 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q 129 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q 158 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate Q
|
H A D | ChLoadBodyMesh.cpp | 118 ChStateDelta* state_w // state speed to evaluate Q in ComputeQ() argument 121 forces[i]->ComputeQ(state_x, state_w); in ComputeQ() 126 ChStateDelta* state_w, // state speed to evaluate jacobians in ComputeJacobian() argument 132 forces[i]->ComputeJacobian(state_x, state_w, mK, mR, mM); in ComputeJacobian()
|
/dports/science/chrono/chrono-7.0.1/src/demos/fea/ |
H A D | demo_FEA_loads_statics.cpp | 149 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F in test_1() argument 190 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F in test_1() argument 196 node_vel = state_w->segment(0, 3); in test_1() 251 ChStateDelta* state_w ///< state speed to evaluate Q in test_1() argument 255 if (state_x && state_w) { in test_1() 257 node_vel = state_w->segment(0, 3); in test_1() 282 ChStateDelta* state_w, ///< state speed to evaluate jacobians in test_1() argument 331 ChStateDelta* state_w ///< state speed to evaluate Q in test_1() argument 337 if (state_x && state_w) { in test_1() 339 Enode_vel = state_w->segment(0, 3); in test_1() [all …]
|
H A D | demo_FEA_loads_dynamics.cpp | 187 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F in main() argument 231 … ChVectorDynamic<>* state_w ///< if != 0, update state (speed part) to this, then evaluate F in main() argument 237 node_vel = state_w->segment(0, 3); in main() 295 ChStateDelta* state_w ///< state speed to evaluate Q in main() argument 299 if (state_x && state_w) { in main() 301 node_vel = state_w->segment(0, 3); in main() 326 ChStateDelta* state_w, ///< state speed to evaluate jacobians in main() argument 378 ChStateDelta* state_w ///< state speed to evaluate Q in main() argument 384 if (state_x && state_w) { in main() 386 Enode_vel = state_w->segment(0, 3); in main() [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono/fea/ |
H A D | ChLoadsXYZROTnode.cpp | 43 if (state_w) { in ComputeQ() 45 bodycoordA.SetPos_dt(state_w->segment(0, 3)); in ComputeQ() 46 bodycoordA.SetWvel_loc(state_w->segment(3, 3)); in ComputeQ() 121 if (state_w) { in ComputeQ() 123 bodycoordA.SetPos_dt(state_w->segment(0, 3)); in ComputeQ() 124 bodycoordA.SetWvel_loc(state_w->segment(3, 3)); in ComputeQ() 125 bodycoordB.SetPos_dt(state_w->segment(6, 3)); in ComputeQ() 126 bodycoordB.SetWvel_loc(state_w->segment(9, 3)); in ComputeQ() 344 if (state_w) { in ComputeQ() 346 bodycoordA.SetPos_dt(state_w->segment(0, 3)); in ComputeQ() [all …]
|
H A D | ChElementBeamIGA.cpp | 221 ChStateDelta state_w(this->LoadableGet_ndof_w(), nullptr); in ComputeKRMmatricesGlobal() local 223 this->LoadableGetStateBlock_w(0, state_w); in ComputeKRMmatricesGlobal() 230 this->ComputeInternalForces_impl(Q0, state_x, state_w, true); // Q0 = Q(x, v) in ComputeKRMmatricesGlobal() 269 state_w_inc = state_w; in ComputeKRMmatricesGlobal() 447 ChStateDelta& state_w, in ComputeInternalForces_impl() argument 520 ChVector<> drdt_i(state_w.segment(i * 6, 3)); in ComputeInternalForces_impl() 542 ChVector<> wl_i(state_w.segment(i * 6 + 3, 3)); // w in node csys in ComputeInternalForces_impl() 673 ChVector<> wl_i(state_w.segment(i * 6 + 3, 3)); // w in node csys in ComputeInternalForces_impl() 718 ChVectorDynamic<>* state_w) { in ComputeNF() argument 766 ChVectorDynamic<>* state_w) { in ComputeNF() argument [all …]
|
H A D | ChContactSurfaceNodeCloud.h | 92 const ChStateDelta& state_w) override { in GetContactPointSpeed() argument 93 return state_w.segment(0, 3); in GetContactPointSpeed() 229 const ChStateDelta& state_w) override { in GetContactPointSpeed() argument 230 return state_w.segment(0, 3); in GetContactPointSpeed()
|
H A D | ChLoadContactSurfaceMesh.cpp | 151 void ChLoadContactSurfaceMesh::ComputeQ(ChState* state_x, ChStateDelta* state_w) { in ComputeQ() argument 153 forces[i]->ComputeQ(state_x, state_w); in ComputeQ() 158 ChStateDelta* state_w, in ComputeJacobian() argument 163 forces[i]->ComputeJacobian(state_x, state_w, mK, mR, mM); in ComputeJacobian()
|
/dports/emulators/mess/mame-mame0226/src/devices/bus/interpro/mouse/ |
H A D | mouse.cpp | 93 state_w(data & MOUSE_BUTTONS, MOUSE_BUTTONS); in INPUT_CHANGED_MEMBER() 107 state_w((delta << 8) & MOUSE_XPOS, MOUSE_XPOS); in INPUT_CHANGED_MEMBER() 121 state_w((delta << 0) & MOUSE_YPOS, MOUSE_YPOS); in INPUT_CHANGED_MEMBER()
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/interpro/mouse/ |
H A D | mouse.cpp | 93 state_w(data & MOUSE_BUTTONS, MOUSE_BUTTONS); in INPUT_CHANGED_MEMBER() 107 state_w((delta << 8) & MOUSE_XPOS, MOUSE_XPOS); in INPUT_CHANGED_MEMBER() 121 state_w((delta << 0) & MOUSE_YPOS, MOUSE_YPOS); in INPUT_CHANGED_MEMBER()
|