Home
last modified time | relevance | path

Searched refs:num_comp_u (Results 1 – 25 of 25) sorted by relevance

/libCEED/examples/petsc/include/
H A Dbpsproblemdata.h29 [CEED_BP1] = {.num_comp_u = 1,
46 [CEED_BP2] = {.num_comp_u = 3,
63 [CEED_BP3] = {.num_comp_u = 1,
80 [CEED_BP4] = {.num_comp_u = 3,
97 [CEED_BP5] = {.num_comp_u = 1,
114 [CEED_BP6] = {.num_comp_u = 3,
131 [CEED_BP13] = {.num_comp_u = 1,
148 [CEED_BP24] = {.num_comp_u = 3,
165 [CEED_BP15] = {.num_comp_u = 1,
182 [CEED_BP26] = {.num_comp_u = 3,
H A Dsphereproblemdata.h27 [CEED_BP1] = {.num_comp_u = 1,
43 [CEED_BP2] = {.num_comp_u = 3,
59 [CEED_BP3] = {.num_comp_u = 1,
75 [CEED_BP4] = {.num_comp_u = 3,
91 [CEED_BP5] = {.num_comp_u = 1,
107 [CEED_BP6] = {.num_comp_u = 3,
H A Dlibceedsetup.h18 … ceed, CeedInt degree, CeedInt topo_dim, CeedInt q_extra, PetscInt num_comp_x, PetscInt num_comp_u,
21 PetscErrorCode CeedLevelTransferSetup(DM dm, Ceed ceed, CeedInt level, CeedInt num_comp_u, CeedData…
22 …rator(DM dm, Ceed ceed, BPData bp_data, CeedInt topo_dim, PetscInt num_comp_x, PetscInt num_comp_u,
H A Dareaproblemdata.h30 .num_comp_u = 1,
45 .num_comp_u = 1,
H A Dstructs.h59 CeedInt num_comp_x, num_comp_u, topo_dim, q_data_size, q_extra; member
89 PetscInt local_nodes, degree, q_extra, dim, num_comp_u, *mesh_elem; member
H A Dpetscutils.h23 PetscErrorCode SetupDMByDegree(DM dm, PetscInt p_degree, PetscInt q_extra, PetscInt num_comp_u, P…
/libCEED/examples/petsc/src/
H A Dlibceedsetup.c42 … ceed, CeedInt degree, CeedInt topo_dim, CeedInt q_extra, PetscInt num_comp_x, PetscInt num_comp_u, in SetupLibceedByDegree() argument
73 …CeedElemRestrictionCreateStrided(ceed, num_elem, num_qpts, num_comp_u, num_comp_u * num_elem * num… in SetupLibceedByDegree()
114 CeedQFunctionAddInput(qf_apply, "u", num_comp_u, CEED_EVAL_INTERP); in SetupLibceedByDegree()
115 CeedQFunctionAddInput(qf_apply, "du", num_comp_u * topo_dim, CEED_EVAL_GRAD); in SetupLibceedByDegree()
117 … CeedQFunctionAddInput(qf_apply, is_interp ? "u" : "du", num_comp_u * in_scale, bp_data.in_mode); in SetupLibceedByDegree()
121 CeedQFunctionAddOutput(qf_apply, "v", num_comp_u, CEED_EVAL_INTERP); in SetupLibceedByDegree()
122 CeedQFunctionAddOutput(qf_apply, "dv", num_comp_u * topo_dim, CEED_EVAL_GRAD); in SetupLibceedByDegree()
124 …CeedQFunctionAddOutput(qf_apply, is_interp ? "v" : "dv", num_comp_u * out_scale, bp_data.out_mode); in SetupLibceedByDegree()
152 CeedVectorCreate(ceed, num_elem * num_qpts * num_comp_u, target); in SetupLibceedByDegree()
157 CeedQFunctionAddOutput(qf_setup_rhs, "true solution", num_comp_u, CEED_EVAL_NONE); in SetupLibceedByDegree()
[all …]
H A Dpetscutils.c134 PetscErrorCode SetupDMByDegree(DM dm, PetscInt p_degree, PetscInt q_extra, PetscInt num_comp_u, Pet… in SetupDMByDegree() argument
146 PetscCall(PetscFECreateLagrange(comm, dim, num_comp_u, is_simplex, p_degree, q_degree, &fe)); in SetupDMByDegree()
/libCEED/examples/petsc/
H A Dbpsraw.c129 CeedInt num_comp_u, q_data_size, q_extra; member
137 [CEED_BP1] = {.num_comp_u = 1,
151 [CEED_BP2] = {.num_comp_u = 3,
165 [CEED_BP3] = {.num_comp_u = 1,
179 [CEED_BP4] = {.num_comp_u = 3,
193 [CEED_BP5] = {.num_comp_u = 1,
207 [CEED_BP6] = {.num_comp_u = 3,
342 …l_nodes, local_elem, mesh_elem[3], m_nodes[3], p[3], i_rank[3], l_nodes[3], l_size, num_comp_u = 1, in main() local
371 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
437 PetscCall(VecSetSizes(X, m_nodes[0] * m_nodes[1] * m_nodes[2] * num_comp_u, PETSC_DECIDE)); in main()
[all …]
H A Dbpssphere.c53 … degree = 3, q_extra, l_size, g_size, topo_dim = 2, num_comp_x = 3, num_comp_u = 1, xl_size; in main() local
77 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
133 PetscCall(SetupDMByDegree(dm, degree, q_extra, num_comp_u, topo_dim, false)); in main()
164 …bp_choice + 1, ceed_resource, CeedMemTypes[mem_type_backend], P, Q, q_extra, g_size / num_comp_u)); in main()
175 …PetscCall(SetupLibceedByDegree(dm, ceed, degree, topo_dim, q_extra, num_comp_x, num_comp_u, g_size… in main()
186 CeedQFunctionAddInput(qf_error, "u", num_comp_u, CEED_EVAL_INTERP); in main()
187 CeedQFunctionAddInput(qf_error, "true_soln", num_comp_u, CEED_EVAL_NONE); in main()
189 CeedQFunctionAddOutput(qf_error, "error", num_comp_u, CEED_EVAL_INTERP); in main()
H A Darea.c64 num_comp_u = 1, // dimension of field to which apply mass operator in main() local
111 PetscCall(SetupDMByDegree(dm, degree, q_extra, num_comp_u, topo_dim, false)); in main()
163 …resource, CeedMemTypes[mem_type_backend], P, Q, q_extra, g_size / num_comp_u, num_comp_u, g_size)); in main()
168 …PetscCall(SetupLibceedByDegree(dm, ceed, degree, topo_dim, q_extra, num_comp_x, num_comp_u, g_size… in main()
H A Dmultigrid.c52 …ize, *xl_size, *g_size, dim = 3, fine_level, mesh_elem[3] = {3, 3, 3}, num_comp_u = 1, num_levels … in main() local
81 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
193 …PetscCall(SetupDMByDegree(dm[i], level_degrees[fine_level], q_extra, num_comp_u, dim, bp_options[b… in main()
247 …ype, used_resource, CeedMemTypes[mem_type_backend], P, Q, q_extra, g_size[fine_level] / num_comp_u, in main()
248 … l_size[fine_level] / num_comp_u, num_comp_u, CeedElemTopologies[elem_topo], num_levels)); in main()
267 …i, (i ? "fine" : "coarse"), level_degrees[i] + 1, g_size[i] / num_comp_u, l_size[i] / num_comp_u)); in main()
270 …PetscCall(SetupLibceedByDegree(dm[i], ceed, level_degrees[i], dim, q_extra, dim, num_comp_u, g_siz… in main()
282 CeedQFunctionAddInput(qf_error, "u", num_comp_u, CEED_EVAL_INTERP); in main()
283 CeedQFunctionAddInput(qf_error, "true_soln", num_comp_u, CEED_EVAL_NONE); in main()
285 CeedQFunctionAddOutput(qf_error, "error", num_comp_u, CEED_EVAL_INTERP); in main()
[all …]
H A Dbpsswarm.c56 …PetscInt degree, q_extra, l_size, g_size, dim = 3, num_comp_u = 1, xl_size, num_points… in main() local
91 num_comp_u = bp_options[bp_choice].num_comp_u; in main()
189 …PetscCall(SetupDMByDegree(dm_mesh, degree, q_extra, num_comp_u, dim, bp_options[bp_choice].enforce… in main()
202 …PetscCall(DMSwarmRegisterPetscDatatypeField(dm_swarm, DMSwarmPICField_u, num_comp_u, PETSC_SCALAR)… in main()
283 …g_size / num_comp_u, num_cells_local, l_size / num_comp_u, num_comp_u, num_points_global, num_poin… in main()
293 …PetscCall(SetupErrorOperator(dm_mesh, ceed, bp_options[bp_choice], dim, dim, num_comp_u, &op_error… in main()
H A Dbps.c156 …rp->q_extra, g_size / rp->num_comp_u, c_end - c_start, CeedElemTopologies[elem_topo], l_size / rp-… in RunWithDM()
157 rp->num_comp_u)); in RunWithDM()
167 …bceedByDegree(dm, ceed, rp->degree, rp->dim, rp->q_extra, rp->dim, rp->num_comp_u, g_size, xl_size… in RunWithDM()
178 CeedQFunctionAddInput(qf_error, "u", rp->num_comp_u, CEED_EVAL_INTERP); in RunWithDM()
179 CeedQFunctionAddInput(qf_error, "true_soln", rp->num_comp_u, CEED_EVAL_NONE); in RunWithDM()
181 CeedQFunctionAddOutput(qf_error, "error", rp->num_comp_u, CEED_EVAL_INTERP); in RunWithDM()
331 rp->num_comp_u = bp_options[rp->bp_choice].num_comp_u; in Run()
339 …PetscCall(SetupDMByDegree(dm_deg, rp->degree, rp->q_extra, rp->num_comp_u, dim, bp_options[rp->bp_… in Run()
/libCEED/examples/solids/problems/
H A Dlinear.c39 … PetscInt fine_level, PetscInt num_comp_u, PetscInt U_g_size, PetscInt U_loc_size, in SetupLibceedFineLevel_ElasLinear() argument
43 …nergy, dm_diagnostic, ceed, app_ctx, phys_ctx, linear_elasticity, fine_level, num_comp_u, U_g_size, in SetupLibceedFineLevel_ElasLinear()
49 …_ElasLinear(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscInt num_comp_u, PetscInt U_g_si… in SetupLibceedLevel_ElasLinear() argument
53 …PetscCall(SetupLibceedLevel(dm, ceed, app_ctx, linear_elasticity, level, num_comp_u, U_g_size, U_l… in SetupLibceedLevel_ElasLinear()
H A Dfinite-strain-mooney-rivlin.c41 …PetscInt fine_level, PetscInt num_comp_u, PetscInt U_g_size, PetscInt U_loc_size, CeedVector force… in SetupLibceedFineLevel_ElasFSMR() argument
45 …nergy, dm_diagnostic, ceed, app_ctx, phys_ctx, finite_strain_Mooney_Rivlin, fine_level, num_comp_u, in SetupLibceedFineLevel_ElasFSMR()
51 …el_ElasFSMR(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscInt num_comp_u, PetscInt U_g_si… in SetupLibceedLevel_ElasFSMR() argument
55 …PetscCall(SetupLibceedLevel(dm, ceed, app_ctx, finite_strain_Mooney_Rivlin, level, num_comp_u, U_g… in SetupLibceedLevel_ElasFSMR()
H A Dfinite-strain-neo-hookean.c41 …PetscInt fine_level, PetscInt num_comp_u, PetscInt U_g_size, PetscInt U_loc_size, CeedVector force… in SetupLibceedFineLevel_ElasFSNH() argument
45 …m_diagnostic, ceed, app_ctx, phys_ctx, finite_strain_neo_Hookean, fine_level, num_comp_u, U_g_size, in SetupLibceedFineLevel_ElasFSNH()
51 …el_ElasFSNH(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscInt num_comp_u, PetscInt U_g_si… in SetupLibceedLevel_ElasFSNH() argument
55 …PetscCall(SetupLibceedLevel(dm, ceed, app_ctx, finite_strain_neo_Hookean, level, num_comp_u, U_g_s… in SetupLibceedLevel_ElasFSNH()
H A Dproblems.h32 … PetscInt fine_level, PetscInt num_comp_u, PetscInt U_g_size, PetscInt U_loc_size, \
34 …evel_##name(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscInt num_comp_u, PetscInt U_g_si…
/libCEED/examples/solids/src/
H A Dsetup-libceed.c126 …ProblemData problem_data, PetscInt fine_level, PetscInt num_comp_u, PetscInt U_g_size, PetscInt U_… in SetupLibceedFineLevel() argument
152 …CeedBasisCreateTensorH1Lagrange(ceed, dim, num_comp_u, P, Q, problem_data.quadrature_mode, &data[f… in SetupLibceedFineLevel()
156 …CeedBasisCreateTensorH1Lagrange(ceed, dim, num_comp_u, P, P, CEED_GAUSS_LOBATTO, &data[fine_level]… in SetupLibceedFineLevel()
242 CeedQFunctionAddInput(qf_residual, "du", num_comp_u * dim, CEED_EVAL_GRAD); in SetupLibceedFineLevel()
244 CeedQFunctionAddOutput(qf_residual, "dv", num_comp_u * dim, CEED_EVAL_GRAD); in SetupLibceedFineLevel()
269 CeedQFunctionAddInput(qf_jacobian, "delta du", num_comp_u * dim, CEED_EVAL_GRAD); in SetupLibceedFineLevel()
274 CeedQFunctionAddOutput(qf_jacobian, "delta dv", num_comp_u * dim, CEED_EVAL_GRAD); in SetupLibceedFineLevel()
302 …CeedBasisCreateTensorH1Lagrange(ceed, dim - height, num_comp_u, P, Q, problem_data.quadrature_mode… in SetupLibceedFineLevel()
311 CeedQFunctionAddOutput(qf_traction, "v", num_comp_u, CEED_EVAL_INTERP); in SetupLibceedFineLevel()
354 CeedQFunctionAddOutput(qf_setup_force, "force", num_comp_u, CEED_EVAL_INTERP); in SetupLibceedFineLevel()
[all …]
H A Dboundary.c23 …cInt dim, PetscReal load_increment, const PetscReal coords[], PetscInt num_comp_u, PetscScalar *u,… in BCMMS() argument
42 …cInt dim, PetscReal load_increment, const PetscReal coords[], PetscInt num_comp_u, PetscScalar *u,… in BCClamp() argument
H A Dsetup-dm.c65 …e SetupDMByDegree(DM dm, AppCtx app_ctx, PetscInt order, PetscBool boundary, PetscInt num_comp_u) { in SetupDMByDegree() argument
79 PetscCall(PetscFECreateLagrange(comm, dim, num_comp_u, PETSC_FALSE, order, order, &fe)); in SetupDMByDegree()
/libCEED/examples/solids/include/
H A Dboundary.h23 …cInt dim, PetscReal load_increment, const PetscReal coords[], PetscInt num_comp_u, PetscScalar *u,…
27 …cInt dim, PetscReal load_increment, const PetscReal coords[], PetscInt num_comp_u, PetscScalar *u,…
H A Dsetup-libceed.h32 …ProblemData problem_data, PetscInt fine_level, PetscInt num_comp_u, PetscInt U_g_size, PetscInt U_…
36 …ed, AppCtx app_ctx, ProblemData problem_data, PetscInt level, PetscInt num_comp_u, PetscInt U_g_si…
H A Dsetup-dm.h23 …de SetupDMByDegree(DM dm, AppCtx app_ctx, PetscInt order, PetscBool boundary, PetscInt num_comp_u);
/libCEED/examples/solids/
H A Delasticity.c69 PetscInt num_comp_u = 3; // 3 DoFs in 3D in main() local
144 …SetupDMByDegree(level_dms[level], app_ctx, app_ctx->level_degrees[level], PETSC_TRUE, num_comp_u)); in main()
159 …dm_diagnostic, app_ctx, app_ctx->level_degrees[fine_level], PETSC_FALSE, num_comp_u + num_comp_d)); in main()
250 …)(level_dms[fine_level], dm_energy, dm_diagnostic, ceed, app_ctx, ctx_phys, fine_level, num_comp_u, in main()
273 …PetscCall((*SetupLibceedLevel)(level_dms[level], ceed, app_ctx, level, num_comp_u, U_g_size[level]… in main()
351 … U_g_size[fine_level] / num_comp_u, U_l_size[fine_level] / num_comp_u, num_comp_u, in main()
365 … level, i ? "fine" : "coarse", app_ctx->level_degrees[level] + 1, U_g_size[level] / num_comp_u, in main()
366 U_l_size[level] / num_comp_u)); in main()