Home
last modified time | relevance | path

Searched refs:field_label (Results 1 – 5 of 5) sorted by relevance

/libCEED/interface/
H A Dceed-qfunctioncontext.c284 …tFieldLabel(CeedQFunctionContext ctx, const char *field_name, CeedContextFieldLabel *field_label) { in CeedQFunctionContextGetFieldLabel() argument
290 *field_label = ctx->field_labels[field_index]; in CeedQFunctionContextGetFieldLabel()
292 *field_label = NULL; in CeedQFunctionContextGetFieldLabel()
309 int CeedQFunctionContextSetGeneric(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, Cee… in CeedQFunctionContextSetGeneric() argument
314 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextSetGeneric()
315 …QFunctionContext field with name \"%s\" registered as %s, not registered as %s", field_label->name, in CeedQFunctionContextSetGeneric()
316 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextSetGeneric()
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()
342 int CeedQFunctionContextGetGenericRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label,… in CeedQFunctionContextGetGenericRead() argument
[all …]
H A Dceed-operator.c387 static int CeedOperatorContextSetGeneric(CeedOperator op, CeedContextFieldLabel field_label, CeedCo… in CeedOperatorContextSetGeneric() argument
390 CeedCheck(field_label, CeedOperatorReturnCeed(op), CEED_ERROR_UNSUPPORTED, "Invalid field label"); in CeedOperatorContextSetGeneric()
393 if (field_label->from_op) { in CeedOperatorContextSetGeneric()
397 if (op->context_labels[i] == field_label) index = i; in CeedOperatorContextSetGeneric()
409 …CeedCheck(num_sub == field_label->num_sub_labels, CeedOperatorReturnCeed(op), CEED_ERROR_UNSUPPORT… in CeedOperatorContextSetGeneric()
417 if (ctx && field_label->sub_labels[i]) { in CeedOperatorContextSetGeneric()
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()
450 static int CeedOperatorContextGetGenericRead(CeedOperator op, CeedContextFieldLabel field_label, Ce… in CeedOperatorContextGetGenericRead() argument
454 CeedCheck(field_label, CeedOperatorReturnCeed(op), CEED_ERROR_UNSUPPORTED, "Invalid field label"); in CeedOperatorContextGetGenericRead()
[all …]
/libCEED/include/ceed/
H A Dbackend.h406 …etFieldLabel(CeedQFunctionContext ctx, const char *field_name, CeedContextFieldLabel *field_label);
407 …ctionContextSetGeneric(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, CeedContextFie…
409 …nContextGetGenericRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, CeedContextFie…
411 …textRestoreGenericRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, CeedContextFie…
413 …nctionContextSetDouble(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, double *values…
414 …onContextGetDoubleRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, size_t *num_va…
416 …ntextRestoreDoubleRead(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const double *…
417 …unctionContextSetInt32(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, int32_t *value…
418 …ionContextGetInt32Read(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, size_t *num_va…
420 …ontextRestoreInt32Read(CeedQFunctionContext ctx, CeedContextFieldLabel field_label, const int32_t …
[all …]
H A Dceed.h490 …rGetContextFieldLabel(CeedOperator op, const char *field_name, CeedContextFieldLabel *field_label);
491 CEED_EXTERN int CeedOperatorSetContextDouble(CeedOperator op, CeedContextFieldLabel field_label, d…
492 …eedOperatorGetContextDoubleRead(CeedOperator op, CeedContextFieldLabel field_label, size_t *num_va…
493 …peratorRestoreContextDoubleRead(CeedOperator op, CeedContextFieldLabel field_label, const double *…
494 CEED_EXTERN int CeedOperatorSetContextInt32(CeedOperator op, CeedContextFieldLabel field_label, in…
495 CEED_EXTERN int CeedOperatorGetContextInt32Read(CeedOperator op, CeedContextFieldLabel field_label
496 …OperatorRestoreContextInt32Read(CeedOperator op, CeedContextFieldLabel field_label, const int32_t …
497 CEED_EXTERN int CeedOperatorSetContextBoolean(CeedOperator op, CeedContextFieldLabel field_label, …
498 …edOperatorGetContextBooleanRead(CeedOperator op, CeedContextFieldLabel field_label, size_t *num_va…
499 …eratorRestoreContextBooleanRead(CeedOperator op, CeedContextFieldLabel field_label, const bool **v…
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl789 function CeedOperatorGetContextFieldLabel(op, field_name, field_label) argument
790 …ibceed), Cint, (CeedOperator, Ptr{Cchar}, Ptr{CeedContextFieldLabel}), op, field_name, field_label)
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 …Operator, CeedContextFieldLabel, Ptr{Csize_t}, Ptr{Ptr{Cdouble}}), op, field_label, num_values, va…
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 …]