Home
last modified time | relevance | path

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

12

/libCEED/examples/fluids/
H A DstdoutParsing.py42 values = {}
46 values["degree"] = match[1]
47 values["dofs"] = match[2]
49 values["time"] = match[4]
50 values["error"] = match[5]
55 values["box_face" + str(i)] = box_face
57 return values
66 values = parseFile(file) variable
67 results = results.append(values, ignore_index=True)
H A Dconv_plot.py47 p = data['degree'].values[0]
/libCEED/tests/
H A Dt525-operator.c55 const int *values; in main() local
58 CeedOperatorGetContextInt32Read(op_sub_1, count_label, &num_values, &values); in main()
60 …if (values[0] != ctx_data_1.count) printf("Incorrect value found, found %d but expected %d", value… in main()
61 CeedOperatorRestoreContextInt32Read(op_sub_1, count_label, &values); in main()
86 const double *values; in main() local
89 CeedOperatorGetContextDoubleRead(op_composite, time_label, &num_values, &values); in main()
91 …if (values[0] != ctx_data_2.time) printf("Incorrect value found, found %f but expected %f", values in main()
92 CeedOperatorRestoreContextDoubleRead(op_composite, time_label, &values); in main()
H A Djunit_common.py49 def __call__(self, parser, namespace, values, option_string=None): argument
50 if isinstance(values, self.enum_type):
52 elif isinstance(values, str):
53 values = self.enum_type(values.lower())
54 elif isinstance(values, Iterable):
55 values = [self.enum_type(v.lower()) for v in values]
58 setattr(namespace, self.dest, values)
/libCEED/interface/
H A Dceed-qfunctioncontext.c309 …ionContext ctx, CeedContextFieldLabel field_label, CeedContextFieldType field_type, void *values) { in CeedQFunctionContextSetGeneric() argument
319 is_different = memcmp(&data[field_label->offset], values, field_label->size); in CeedQFunctionContextSetGeneric()
323 memcpy(&data[field_label->offset], values, field_label->size); in CeedQFunctionContextSetGeneric()
343 size_t *num_values, void *values) { in CeedQFunctionContextGetGenericRead() argument
352 *(void **)values = &data[field_label->offset]; in CeedQFunctionContextGetGenericRead()
380 void *values) { in CeedQFunctionContextRestoreGenericRead() argument
386 CeedCall(CeedQFunctionContextRestoreDataRead(ctx, values)); in CeedQFunctionContextRestoreGenericRead()
401 …tionContextSetDouble(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, double *values) { in CeedQFunctionContextSetDouble() argument
403 CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label, CEED_CONTEXT_FIELD_DOUBLE, values)); in CeedQFunctionContextSetDouble()
419 …unctionContext ctx, CeedContextFieldLabel field_label, size_t *num_values, const double **values) { in CeedQFunctionContextGetDoubleRead() argument
[all …]
H A Dceed-operator.c387 …eedOperator op, CeedContextFieldLabel field_label, CeedContextFieldType field_type, void *values) { in CeedOperatorContextSetGeneric() argument
418 … CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label->sub_labels[i], field_type, values)); in CeedOperatorContextSetGeneric()
427 CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label, field_type, values)); in CeedOperatorContextSetGeneric()
451 void *values) { in CeedOperatorContextGetGenericRead() argument
456 *(void **)values = NULL; in CeedOperatorContextGetGenericRead()
485 …edQFunctionContextGetGenericRead(ctx, field_label->sub_labels[i], field_type, num_values, values)); in CeedOperatorContextGetGenericRead()
496 CeedCall(CeedQFunctionContextGetGenericRead(ctx, field_label, field_type, num_values, values)); in CeedOperatorContextGetGenericRead()
517 …eedOperator op, CeedContextFieldLabel field_label, CeedContextFieldType field_type, void *values) { in CeedOperatorContextRestoreGenericRead() argument
548 …dCall(CeedQFunctionContextRestoreGenericRead(ctx, field_label->sub_labels[i], field_type, values)); in CeedOperatorContextRestoreGenericRead()
559 CeedCall(CeedQFunctionContextRestoreGenericRead(ctx, field_label, field_type, values)); in CeedOperatorContextRestoreGenericRead()
[all …]
H A Dceed-preconditioning.c671 int CeedOperatorAssembleSingle(CeedOperator op, CeedInt offset, CeedVector values) { in CeedOperatorAssembleSingle() argument
687 CeedCall(op->LinearAssembleSingle(op, offset, values)); in CeedOperatorAssembleSingle()
696 CeedCall(CeedOperatorAssembleSingle(op_fallback, offset, values)); in CeedOperatorAssembleSingle()
801 CeedCall(CeedVectorGetArray(values, CEED_MEM_HOST, &vals)); in CeedOperatorAssembleSingle()
893 CeedCall(CeedVectorRestoreArray(values, &vals)); in CeedOperatorAssembleSingle()
2587 int CeedOperatorLinearAssemble(CeedOperator op, CeedVector values) { in CeedOperatorLinearAssemble() argument
2606 CeedCall(op->LinearAssemble(op, values)); in CeedOperatorLinearAssemble()
2610 CeedCall(CeedVectorSetValue(values, 0.0)); in CeedOperatorLinearAssemble()
2614 CeedCall(CeedOperatorAssembleSingle(sub_operators[k], offset, values)); in CeedOperatorLinearAssemble()
2620 CeedCall(CeedVectorSetValue(values, 0.0)); in CeedOperatorLinearAssemble()
[all …]
/libCEED/examples/
H A Dbps.md33 $$ (eq-nodal-values)
35 The coefficients $\{u_j\}$ and $\{v_i\}$ are the nodal values of $u$ and $v$, respectively.
36 Inserting the expressions {eq}`eq-nodal-values` into {eq}`eq-general-weak-form`, we obtain the inne…
66 After substituting the same formulations provided in {eq}`eq-nodal-values`, we obtain
/libCEED/examples/solids/src/
H A Dmisc.c94 const CeedScalar *values; in FormJacobian() local
95 CeedVectorGetArrayRead(form_jacob_ctx->coo_values, CEED_MEM_HOST, &values); in FormJacobian()
96 PetscCall(MatSetValuesCOO(form_jacob_ctx->jacob_mat_coarse, values, ADD_VALUES)); in FormJacobian()
97 CeedVectorRestoreArrayRead(form_jacob_ctx->coo_values, &values); in FormJacobian()
/libCEED/include/ceed/
H A Dbackend.h413 …ctionContextSetDouble(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, double *values);
415 const double **values);
416 …toreDoubleRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const double **values);
417 …ctionContextSetInt32(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, int32_t *values);
419 const int32_t **values);
420 …toreInt32Read(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const int32_t **values);
421 …nctionContextSetBoolean(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, bool *values);
423 const bool **values);
424 …storeBooleanRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const bool **values);
477 CEED_INTERN int CeedOperatorAssembleSingle(CeedOperator op, CeedInt offset, CeedVector values);
H A Dceed.h466 CEED_EXTERN int CeedOperatorLinearAssemble(CeedOperator op, CeedVector values);
491 … CeedOperatorSetContextDouble(CeedOperator op, CeedContextFieldLabel field_label, double *values);
492 …ead(CeedOperator op, CeedContextFieldLabel field_label, size_t *num_values, const double **values);
493 …estoreContextDoubleRead(CeedOperator op, CeedContextFieldLabel field_label, const double **values);
494 … CeedOperatorSetContextInt32(CeedOperator op, CeedContextFieldLabel field_label, int32_t *values);
495 …ad(CeedOperator op, CeedContextFieldLabel field_label, size_t *num_values, const int32_t **values);
496 …estoreContextInt32Read(CeedOperator op, CeedContextFieldLabel field_label, const int32_t **values);
497 …t CeedOperatorSetContextBoolean(CeedOperator op, CeedContextFieldLabel field_label, bool *values);
498 …nRead(CeedOperator op, CeedContextFieldLabel field_label, size_t *num_values, const bool **values);
499 …RestoreContextBooleanRead(CeedOperator op, CeedContextFieldLabel field_label, const bool **values);
/libCEED/examples/deal.II/
H A Dbps-kokkos.h80 fe_eval.evaluate(EvaluationFlags::values); in operator()
83 fe_eval.integrate(EvaluationFlags::values); in operator()
276 matrix_free, diagonal, op_quad, EvaluationFlags::values, EvaluationFlags::values); in compute_inverse_diagonal_internal()
H A Dbps-cpu.h153 phi.evaluate(EvaluationFlags::values); in do_cell_integral_local()
156 phi.integrate(EvaluationFlags::values); in do_cell_integral_local()
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl737 function CeedOperatorLinearAssemble(op, values) argument
738 ccall((:CeedOperatorLinearAssemble, libceed), Cint, (CeedOperator, CeedVector), op, values)
793 function CeedOperatorSetContextDouble(op, field_label, values) argument
794 …uble, libceed), Cint, (CeedOperator, CeedContextFieldLabel, Ptr{Cdouble}), op, field_label, values)
797 function CeedOperatorGetContextDoubleRead(op, field_label, num_values, values) argument
798 …ator, CeedContextFieldLabel, Ptr{Csize_t}, Ptr{Ptr{Cdouble}}), op, field_label, num_values, values)
801 function CeedOperatorRestoreContextDoubleRead(op, field_label, values) argument
802 … libceed), Cint, (CeedOperator, CeedContextFieldLabel, Ptr{Ptr{Cdouble}}), op, field_label, values)
805 function CeedOperatorSetContextInt32(op, field_label, values) argument
806 …xtInt32, libceed), Cint, (CeedOperator, CeedContextFieldLabel, Ptr{Cint}), op, field_label, values)
[all …]
/libCEED/julia/LibCEED.jl/src/
H A DBasis.jl70 - `interp1d`: Matrix of size `(q, p)` expressing the values of nodal basis functions at
125 - `interp`: Matrix of size `(nqpts, nnodes)` expressing the values of nodal basis functions
183 - `interp`: Matrix of size `(dim, nqpts, nnodes)` expressing the values of basis functions
241 - `interp`: Matrix of size `(dim, nqpts, nnodes)` expressing the values of basis functions
302 - `CEED_EVAL_NONE` to use values directly,
303 - `CEED_EVAL_INTERP` to use interpolated values,
H A DCeedVector.jl122 applicable. The backend may copy values to a different [`MemType`](@ref). See also
233 Sets the values of [`CeedVector`](@ref) `v` equal to those of `v2` using broadcasting.
/libCEED/examples/petsc/
H A Dmultigrid.c371 const CeedScalar *values; in main() local
372 CeedVectorGetArrayRead(coo_values, CEED_MEM_HOST, &values); in main()
373 PetscCall(MatSetValuesCOO(mat_coarse, values, ADD_VALUES)); in main()
374 CeedVectorRestoreArrayRead(coo_values, &values); in main()
/libCEED/examples/fluids/src/
H A Dmat-ceed.c110 const CeedScalar *values; in MatCeedAssemblePointBlockDiagonalCOO() local
123 PetscCallCeed(ctx->ceed, CeedVectorGetArrayRead(ctx->coo_values_pbd, mem_type, &values)); in MatCeedAssemblePointBlockDiagonalCOO()
124 PetscCall(MatSetValuesCOO(mat_coo, values, INSERT_VALUES)); in MatCeedAssemblePointBlockDiagonalCOO()
127 PetscCallCeed(ctx->ceed, CeedVectorRestoreArrayRead(ctx->coo_values_pbd, &values)); in MatCeedAssemblePointBlockDiagonalCOO()
720 const CeedScalar *values; in MatCeedAssembleCOO() local
733 PetscCallCeed(ctx->ceed, CeedVectorGetArrayRead(ctx->coo_values_full, mem_type, &values)); in MatCeedAssembleCOO()
734 PetscCall(MatSetValuesCOO(mat_coo, values, INSERT_VALUES)); in MatCeedAssembleCOO()
737 PetscCallCeed(ctx->ceed, CeedVectorRestoreArrayRead(ctx->coo_values_full, &values)); in MatCeedAssembleCOO()
/libCEED/backends/magma/tuning/
H A DREADME.md14 A sample run to generate the tuning data for an A100 GPU, considering values of
/libCEED/benchmarks/
H A DREADME.md42 The plot ranges and some other options can be adjusted by editing the values
/libCEED/doc/sphinx/source/
H A Dprecision.md18 …- **C**: {code}`CEED_SCALAR_TYPE` will be defined to match one of the values of the {code}`CeedSca…
H A DlibCEEDapi.md51 …e subdomains, the split degrees of freedom on the mesh elements, and the values at quadrature poin…
68 …athcal{E}}$ will involve not just extracting sub-vectors, but evaluating values at constrained deg…
117 …> - this is similar to **E-vector** where instead of DoFs, the vector represents values at quadrat…
247 …e a scalar value in each quadrature point, while `mass` uses these saved values to perform the act…
298 … structure can be specified in terms of the `Q×P` matrices that evaluate values and gradients at q…
322 …element restriction that would define field values at constrained nodes as linear combinations of …
/libCEED/doc/papers/joss/
H A Dpaper.md94 where $\mathcal E_e$ restricts to element $e$, $B_e$ evaluates solution values and derivatives to q…
96 …s while Dirichlet boundary conditions can be added by setting the target values prior to applying …
114 …representation due to the computational efficiency of computing solution values and derivatives at…
115 …y providing quadrature weights and the matrices used to compute solution values and derivatives at…
/libCEED/
H A DDoxyfile106 # Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Bulgarian,
139 # following values are used ($name is automatically replaced with the name of
610 # Possible values are: SYSTEM, NO and YES.
867 # Possible values are: NO, YES and FAIL_ON_WARNINGS.
1341 # Possible values are: LIGHT Always generate light output., DARK Always generate
1373 # gradually make the output lighter, whereas values above 100 make the output
1655 # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
1658 # Note that a value of 0 will completely suppress the enum values from appearing
1690 # Possible values are: png (the default) and svg (looks nicer but requires the
1728 # Possible values are: MathJax_2 and MathJax_3.
[all …]
/libCEED/backends/sycl-ref/
H A Dceed-sycl-ref-operator.sycl.cpp1340 static int CeedOperatorAssembleSingle_Sycl(CeedOperator op, CeedInt offset, CeedVector values) { in CeedOperatorAssembleSingle_Sycl() argument
1363 CeedCallBackend(CeedVectorGetArrayWrite(values, CEED_MEM_DEVICE, &values_array)); in CeedOperatorAssembleSingle_Sycl()
1375 CeedCallBackend(CeedVectorRestoreArray(values, &values_array)); in CeedOperatorAssembleSingle_Sycl()

12