Lines Matching refs:num_xyz
47 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim…
48 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, …
50 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[dim], CeedInt mesh_degree, CeedVecto…
127 CeedInt num_xyz[dim]; in main() local
129 GetCartesianMeshSize(dim, sol_degree, prob_size, num_xyz); in main()
132 printf("Mesh size: nx = %" CeedInt_FMT, num_xyz[0]); in main()
133 if (dim > 1) printf(", ny = %" CeedInt_FMT, num_xyz[1]); in main()
134 if (dim > 2) printf(", nz = %" CeedInt_FMT, num_xyz[2]); in main()
143 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main()
144 …BuildCartesianRestriction(ceed, dim, num_xyz, sol_degree, 1 + dim * (dim + 1) / 2, &sol_size, num_… in main()
145 …BuildCartesianRestriction(ceed, dim, num_xyz, sol_degree, 1, &sol_size, num_qpts, &sol_restriction… in main()
157 SetCartesianMeshCoords(dim, num_xyz, mesh_degree, mesh_coords); in main()
192 for (CeedInt d = 0; d < dim; d++) num_elem *= num_xyz[d]; in main()
283 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim]) { in GetCartesianMeshSize()
302 num_xyz[d] = 1 << sd; in GetCartesianMeshSize()
307 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, CeedInt… in BuildCartesianRestriction()
315 num_elem *= num_xyz[d]; in BuildCartesianRestriction()
316 nd[d] = num_xyz[d] * (p - 1) + 1; in BuildCartesianRestriction()
329 e_xyz[d] = re % num_xyz[d]; in BuildCartesianRestriction()
330 re /= num_xyz[d]; in BuildCartesianRestriction()
356 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[dim], CeedInt mesh_degree, CeedVector mesh_… in SetCartesianMeshCoords()
361 nd[d] = num_xyz[d] * (p - 1) + 1; in SetCartesianMeshCoords()
377 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()