Lines Matching refs:num_xyz

48 int        GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[3]);
49 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[3], CeedInt degree, Ce…
51 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[3], CeedInt mesh_degree, CeedVector …
134 CeedInt num_xyz[3]; in main() local
136 GetCartesianMeshSize(dim, sol_degree, prob_size, num_xyz); in main()
140 printf("Mesh size: nx = %" CeedInt_FMT, num_xyz[0]); in main()
141 if (dim > 1) printf(", ny = %" CeedInt_FMT, num_xyz[1]); in main()
142 if (dim > 2) printf(", nz = %" CeedInt_FMT, num_xyz[2]); in main()
151 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main()
152 …BuildCartesianRestriction(ceed, dim, num_xyz, sol_degree, dim * (dim + 1) / 2, &sol_size, num_qpts… in main()
153 …BuildCartesianRestriction(ceed, dim, num_xyz, sol_degree, 1, &sol_size, num_qpts, &sol_restriction… in main()
165 SetCartesianMeshCoords(dim, num_xyz, mesh_degree, mesh_coords); in main()
208 for (CeedInt d = 0; d < dim; d++) num_elem *= num_xyz[d]; in main()
314 int GetCartesianMeshSize(CeedInt dim, CeedInt degree, CeedInt prob_size, CeedInt num_xyz[3]) { in GetCartesianMeshSize()
333 num_xyz[d] = 1 << sd; in GetCartesianMeshSize()
338 int BuildCartesianRestriction(Ceed ceed, CeedInt dim, CeedInt num_xyz[3], CeedInt degree, CeedInt n… in BuildCartesianRestriction()
346 num_elem *= num_xyz[d]; in BuildCartesianRestriction()
347 nd[d] = num_xyz[d] * (p - 1) + 1; in BuildCartesianRestriction()
360 e_xyz[d] = re % num_xyz[d]; in BuildCartesianRestriction()
361 re /= num_xyz[d]; in BuildCartesianRestriction()
389 int SetCartesianMeshCoords(CeedInt dim, CeedInt num_xyz[3], CeedInt mesh_degree, CeedVector mesh_co… in SetCartesianMeshCoords()
394 nd[d] = num_xyz[d] * (p - 1) + 1; in SetCartesianMeshCoords()
411 coords[gs_nodes + scalar_size * d] = ((d1d / (p - 1)) + nodes[d1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()