| /libCEED/ |
| H A D | coverage.info | 3 FNL:0,19,197 4 FNA:0,192,CeedOperatorSetupFields_Blocked 18 FNA:7,0,CeedOperatorLinearAssembleQFunctionCore_Blocked 20 FNA:8,0,CeedOperatorLinearAssembleQFunction_Blocked 22 FNA:9,0,CeedOperatorLinearAssembleQFunctionUpdate_Blocked 57 DA:75,0 58 DA:76,0 59 DA:77,0 60 DA:79,0 61 DA:80,0 [all …]
|
| /libCEED/tests/ |
| H A D | t319-basis.h | 13 …{0.62200846792814612, 0, 0.16666666666666669, 0, 0.16666666666666669, 0, 0.044658198738520463, … 14 …{0.16666666666666669, 0, 0.62200846792814612, 0, 0.044658198738520463, 0, 0.16666666666666669, … 15 …{0.16666666666666669, 0, 0.044658198738520463, 0, 0.62200846792814612, 0, 0.16666666666666669, … 16 …{0.044658198738520463, 0, 0.16666666666666669, 0, 0.16666666666666669, 0, 0.62200846792814612, … 27 …{{-0.39433756729740643, 0, 0.39433756729740643, 0, -0.10566243270259357, 0, 0.10566243270259357, 0… 28 …{-0.39433756729740643, 0, 0.39433756729740643, 0, -0.10566243270259357, 0, 0.10566243270259357, 0}, 29 …{-0.10566243270259357, 0, 0.10566243270259357, 0, -0.39433756729740643, 0, 0.39433756729740643, 0}, 30 …{-0.10566243270259357, 0, 0.10566243270259357, 0, -0.39433756729740643, 0, 0.39433756729740643, 0}… 31 …{{-0.39433756729740643, 0, -0.10566243270259357, 0, 0.39433756729740643, 0, 0.10566243270259357, 0… 32 …{-0.10566243270259357, 0, -0.39433756729740643, 0, 0.10566243270259357, 0, 0.39433756729740643, 0}, [all …]
|
| H A D | t218-elemrestriction.c | 19 for (CeedInt i = 0; i < 3 * num_elem + 1; i++) x_array[i] = 10 + i; in main() 24 for (CeedInt i = 0; i < num_elem; i++) { in main() 25 ind[4 * i + 0] = 3 * i + 0; in main() 29 if (i % 2 > 0) { in main() 30 // T = [ 1 0 0 0] in main() 31 // [ 0 1 0 0] in main() 32 // [ 0 0 0 -1] in main() 33 // [ 0 0 -1 0] in main() 34 curl_orients[3 * 4 * i + 0] = 0; in main() 36 curl_orients[3 * 4 * i + 2] = 0; in main() [all …]
|
| /libCEED/doc/img/ |
| H A D | libceed_schematic_op_setup_mass.svg | 7 viewBox="0 0 197.63849 172.01053" 13 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 24 inkscape:pagecheckerboard="0" 34 inkscape:window-maximized="0" 91 offset="0" 122 offset="0" 125 style="stop-color:#ff7e79;stop-opacity:0;" 133 d="M 0,0 H 1920 V 1080 H 0 Z" 140 d="m 0,472.0757 h 425.9606 v 53.4749 H 0 Z" 147 d="M 0,0 H 1920 V 1080 H 0 Z" [all …]
|
| H A D | libceed_schematic.svg | 7 viewBox="0 0 196.3924 104.30437" 19 offset="0" 22 style="stop-color:#ff7e79;stop-opacity:0;" 30 d="M 0,0 H 1920 V 1080 H 0 Z" 37 d="m 0,472.0757 h 425.9606 v 53.4749 H 0 Z" 44 d="M 0,0 H 1920 V 1080 H 0 Z" 58 d="M 0,0 H 1920 V 1080 H 0 Z" 72 d="M 0,0 H 1920 V 1080 H 0 Z" 86 d="M 0,0 H 1920 V 1080 H 0 Z" 100 d="M 0,0 H 1920 V 1080 H 0 Z" [all …]
|
| H A D | libCEEDBackends.svg | 9 viewBox="0 0 450.62799 333.42267" 15 x1="0" 16 y1="0" 17 x2="0" 23 offset="0" 46 d="M 0,68.03218 V 90.7097 H 45.35506 V 68.03218 Z" 47 transform="matrix(1.3333333,0,0,-1.3333333,4.3786667,219.77067)" 51 x1="0" 52 y1="0" 53 x2="0" [all …]
|
| H A D | SphereSketch.svg | 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 13 viewBox="0 0 195.59056 204.09449" 37 inkscape:pageopacity="0" 48 inkscape:window-y="0" 49 inkscape:window-maximized="0" 57 id="glyph0-0" 63 inkscape:connector-curvature="0" /> 71 …0,0.21875 0.15625,0.46875 0.484375,0.46875 0.359375,0 0.71875,-0.296875 0.71875,-0.78125 C 6.01562… 73 inkscape:connector-curvature="0" /> 81 …0 0.203125,-0.25 0.203125,-0.28125 0,-0.0625 -0.046875,-0.1875 -0.203125,-0.1875 -0.34375,0 -0.718… [all …]
|
| H A D | libCEED-decomposition.svg | 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 11 viewBox="0 0 1257.339 579.76203" 25 inkscape:pageopacity="0" 34 inkscape:window-x="0" 35 inkscape:window-y="0" 46 d="M 0,0 H 960 V 540 H 0 Z" /></clipPath><clipPath 56 d="M 0,0 H 960 V 540 H 0 Z" /></clipPath><mask 60 y="0" 61 x="0" 64 …0v6OywQvvSoVj3P2+Zasd5FGua/12kAvk3Ka9tL3zhnLJvXDj342wkGTMgjkDc1kxVKwGru/SI+J/kV+O/H/QrhlAnxOKk4+1k… [all …]
|
| /libCEED/examples/python/img/ |
| H A D | QFunctionSketch.svg | 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 13 viewBox="0 0 401.854 231.698" 37 inkscape:pageopacity="0" 49 inkscape:window-maximized="0" 57 id="glyph0-0" 63 inkscape:connector-curvature="0" /> 71 …0,-0.03125 -0.015625,-0.109375 -0.109375,-0.109375 -0.03125,0 -0.046875,0.015625 -0.15625,0.125 L … 73 inkscape:connector-curvature="0" /> 81 …0 -0.265625,0 -0.265625,0.203125 C 0.421875,0 0.515625,0 0.6875,0 H 4.25 C 5.828125,0 7,-1.171875 … 83 inkscape:connector-curvature="0" /> [all …]
|
| /libCEED/backends/magma/tuning/ |
| H A D | mi250x.h | 6 {3, 512, 1, 128, 0}, 13 {3, 4096, 1, 2048, 0}, 44 {4, 512, 1, 128, 0}, 127 {10, 4096, 4, 4096, 0}, 128 {10, 4608, 4, 64, 0}, 132 {10, 6656, 4, 32, 0}, 135 {10, 8192, 4, 32, 0}, 138 {10, 9728, 4, 32, 0}, 173 {10, 8192, 6, 32, 0}, 174 {10, 8704, 6, 32, 0}, [all …]
|
| H A D | mi100.h | 6 {3, 512, 1, 32, 0}, 7 {3, 1024, 1, 512, 0}, 8 {3, 1536, 1, 256, 0}, 9 {3, 2048, 1, 512, 0}, 10 {3, 2560, 1, 512, 0}, 11 {3, 3072, 1, 512, 0}, 13 {3, 4096, 1, 512, 0}, 14 {3, 4608, 1, 512, 0}, 17 {3, 6144, 1, 512, 0}, 24 {3, 9728, 1, 512, 0}, [all …]
|
| H A D | a100.h | 6 {3, 512, 1, 256, 0}, 7 {3, 1024, 1, 32, 0}, 8 {3, 1536, 1, 32, 0}, 9 {3, 2048, 1, 2048, 0}, 10 {3, 2560, 1, 256, 0}, 11 {3, 3072, 1, 32, 0}, 12 {3, 3584, 1, 32, 0}, 13 {3, 4096, 1, 512, 0}, 14 {3, 4608, 1, 512, 0}, 15 {3, 5120, 1, 64, 0}, [all …]
|
| /libCEED/examples/python/qfunctions/ |
| H A D | ex3-volume.h | 14 // in[0] is Jacobians with shape [dim, dim, Q] in build_mass_diff() 17 CeedScalar(*q_data)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in build_mass_diff() 24 const CeedScalar(*J)[1][CEED_Q_VLA] = (const CeedScalar(*)[1][CEED_Q_VLA])in[0]; in build_mass_diff() 26 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in build_mass_diff() 28 q_data[0][i] = w[i] * J[0][0][i]; in build_mass_diff() 31 q_data[1][i] = w[i] / J[0][0][i]; in build_mass_diff() 35 const CeedScalar(*J)[2][CEED_Q_VLA] = (const CeedScalar(*)[2][CEED_Q_VLA])in[0]; in build_mass_diff() 37 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in build_mass_diff() 38 // J: 0 2 q_data: 0 2 adj(J): J22 -J12 in build_mass_diff() 40 const CeedScalar J00 = J[0][0][i]; in build_mass_diff() [all …]
|
| H A D | ex2-surface.h | 14 // in[0] is Jacobians with shape [dim, dim, Q] in build_diff() 17 CeedScalar(*q_data)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in build_diff() 24 const CeedScalar(*J)[1][CEED_Q_VLA] = (const CeedScalar(*)[1][CEED_Q_VLA])in[0]; in build_diff() 26 …CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { q_data[0][i] = w[i] / J[0][0][i]; } // End of Qu… in build_diff() 29 const CeedScalar(*J)[2][CEED_Q_VLA] = (const CeedScalar(*)[2][CEED_Q_VLA])in[0]; in build_diff() 31 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in build_diff() 32 // J: 0 2 q_data: 0 2 adj(J): J11 -J01 in build_diff() 34 const CeedScalar J00 = J[0][0][i]; in build_diff() 35 const CeedScalar J10 = J[0][1][i]; in build_diff() 36 const CeedScalar J01 = J[1][0][i]; in build_diff() [all …]
|
| /libCEED/examples/ceed/ |
| H A D | ex3-volume.h | 19 // in[0] is Jacobians with shape [dim, dim, Q] in build_mass_diff() 22 CeedScalar(*q_data)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in build_mass_diff() 28 const CeedScalar(*J)[1][CEED_Q_VLA] = (const CeedScalar(*)[1][CEED_Q_VLA])in[0]; in build_mass_diff() 30 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in build_mass_diff() 32 q_data[0][i] = w[i] * J[0][0][i]; in build_mass_diff() 35 q_data[1][i] = w[i] / J[0][0][i]; in build_mass_diff() 39 const CeedScalar(*J)[2][CEED_Q_VLA] = (const CeedScalar(*)[2][CEED_Q_VLA])in[0]; in build_mass_diff() 41 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in build_mass_diff() 42 // J: 0 2 q_data: 0 2 adj(J): J22 -J12 in build_mass_diff() 44 const CeedScalar J00 = J[0][0][i]; in build_mass_diff() [all …]
|
| H A D | ex2-surface.h | 19 // in[0] is Jacobians with shape [dim, dim, Q] in build_diff() 22 CeedScalar(*q_data)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in build_diff() 28 const CeedScalar(*J)[1][CEED_Q_VLA] = (const CeedScalar(*)[1][CEED_Q_VLA])in[0]; in build_diff() 30 …CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { q_data[0][i] = w[i] / J[0][0][i]; } // End of Qu… in build_diff() 33 const CeedScalar(*J)[2][CEED_Q_VLA] = (const CeedScalar(*)[2][CEED_Q_VLA])in[0]; in build_diff() 35 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in build_diff() 36 // J: 0 2 q_data: 0 2 adj(J): J11 -J01 in build_diff() 38 const CeedScalar J00 = J[0][0][i]; in build_diff() 39 const CeedScalar J10 = J[0][1][i]; in build_diff() 40 const CeedScalar J01 = J[1][0][i]; in build_diff() [all …]
|
| /libCEED/examples/solids/qfunctions/ |
| H A D | linear.h | 30 …const CeedScalar(*ug)[3][CEED_Q_VLA] = (const CeedScalar(*)[3][CEED_Q_VLA])in[0], (*q_data)[CEED_Q… in ElasResidual_Linear() 33 CeedScalar(*dvdX)[3][CEED_Q_VLA] = (CeedScalar(*)[3][CEED_Q_VLA])out[0]; in ElasResidual_Linear() 43 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in ElasResidual_Linear() 46 {ug[0][0][i], ug[1][0][i], ug[2][0][i]}, in ElasResidual_Linear() 47 {ug[0][1][i], ug[1][1][i], ug[2][1][i]}, in ElasResidual_Linear() 48 {ug[0][2][i], ug[1][2][i], ug[2][2][i]} in ElasResidual_Linear() 51 const CeedScalar wdetJ = q_data[0][i]; in ElasResidual_Linear() 62 for (CeedInt j = 0; j < 3; j++) { // Component in ElasResidual_Linear() 63 for (CeedInt k = 0; k < 3; k++) { // Derivative in ElasResidual_Linear() 64 grad_u[j][k] = 0; in ElasResidual_Linear() [all …]
|
| H A D | finite-strain-mooney-rivlin.h | 42 CeedScalar sum = 0; in log1p_series_shifted() 71 return grad_u[0][0] * (grad_u[1][1] * grad_u[2][2] - grad_u[1][2] * grad_u[2][1]) + in computeJM1() 72 grad_u[0][1] * (grad_u[1][2] * grad_u[2][0] - grad_u[1][0] * grad_u[2][2]) + in computeJM1() 73 …grad_u[0][2] * (grad_u[1][0] * grad_u[2][1] - grad_u[2][0] * grad_u[1][1]) + grad_u[0][0] + grad_u… in computeJM1() 74 …grad_u[0][0] * grad_u[1][1] + grad_u[0][0] * grad_u[2][2] + grad_u[1][1] * grad_u[2][2] - grad_u[0… in computeJM1() 75 grad_u[0][2] * grad_u[2][0] - grad_u[1][2] * grad_u[2][1]; in computeJM1() 88 A[0][0] * A[2][2] - A[0][2] * A[2][0], /* *NOPAD* */ in computeMatinvSym() 89 A[0][0] * A[1][1] - A[0][1] * A[1][0], /* *NOPAD* */ in computeMatinvSym() 90 A[0][2] * A[1][0] - A[0][0] * A[1][2], /* *NOPAD* */ in computeMatinvSym() 91 A[0][1] * A[1][2] - A[0][2] * A[1][1], /* *NOPAD* */ in computeMatinvSym() [all …]
|
| H A D | finite-strain-neo-hookean.h | 37 CeedScalar sum = 0; in log1p_series_shifted() 66 return grad_u[0][0] * (grad_u[1][1] * grad_u[2][2] - grad_u[1][2] * grad_u[2][1]) + in computeJM1() 67 grad_u[0][1] * (grad_u[1][2] * grad_u[2][0] - grad_u[1][0] * grad_u[2][2]) + in computeJM1() 68 …grad_u[0][2] * (grad_u[1][0] * grad_u[2][1] - grad_u[2][0] * grad_u[1][1]) + grad_u[0][0] + grad_u… in computeJM1() 69 …grad_u[0][0] * grad_u[1][1] + grad_u[0][0] * grad_u[2][2] + grad_u[1][1] * grad_u[2][2] - grad_u[0… in computeJM1() 70 grad_u[0][2] * grad_u[2][0] - grad_u[1][2] * grad_u[2][1]; in computeJM1() 83 A[0][0] * A[2][2] - A[0][2] * A[2][0], /* *NOPAD* */ in computeMatinvSym() 84 A[0][0] * A[1][1] - A[0][1] * A[1][0], /* *NOPAD* */ in computeMatinvSym() 85 A[0][2] * A[1][0] - A[0][0] * A[1][2], /* *NOPAD* */ in computeMatinvSym() 86 A[0][1] * A[1][2] - A[0][2] * A[1][1], /* *NOPAD* */ in computeMatinvSym() [all …]
|
| /libCEED/include/ceed/jit-source/gallery/ |
| H A D | ceed-poisson3dbuild.h | 15 // in[0] is Jacobians with shape [3, nc=3, Q] in Poisson3DBuild() 17 const CeedScalar(*J)[3][CEED_Q_VLA] = (const CeedScalar(*)[3][CEED_Q_VLA])in[0], *w = in[1]; in Poisson3DBuild() 18 // out[0] is qdata, size (6*Q) in Poisson3DBuild() 19 CeedScalar(*q_data)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in Poisson3DBuild() 24 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in Poisson3DBuild() 27 for (CeedInt j = 0; j < dim; j++) in Poisson3DBuild() 28 for (CeedInt k = 0; k < dim; k++) in Poisson3DBuild() 35 … const CeedScalar qw = w[i] / (J[0][0][i] * A[0][0] + J[0][1][i] * A[0][1] + J[0][2][i] * A[0][2]); in Poisson3DBuild() 39 // 0 5 4 in Poisson3DBuild() 42 q_data[0][i] = qw * (A[0][0] * A[0][0] + A[0][1] * A[0][1] + A[0][2] * A[0][2]); in Poisson3DBuild() [all …]
|
| /libCEED/examples/fluids/qfunctions/ |
| H A D | eulervortex.h | 31 int stabilization; // See StabilizationType: 0=none, 1=SU, 2=SUPG 75 const CeedScalar x = X[0], y = X[1]; // Coordinates in Exact_Euler() 77 const CeedScalar xc = center[0] + mean_velocity[0] * time; in Exact_Euler() 87 CeedScalar rho, P, T, E, u[3] = {0.}; in Exact_Euler() 91 case 0: // Traveling vortex in Exact_Euler() 98 u[0] = mean_velocity[0] - C * y0; in Exact_Euler() 102 q[0] = rho; in Exact_Euler() 103 q[1] = rho * u[0]; in Exact_Euler() 106 q[4] = P / (gamma - 1.) + rho * (u[0] * u[0] + u[1] * u[1]) / 2.; in Exact_Euler() 113 q[0] = rho; in Exact_Euler() [all …]
|
| /libCEED/examples/nek/boxes/ |
| H A D | b1e.rea | 20 0.00000 p016 PSSOLVER: 0=default 22 0.00000 p018 GRID < 0 --> # cells on screen 27 0 p23 NPSCAL 32 0.00000 p028 TORDER: mesh velocity (0: p28=p27) 33 0.00000 p029 = magnetic visc if > 0, = -1/Rm if < 0 34 0.00000 p030 > 0 ==> properties set in uservp() 36 0.00000 p032 #BCs in re2 file, if > 0 46 0.00000 p042 0=gmres/1=pcg 47 0.00000 p043 0=semg/1=schwarz 48 0.00000 p044 0=E-based/1=A-based prec. [all …]
|
| /libCEED/examples/petsc/qfunctions/area/ |
| H A D | areasphere.h | 47 const CeedScalar *X = in[0], *J = in[1], *w = in[2]; in SetupMassGeoSphere() 49 CeedScalar *q_data = out[0]; in SetupMassGeoSphere() 52 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in SetupMassGeoSphere() 54 const CeedScalar xx[3][1] = {{X[i + 0 * Q]}, {X[i + 1 * Q]}, {X[i + 2 * Q]}}; in SetupMassGeoSphere() 57 // 0 3 in SetupMassGeoSphere() 61 {J[i + Q * 0], J[i + Q * 3]}, in SetupMassGeoSphere() 67 const CeedScalar mod_xx_sq = xx[0][0] * xx[0][0] + xx[1][0] * xx[1][0] + xx[2][0] * xx[2][0]; in SetupMassGeoSphere() 69 for (int j = 0; j < 3; j++) { in SetupMassGeoSphere() 70 for (int k = 0; k < 3; k++) { in SetupMassGeoSphere() 71 xx_sq[j][k] = 0; in SetupMassGeoSphere() [all …]
|
| /libCEED/python/tests/ |
| H A D | buildmats.py | 9 qref[0] = 0.2 17 qweight[0] = 25. / 96. 24 x1 = qref[0 * Q + i] 27 interp[i * P + 0] = 2. * (x1 + x2 - 1.) * (x1 + x2 - 1. / 2.) 34 grad[(i + 0) * P + 0] = 2. * \ 36 grad[(i + Q) * P + 0] = 2. * \ 38 grad[(i + 0) * P + 1] = -4. * (1. * (x1 + x2 - 1.) + x1 * 1.) 40 grad[(i + 0) * P + 2] = 2. * (1. * (x1 - 1. / 2.) + x1 * 1.) 41 grad[(i + Q) * P + 2] = 2. * 0. 42 grad[(i + 0) * P + 3] = -4. * (x2 * 1.) [all …]
|
| /libCEED/examples/petsc/qfunctions/bps/ |
| H A D | bp3.h | 41 const CeedScalar(*w) = in[2]; // Note: *X = in[0] in SetupDiffGeo() 43 CeedScalar(*qd) = out[0]; in SetupDiffGeo() 47 CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { in SetupDiffGeo() 50 for (CeedInt j = 0; j < dim; j++) { in SetupDiffGeo() 51 for (CeedInt k = 0; k < dim; k++) { in SetupDiffGeo() 58 const CeedScalar detJ = J[0][0][i] * A[0][0] + J[0][1][i] * A[0][1] + J[0][2][i] * A[0][2]; in SetupDiffGeo() 61 qd[i + Q * 0] = w[i] * detJ; in SetupDiffGeo() 62 qd[i + Q * 1] = qw * (A[0][0] * A[0][0] + A[0][1] * A[0][1] + A[0][2] * A[0][2]); in SetupDiffGeo() 63 qd[i + Q * 2] = qw * (A[0][0] * A[1][0] + A[0][1] * A[1][1] + A[0][2] * A[1][2]); in SetupDiffGeo() 64 qd[i + Q * 3] = qw * (A[0][0] * A[2][0] + A[0][1] * A[2][1] + A[0][2] * A[2][2]); in SetupDiffGeo() [all …]
|