Lines Matching refs:num_xyz
49 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim…
50 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, …
52 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[dim], CeedInt mesh_degree, CeedVecto…
140 CeedInt num_xyz[dim]; in main() local
142 GetCartesianMeshSize(dim, sol_degree, prob_size, num_xyz); in main()
145 printf("Mesh size: nx = %" CeedInt_FMT, num_xyz[0]); in main()
146 if (dim > 1) printf(", ny = %" CeedInt_FMT, num_xyz[1]); in main()
147 if (dim > 2) printf(", nz = %" CeedInt_FMT, num_xyz[2]); in main()
156 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main()
157 …BuildCartesianRestriction(ceed, dim, num_xyz, sol_degree, 1, &sol_size, num_qpts, &sol_restriction… in main()
169 SetCartesianMeshCoords(dim, num_xyz, mesh_degree, mesh_coords); in main()
212 for (CeedInt d = 0; d < dim; d++) num_elem *= num_xyz[d]; in main()
304 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim]) { in GetCartesianMeshSize()
323 num_xyz[d] = 1 << sd; in GetCartesianMeshSize()
328 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, CeedInt… in BuildCartesianRestriction()
336 num_elem *= num_xyz[d]; in BuildCartesianRestriction()
337 nd[d] = num_xyz[d] * (p - 1) + 1; in BuildCartesianRestriction()
350 e_xyz[d] = re % num_xyz[d]; in BuildCartesianRestriction()
351 re /= num_xyz[d]; in BuildCartesianRestriction()
375 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[dim], CeedInt mesh_degree, CeedVector mesh_… in SetCartesianMeshCoords()
380 nd[d] = num_xyz[d] * (p - 1) + 1; in SetCartesianMeshCoords()
397 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()