Lines Matching refs:num_xyz

48 int        GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim…
49 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, …
51 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[dim], CeedInt mesh_degree, CeedVecto…
130 CeedInt num_xyz[dim]; in main() local
132 GetCartesianMeshSize(dim, sol_degree, prob_size, num_xyz); in main()
135 printf("Mesh size: nx = %" CeedInt_FMT, num_xyz[0]); in main()
136 if (dim > 1) printf(", ny = %" CeedInt_FMT, num_xyz[1]); in main()
137 if (dim > 2) printf(", nz = %" CeedInt_FMT, num_xyz[2]); in main()
146 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main()
147 …BuildCartesianRestriction(ceed, dim, num_xyz, sol_degree, 1, &sol_size, num_qpts, &sol_restriction… in main()
159 SetCartesianMeshCoords(dim, num_xyz, mesh_degree, mesh_coords); in main()
202 for (CeedInt d = 0; d < dim; d++) num_elem *= num_xyz[d]; in main()
294 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[dim]) { in GetCartesianMeshSize()
313 num_xyz[d] = 1 << sd; in GetCartesianMeshSize()
318 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[dim], CeedInt degree, CeedInt… in BuildCartesianRestriction()
326 num_elem *= num_xyz[d]; in BuildCartesianRestriction()
327 nd[d] = num_xyz[d] * (p - 1) + 1; in BuildCartesianRestriction()
340 e_xyz[d] = re % num_xyz[d]; in BuildCartesianRestriction()
341 re /= num_xyz[d]; in BuildCartesianRestriction()
365 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[dim], CeedInt mesh_degree, CeedVector mesh_… in SetCartesianMeshCoords()
370 nd[d] = num_xyz[d] * (p - 1) + 1; in SetCartesianMeshCoords()
387 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()