/dports/science/qmcpack/qmcpack-3.11.0/src/Utilities/tests/for_testing/ |
H A D | test_checkMatrix.cpp | 34 b_mat(0, 0) = 2.3; 35 b_mat(0, 1) = 4.5; 36 b_mat(0, 2) = 2.6; 37 b_mat(1, 0) = 0.5; 38 b_mat(1, 1) = 8.5; 39 b_mat(1, 2) = 3.3; 40 b_mat(2, 0) = 1.8; 41 b_mat(2, 1) = 4.4; 42 b_mat(2, 2) = 4.9; 49 b_mat(0, 0) = 2.3; [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/Utilities/for_testing/ |
H A D | checkMatrix.hpp | 66 const Matrix<T2, ALLOC2>& b_mat, in checkMatrix() argument 70 if (a_mat.rows() > b_mat.rows() || a_mat.cols() > b_mat.cols()) in checkMatrix() 73 auto matrixElementError = [&error_msg](int i, int j, auto& a_mat, auto& b_mat) { in checkMatrix() argument 75 << " != " << b_mat(i, j) << '\n'; in checkMatrix() 81 bool approx_equality = approxEquality<T1>(a_mat(i, j), b_mat(i, j)); in checkMatrix() 84 matrixElementError(i, j, a_mat, b_mat); in checkMatrix()
|
/dports/math/clblast/CLBlast-1.1.0/test/routines/levelx/ |
H A D | xinvert.hpp | 57 buffers_host.b_mat[i * b_ld + i + b_offset] = a_value; in RunReference() 70 sum += a_value * buffers_host.b_mat[j * b_ld + k + b_offset]; in RunReference() 72 … buffers_host.b_mat[j * b_ld + i + b_offset] = - sum * buffers_host.b_mat[i * b_ld + i + b_offset]; in RunReference() 87 sum += a_value * buffers_host.b_mat[j * b_ld + k + b_offset]; in RunReference() 89 … buffers_host.b_mat[j * b_ld + i + b_offset] = - sum * buffers_host.b_mat[i * b_ld + i + b_offset]; in RunReference() 101 auto b_buffer2 = HalfToFloatBuffer(buffers_host.b_mat); in RunReference() 110 FloatToHalfBuffer(buffers_host.b_mat, b_buffer2); in RunReference() 172 buffers.b_mat); in RunRoutine() 199 buffers.b_mat.Read(queue, args.b_size, result); in DownloadResult()
|
H A D | xomatcopy.hpp | 37 …if (buffers_host.b_mat.size() * sizeof(T) < (b_base + args.b_offset) * sizeof(T)) { return StatusC… in RunReference() 48 buffers_host.b_mat[b_index] = args.alpha * buffers_host.a_mat[a_index]; in RunReference() 58 auto b_buffer2 = HalfToFloatBuffer(buffers_host.b_mat); in RunReference() 68 FloatToHalfBuffer(buffers_host.b_mat, b_buffer2); in RunReference() 134 buffers.b_mat(), args.b_offset, args.b_ld, in RunRoutine() 160 buffers.b_mat.Read(queue, args.b_size, result); in DownloadResult()
|
H A D | xim2col.hpp | 95 buffers.b_mat(), args.b_offset, in RunRoutine() 121 buffers.b_mat.Read(queue, args.b_size, result); in DownloadResult() 170 buffers_host.b_mat[output_index + args.b_offset] = val; in RunReference()
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/ |
H A D | mode_selective.F | 221 DEALLOCATE (ms_vib%b_mat) 639 DEALLOCATE (ms_vib%b_mat) 865 tmp_b(:, :) = ms_vib%b_mat 868 DEALLOCATE (ms_vib%b_mat) 1084 …esiduum(:, j) = residuum(:, j) - DOT_PRODUCT(residuum(:, j), ms_vib%b_mat(:, i))*ms_vib%b_mat(:, i) 1102 …esiduum(:, j) = residuum(:, j) - DOT_PRODUCT(residuum(:, j), ms_vib%b_mat(:, i))*ms_vib%b_mat(:, i) 1175 DO i = 1, SIZE(ms_vib%b_mat, 2) 1177 DO j = 1, SIZE(ms_vib%b_mat, 2) 1181 … residuum(:) = residuum(:) - DOT_PRODUCT(residuum(:), ms_vib%b_mat(:, j))*ms_vib%b_mat(:, j) 1280 ms_vib%mat_size = SIZE(ms_vib%b_mat, 2) [all …]
|
H A D | qs_scf_lanczos.F | 207 NULLIFY (a_mat, b_mat, b2_mat, v_mat) 313 NULLIFY (a_mat, b_mat, b2_mat, t_mat, t_vec, v_mat) 346 b_mat => krylov_space%block2_mat 357 CALL cp_fm_set_all(b_mat, rzero) 379 CALL cp_fm_set_all(b_mat, rzero) 405 CALL cp_fm_transpose(b_mat, a_mat) 462 CALL cp_fm_release(b_mat) 549 NULLIFY (b_mat, v_mat) 698 CALL cp_fm_set_all(b_mat, rzero) 737 CALL cp_fm_set_all(b_mat, rzero) [all …]
|
/dports/science/cp2k-data/cp2k-7.1.0/src/ |
H A D | mode_selective.F | 222 DEALLOCATE (ms_vib%b_mat) 640 DEALLOCATE (ms_vib%b_mat) 866 tmp_b(:, :) = ms_vib%b_mat 869 DEALLOCATE (ms_vib%b_mat) 1085 …esiduum(:, j) = residuum(:, j) - DOT_PRODUCT(residuum(:, j), ms_vib%b_mat(:, i))*ms_vib%b_mat(:, i) 1103 …esiduum(:, j) = residuum(:, j) - DOT_PRODUCT(residuum(:, j), ms_vib%b_mat(:, i))*ms_vib%b_mat(:, i) 1176 DO i = 1, SIZE(ms_vib%b_mat, 2) 1178 DO j = 1, SIZE(ms_vib%b_mat, 2) 1182 … residuum(:) = residuum(:) - DOT_PRODUCT(residuum(:), ms_vib%b_mat(:, j))*ms_vib%b_mat(:, j) 1281 ms_vib%mat_size = SIZE(ms_vib%b_mat, 2) [all …]
|
H A D | qs_scf_lanczos.F | 207 NULLIFY (a_mat, b_mat, b2_mat, v_mat) 313 NULLIFY (a_mat, b_mat, b2_mat, t_mat, t_vec, v_mat) 346 b_mat => krylov_space%block2_mat 357 CALL cp_fm_set_all(b_mat, rzero) 379 CALL cp_fm_set_all(b_mat, rzero) 405 CALL cp_fm_transpose(b_mat, a_mat) 462 CALL cp_fm_release(b_mat) 549 NULLIFY (b_mat, v_mat) 698 CALL cp_fm_set_all(b_mat, rzero) 737 CALL cp_fm_set_all(b_mat, rzero) [all …]
|
/dports/science/chrono/chrono-7.0.1/src/demos/irrlicht/ |
H A D | demo_IRR_custom_contact.cpp | 132 auto b_mat = chrono_types::make_shared<ChMaterialSurfaceNSC>(); in main() local 133 b_mat->SetRestitution(0.9f); in main() 134 b_mat->SetFriction(0.5f); in main() 140 ball_mat = b_mat; in main() 151 auto b_mat = chrono_types::make_shared<ChMaterialSurfaceSMC>(); in main() local 152 b_mat->SetRestitution(0.9f); in main() 153 b_mat->SetFriction(0.5f); in main() 159 ball_mat = b_mat; in main()
|
/dports/science/chrono/chrono-7.0.1/src/demos/multicore/ |
H A D | demo_MCORE_custom_contact.cpp | 132 auto b_mat = chrono_types::make_shared<ChMaterialSurfaceNSC>(); in main() local 133 b_mat->SetRestitution(0.9f); in main() 134 b_mat->SetFriction(0.5f); in main() 140 ball_mat = b_mat; in main() 154 auto b_mat = chrono_types::make_shared<ChMaterialSurfaceSMC>(); in main() local 155 b_mat->SetRestitution(0.9f); in main() 156 b_mat->SetFriction(0.5f); in main() 162 ball_mat = b_mat; in main()
|
/dports/science/chrono/chrono-7.0.1/src/demos/python/irrlicht/ |
H A D | demo_IRR_custom_contact.py | 110 b_mat = chrono.ChMaterialSurfaceNSC() variable 111 b_mat.SetRestitution(0.9) 112 b_mat.SetFriction(0.5) 118 ball_mat = b_mat 130 b_mat = chrono.ChMaterialSurfaceSMC() variable 131 b_mat.SetRestitution(0.9) 132 b_mat.SetFriction(0.5) 138 ball_mat = b_mat
|
/dports/math/clblast/CLBlast-1.1.0/test/ |
H A D | wrapper_cuda.hpp | 109 T* b_mat = nullptr; member 122 … kBufMatB) { buffers_host.b_mat = std::vector<T>(args.b_size, static_cast<T>(0)); CUDAToHost(&buff… in CUDAToHost() 137 else if (name == kBufMatB) { HostToCUDA(&buffers.b_mat, buffers_host.b_mat, args.b_size); } in HostToCUDA()
|
H A D | test_utilities.cpp | 39 …atB) { buffers_host.b_mat = std::vector<T>(args.b_size, static_cast<T>(0)); buffers.b_mat.Read(que… in DeviceToHost() 54 else if (name == kBufMatB) { buffers.b_mat.Write(queue, args.b_size, buffers_host.b_mat); } in HostToDevice()
|
H A D | test_utilities.hpp | 50 Buffer<T> b_mat; member 60 std::vector<T> b_mat; member
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/Mesh_3/ |
H A D | Volume_plane_intersection.cpp | 129 QMatrix4x4 b_mat, c_mat; in draw() local 132 b_mat.data()[i] = (float)mat[i]; in draw() 139 getEdgeContainer(0)->setFrameMatrix(b_mat*c_mat); in draw() 175 QMatrix4x4 a_mat, b_mat; in draw() local 183 b_mat.data()[i] = (float)mat[i]; in draw() 185 getEdgeContainer(2)->setFrameMatrix(a_mat*b_mat); in draw()
|
/dports/math/clblast/CLBlast-1.1.0/test/routines/level3/ |
H A D | xtrmm.hpp | 82 buffers.b_mat(), args.b_offset, args.b_ld, in RunRoutine() 100 buffers.b_mat, args.b_offset, args.b_ld, in RunReference1() 117 buffers_host.b_mat, args.b_offset, args.b_ld); in RunReference2() 132 buffers.b_mat, args.b_offset, args.b_ld); in RunReference3() 140 buffers.b_mat.Read(queue, args.b_size, result); in DownloadResult()
|
H A D | xtrsm.hpp | 93 buffers.b_mat(), args.b_offset, args.b_ld, in RunRoutine() 111 buffers.b_mat, args.b_offset, args.b_ld, in RunReference1() 128 buffers_host.b_mat, args.b_offset, args.b_ld); in RunReference2() 143 buffers.b_mat, args.b_offset, args.b_ld); in RunReference3() 151 buffers.b_mat.Read(queue, args.b_size, result); in DownloadResult()
|
H A D | xsyr2k.hpp | 89 buffers.b_mat(), args.b_offset, args.b_ld, args.beta, in RunRoutine() 106 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference1() 122 buffers_host.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference2() 136 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference3()
|
H A D | xgemm.hpp | 91 buffers.b_mat(), args.b_offset, args.b_ld, args.beta, in RunRoutine() 108 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference1() 124 buffers_host.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference2() 138 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference3()
|
H A D | xhemm.hpp | 91 buffers.b_mat(), args.b_offset, args.b_ld, args.beta, in RunRoutine() 108 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference1() 124 buffers_host.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference2() 138 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference3()
|
H A D | xher2k.hpp | 90 buffers.b_mat(), args.b_offset, args.b_ld, args.beta, in RunRoutine() 108 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference1() 125 buffers_host.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference2() 140 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference3()
|
H A D | xsymm.hpp | 91 buffers.b_mat(), args.b_offset, args.b_ld, args.beta, in RunRoutine() 108 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference1() 124 buffers_host.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference2() 138 buffers.b_mat, args.b_offset, args.b_ld, args.beta, in RunReference3()
|
/dports/science/drawxtl/DRAWxtl/source/DRAWxtl55/ |
H A D | DRAWxtl1.cxx | 2602 drvui->b_mat[0][2]); in get_input() 2748 b_mat[0][0] = 1.0f; in make_bmat() 2760 b_mat[0][1] = csga; in make_bmat() 2761 b_mat[1][1] = snga; in make_bmat() 2762 b_mat[0][2] = csbe; in make_bmat() 2764 b_mat[2][2] = (float) sqrt (1.0 - b_mat[0][2] * b_mat[0][2] - in make_bmat() 2765 b_mat[1][2] * b_mat[1][2]); in make_bmat() 2770 vol = (float) (b_mat[0][0] * (b_mat[1][1] * b_mat[2][2] - b_mat[1][2] * b_mat[2][1]) in make_bmat() 2771 - b_mat[0][1] * (b_mat[1][0] * b_mat[2][2] - b_mat[1][2] * b_mat[2][0]) in make_bmat() 2772 + b_mat[0][2] * (b_mat[1][0] * b_mat[2][1] - in make_bmat() [all …]
|
H A D | DRAWxtl3.cxx | 2651 (drvui->b_mat[1][1] * drvui->b_mat[2][2] - in calc_simplevoids() 2652 drvui->b_mat[1][2] * drvui->b_mat[2][1]) in calc_simplevoids() 2653 - drvui->b_mat[0][1] * (drvui->b_mat[1][0] * drvui->b_mat[2][2] - in calc_simplevoids() 2654 drvui->b_mat[1][2] * drvui->b_mat[2][0]) in calc_simplevoids() 2655 + drvui->b_mat[0][2] * (drvui->b_mat[1][0] * drvui->b_mat[2][1] - in calc_simplevoids() 2656 drvui->b_mat[1][1] * drvui->b_mat[2][0])); in calc_simplevoids() 3559 (drvui->b_mat[1][1] * drvui->b_mat[2][2] - in calculate_sas() 3560 drvui->b_mat[1][2] * drvui->b_mat[2][1]) in calculate_sas() 3561 - drvui->b_mat[0][1] * (drvui->b_mat[1][0] * drvui->b_mat[2][2] - in calculate_sas() 3562 drvui->b_mat[1][2] * drvui->b_mat[2][0]) in calculate_sas() [all …]
|