Home
last modified time | relevance | path

Searched refs:label (Results 1 – 21 of 21) sorted by relevance

/libCEED/examples/solids/src/
H A Dsetup-dm.c22 DMLabel label; in CreateBCLabel() local
27 PetscCall(DMGetLabel(dm, name, &label)); in CreateBCLabel()
28 PetscCall(DMPlexMarkBoundaryFaces(dm, 1, label)); in CreateBCLabel()
104 DMLabel label; in SetupDMByDegree() local
105 PetscCall(DMGetLabel(dm, "marker", &label)); in SetupDMByDegree()
106 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "mms", label, 1, marker_ids, 0, 0, NULL, (void (*)(vo… in SetupDMByDegree()
112 DMLabel label; in SetupDMByDegree() local
113 PetscCall(DMGetLabel(dm, "Face Sets", &label)); in SetupDMByDegree()
114 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "mms", label, num_face_sets, face_set_ids, 0, 0, NULL… in SetupDMByDegree()
120 DMLabel label; in SetupDMByDegree() local
[all …]
/libCEED/examples/deal.II/
H A Dbps-kokkos.cc87 std::string label(argv[0]); in parse() local
89 if ("--bp" == label) in parse()
108 else if ("--n_refinements" == label) in parse()
112 else if ("--fe_degree" == label) in parse()
116 else if ("--print_timings" == label) in parse()
120 else if ("--resource" == label) in parse()
191 const auto test = [&](const std::string &label, const auto &op) { in main() argument
192 (void)label; in main()
238 pout << label << ": " << reduction_control.last_step() << " " << v.l2_norm() << " " in main()
H A Dbps-cpu.cc87 std::string label(argv[0]); in parse() local
89 if ("--bp" == label) in parse()
108 else if ("--n_refinements" == label) in parse()
112 else if ("--fe_degree" == label) in parse()
116 else if ("--print_timings" == label) in parse()
120 else if ("--resource" == label) in parse()
191 const auto test = [&](const std::string &label, const auto &op) { in main() argument
192 (void)label; in main()
238 pout << label << ": " << reduction_control.last_step() << " " << v.l2_norm() << " " in main()
/libCEED/examples/fluids/src/
H A Dsetupdm.c52 DMLabel label; in SetUpDM() local
53 PetscCall(DMGetLabel(dm, "Face Sets", &label)); in SetUpDM()
54 PetscCall(DMPlexLabelComplete(dm, label)); in SetUpDM()
65 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, name, label, num_label_values, label_values, 0, num_e… in SetUpDM()
H A Dmat-ceed.c762 CeedContextFieldLabel label = NULL; in MatCeedSetContextDouble() local
764 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult, name, &label)); in MatCeedSetContextDouble()
765 if (label) { in MatCeedSetContextDouble()
770 PetscCallCeed(ctx->ceed, CeedOperatorSetContextDouble(ctx->op_mult, label, &value)); in MatCeedSetContextDouble()
775 label = NULL; in MatCeedSetContextDouble()
776 … PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult_transpose, name, &label)); in MatCeedSetContextDouble()
777 if (label) { in MatCeedSetContextDouble()
782 … PetscCallCeed(ctx->ceed, CeedOperatorSetContextDouble(ctx->op_mult_transpose, label, &value)); in MatCeedSetContextDouble()
812 CeedContextFieldLabel label = NULL; in MatCeedGetContextDouble() local
815 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble()
[all …]
H A Dstrong_boundary_conditions.c34 DMLabel label = NULL; in SetupStrongSTG_Ceed() local
36 PetscCall(CreateBasisFromPlex(ceed, dm, label, label_value, height, dm_field, &basis_q_sur)); in SetupStrongSTG_Ceed()
37 …PetscCall(CreateBasisFromPlex(ceed, dm_coord, label, label_value, height, dm_field, &basis_x_sur)); in SetupStrongSTG_Ceed()
H A Dturb_spanstats.c49 DMLabel label; in CreateStatsDM() local
64 PetscCall(DMGetLabel(user->dm, "Periodic Face", &label)); in CreateStatsDM()
66 PetscCall(DMLabelSetValue(label, ilocal[i], 1)); in CreateStatsDM()
70 PetscCall(DMGetLabel(user->dm, "Face Sets", &label)); in CreateStatsDM()
73 PetscCall(DMPlexLabelComplete(user->dm, label)); in CreateStatsDM()
74 … PetscCall(DMPlexFilter(user->dm, label, 1, PETSC_FALSE, PETSC_FALSE, NULL, &user->spanstats.dm)); in CreateStatsDM()
H A Dsetuplibceed.c216 DMLabel label = NULL; in AddBCSubOperators() local
219 PetscCall(CreateBasisFromPlex(ceed, dm, label, label_value, height, field, &basis_q_sur)); in AddBCSubOperators()
220 PetscCall(CreateBasisFromPlex(ceed, dm_coord, label, label_value, height, field, &basis_x_sur)); in AddBCSubOperators()
/libCEED/examples/fluids/postprocess/
H A Dvortexshedding.py45 ax_drag.yaxis.label.set_color(palette[0])
47 ax_lift.yaxis.label.set_color(palette[1])
/libCEED/benchmarks/
H A Dpostprocess_plot.py116 label='p=%i' % sol_p)
141 label='p=%i' % sol_p)
152 plot(y / slope1, y, 'k--', label='%g iter/s' % (slope1 / vdim))
153 plot(y / slope2, y, 'k-', label='%g iter/s' % (slope2 / vdim))
/libCEED/examples/petsc/src/
H A Dpetscutils.c121 DMLabel label; in CreateBCLabel() local
125 PetscCall(DMGetLabel(dm, name, &label)); in CreateBCLabel()
126 PetscCall(DMPlexMarkBoundaryFaces(dm, PETSC_DETERMINE, label)); in CreateBCLabel()
127 PetscCall(DMPlexLabelComplete(dm, label)); in CreateBCLabel()
170 DMLabel label; in SetupDMByDegree() local
171 PetscCall(DMGetLabel(dm, "marker", &label)); in SetupDMByDegree()
172 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "wall", label, 1, marker_ids, 0, 0, NULL, NULL, NULL,… in SetupDMByDegree()
/libCEED/interface/
H A Dceed-qfunctioncontext.c886 int CeedContextFieldLabelGetDescription(CeedContextFieldLabel label, const char **field_name, size_… in CeedContextFieldLabelGetDescription() argument
888 if (field_name) *field_name = label->name; in CeedContextFieldLabelGetDescription()
889 if (field_offset) *field_offset = label->offset; in CeedContextFieldLabelGetDescription()
890 if (num_values) *num_values = label->num_values; in CeedContextFieldLabelGetDescription()
891 if (field_description) *field_description = label->description; in CeedContextFieldLabelGetDescription()
892 if (field_type) *field_type = label->type; in CeedContextFieldLabelGetDescription()
/libCEED/examples/fluids/
H A Dconv_plot.py52 ax.loglog(h, H, '--', color=colors[i], label='O(h$^' + str(p) + '$)')
H A Dindex.md403 The terms collected are listed below, with the mathematical definition on the left and the label (p…
/libCEED/doc/papers/joss/
H A Dpaper.md99 …optimized implementations of the action and preconditioning ingredients. \label{fig:decomposition}…
127 (in this case representing a Laplacian) on element resolution, topology, and basis degree.\label{fi…
145 (backends) for heterogeneous architectures.\label{fig:libCEEDBackends}](img/libCEEDBackends.png)
151 …14 and libCEED 0.7 using gcc-10 on EPYC and clang-10/CUDA-10 on Lassen.) \label{fig:bp3}](img/bp3-…
159 ![Vortices develop as a cold air bubble drops to the ground.\label{fig:NSvortices}](img/Vortices.pn…
161 ![Strain energy density in a twisted Neo-Hookean beam.\label{fig:Solids}](img/SolidTwistExample.jpe…
/libCEED/examples/fluids/problems/
H A Dstg_shur14.c305 DMLabel label; in SetupStrongStg() local
326 PetscCall(DMGetLabel(dm, "Face Sets", &label)); in SetupStrongStg()
328 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "STG", label, bc->num_inflow, bc->inflows, 0, num_com… in SetupStrongStg()
/libCEED/examples/python/
H A Dtutorial-6-shell.ipynb224 "\\begin{equation}\\label{eq-ex2-surface}\\tag{eq. 1}\n",
H A Dtutorial-3-basis.ipynb244 " plt.colorbar(label='u')"
/libCEED/
H A DRELEASING.md142 1. CI builds and tests wheels when a pull request has the `release preparation` label. One can also…
/libCEED/include/ceed/
H A Dceed.h426 CEED_EXTERN int CeedContextFieldLabelGetDescription(CeedContextFieldLabel label, const char **field…
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl637 function CeedContextFieldLabelGetDescription(label, field_name, field_offset, num_values, field_des… argument
638 … Ptr{Csize_t}, Ptr{Csize_t}, Ptr{Ptr{Cchar}}, Ptr{CeedContextFieldType}), label, field_name, field…