Home
last modified time | relevance | path

Searched refs:bp_choice (Results 1 – 6 of 6) sorted by relevance

/libCEED/examples/petsc/
H A Dbps.c116 bool is_combined_bp = rp->bp_choice > CEED_BP6; in RunWithDM()
120 …PetscCall(PetscSNPrintf(bp_name, 6, "%d + %d", rp->bp_choice % 2 ? 2 : 1, rp->bp_choice - CEED_BP4… in RunWithDM()
122 PetscCall(PetscSNPrintf(bp_name, 6, "%d", rp->bp_choice + 1)); in RunWithDM()
167 …>degree, rp->dim, rp->q_extra, rp->dim, rp->num_comp_u, g_size, xl_size, bp_options[rp->bp_choice], in RunWithDM()
177 …CeedQFunctionCreateInterior(ceed, 1, bp_options[rp->bp_choice].error, bp_options[rp->bp_choice].er… in RunWithDM()
196 …if (rp->bp_choice == CEED_BP1 || rp->bp_choice == CEED_BP2 || rp->bp_choice == CEED_BP13 || rp->bp… in RunWithDM()
197 rp->bp_choice == CEED_BP15 || rp->bp_choice == CEED_BP26) { in RunWithDM()
199 …if (rp->simplex || rp->bp_choice == CEED_BP13 || rp->bp_choice == CEED_BP24 || rp->bp_choice == CE… in RunWithDM()
273 … PetscReal tol = rp->bp_choice < CEED_BP3 ? 5e-4 : (5e-2 + (rp->bp_choice % 2 == 1 ? 5e-3 : 0)); in RunWithDM()
330 rp->bp_choice = bp_choices[b]; in Run()
[all …]
H A Dbpsraw.c362 BPType bp_choice; in main() local
369 bp_choice = CEED_BP1; in main()
370 …ED benchmark problem to solve", NULL, bp_types, (PetscEnum)bp_choice, (PetscEnum *)&bp_choice, NUL… in main()
371 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
380 q_extra = bp_options[bp_choice].q_extra; in main()
466bp_choice + 1, vec_type, used_resource, CeedMemTypes[mem_type_backend], P, Q, gsize / num_comp_u, … in main()
549 …CeedBasisCreateTensorH1Lagrange(ceed, dim, num_comp_u, P, Q, bp_options[bp_choice].q_mode, &basis_… in main()
550 …CeedBasisCreateTensorH1Lagrange(ceed, dim, num_comp_x, 2, Q, bp_options[bp_choice].q_mode, &basis_… in main()
558 CeedElemRestrictionCreateStrided(ceed, num_elem, Q * Q * Q, bp_options[bp_choice].q_data_size, in main()
559 … bp_options[bp_choice].q_data_size * num_elem * Q * Q * Q, CEED_STRIDES_BACKEND, &elem_restr_qd_i); in main()
[all …]
H A Dbpssphere.c66 BPType bp_choice; in main() local
75 bp_choice = CEED_BP1; in main()
76 …ED benchmark problem to solve", NULL, bp_types, (PetscEnum)bp_choice, (PetscEnum *)&bp_choice, NUL… in main()
77 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
86 q_extra = bp_options[bp_choice].q_extra; in main()
164bp_choice + 1, ceed_resource, CeedMemTypes[mem_type_backend], P, Q, q_extra, g_size / num_comp_u)); in main()
175 … topo_dim, q_extra, num_comp_x, num_comp_u, g_size, xl_size, bp_options[bp_choice], ceed_data, tru… in main()
185 …CeedQFunctionCreateInterior(ceed, 1, bp_options[bp_choice].error, bp_options[bp_choice].error_loc,… in main()
206 if (bp_choice == CEED_BP1 || bp_choice == CEED_BP2) { in main()
H A Dbpsswarm.c67 BPType bp_choice; in main() local
89 bp_choice = CEED_BP1; in main()
90 …ED benchmark problem to solve", NULL, bp_types, (PetscEnum)bp_choice, (PetscEnum *)&bp_choice, NUL… in main()
91 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
103 q_extra = bp_options[bp_choice].q_extra; in main()
189 …PetscCall(SetupDMByDegree(dm_mesh, degree, q_extra, num_comp_u, dim, bp_options[bp_choice].enforce… in main()
282bp_choice + 1, hostname, comm_size, ranks_per_node, vec_type, used_resource, CeedMemTypes[mem_type… in main()
292 PetscCall(SetupProblemSwarm(dm_swarm, ceed, bp_options[bp_choice], ceed_data, true, rhs, target)); in main()
293 …PetscCall(SetupErrorOperator(dm_mesh, ceed, bp_options[bp_choice], dim, dim, num_comp_u, &op_error… in main()
303 if (bp_choice == CEED_BP1 || bp_choice == CEED_BP2) { in main()
H A Dmultigrid.c71 BPType bp_choice; in main() local
79 bp_choice = CEED_BP3; in main()
80 …ED benchmark problem to solve", NULL, bp_types, (PetscEnum)bp_choice, (PetscEnum *)&bp_choice, NUL… in main()
81 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
90 if ((bp_choice == CEED_BP5 || bp_choice == CEED_BP6) && (simplex)) { in main()
98 q_extra = bp_options[bp_choice].q_extra; in main()
193 …ree(dm[i], level_degrees[fine_level], q_extra, num_comp_u, dim, bp_options[bp_choice].enforce_bc)); in main()
247bp_choice + 1, vec_type, used_resource, CeedMemTypes[mem_type_backend], P, Q, q_extra, g_size[fine… in main()
270 …eed, level_degrees[i], dim, q_extra, dim, num_comp_u, g_size[i], xl_size[i], bp_options[bp_choice], in main()
281 …CeedQFunctionCreateInterior(ceed, 1, bp_options[bp_choice].error, bp_options[bp_choice].error_loc,… in main()
[all …]
/libCEED/examples/petsc/include/
H A Dstructs.h92 BPType bp_choice; member