/dports/science/chrono/chrono-7.0.1/src/demos/irrlicht/ |
H A D | demo_IRR_friction.cpp | 121 auto bin_mat = chrono_types::make_shared<ChMaterialSurfaceNSC>(); in main() local 122 bin_mat->SetRollingFriction(1); in main() 123 bin_mat->SetSpinningFriction(1); in main() 127 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(20, 1, 20) / 2.0, ChVector<>(0, 0, 0)); in main() 128 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(-10, 1, 0)); in main() 129 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(10, 1, 0)); in main() 130 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 1, -10)); in main() 131 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 1, 10)); in main()
|
/dports/science/chrono/chrono-7.0.1/src/demos/multicore/ |
H A D | demo_MCORE_friction.cpp | 82 auto bin_mat = chrono_types::make_shared<ChMaterialSurfaceNSC>(); in main() local 83 bin_mat->SetFriction(0.6f); in main() 84 bin_mat->SetRollingFriction(1); in main() 85 bin_mat->SetSpinningFriction(1); in main() 88 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(20, 1, 20) / 2.0, ChVector<>(0, -1, 0)); in main() 89 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(-10, 0, … in main() 90 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(10, 0, 0… in main() 91 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 0, -1… in main() 92 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 0, 10… in main()
|
/dports/science/chrono/chrono-7.0.1/src/demos/python/irrlicht/ |
H A D | demo_IRR_friction.py | 96 bin_mat = chrono.ChMaterialSurfaceNSC() variable 97 bin_mat.SetRollingFriction(1) 98 bin_mat.SetSpinningFriction(1) 102 bin.GetCollisionModel().AddBox(bin_mat, 20. / 2., 1. / 2., 20. / 2., chrono.ChVectorD(0, 0, 0)) 103 bin.GetCollisionModel().AddBox(bin_mat, 1. / 2., 2. / 2., 20.99/2., chrono.ChVectorD(-10, 1, 0)) 104 bin.GetCollisionModel().AddBox(bin_mat, 1. / 2., 2. / 2., 20.99/2., chrono.ChVectorD( 10, 1, 0)) 105 bin.GetCollisionModel().AddBox(bin_mat, 20.99/2., 2. / 2., 1. / 2., chrono.ChVectorD(0, 1, -10)) 106 bin.GetCollisionModel().AddBox(bin_mat, 20.99/2., 2. / 2., 1. / 2., chrono.ChVectorD(0, 1, 10))
|
/dports/math/octave-forge-communications/communications-1.2.3/doc/ |
H A D | comms.txi | 634 octave:3> bin_mat = reshape (bin_vec, k, 10)'; # Binary matrix format 635 octave:4> dec_vec = bi2de (bin_mat); # Decimal vector format
|
H A D | comms.info | 526 octave:3> bin_mat = reshape (bin_vec, k, 10)'; # Binary matrix format 527 octave:4> dec_vec = bi2de (bin_mat); # Decimal vector format
|
H A D | comms.texi | 634 octave:3> bin_mat = reshape (bin_vec, k, 10)'; # Binary matrix format 635 octave:4> dec_vec = bi2de (bin_mat); # Decimal vector format
|