Lines Matching refs:label
798 CeedContextFieldLabel label = NULL; in MatCeedSetContextDouble() local
800 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult, name, &label)); in MatCeedSetContextDouble()
801 if (label) { in MatCeedSetContextDouble()
806 PetscCallCeed(ctx->ceed, CeedOperatorSetContextDouble(ctx->op_mult, label, &value)); in MatCeedSetContextDouble()
811 label = NULL; in MatCeedSetContextDouble()
812 … PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult_transpose, name, &label)); in MatCeedSetContextDouble()
813 if (label) { in MatCeedSetContextDouble()
818 … PetscCallCeed(ctx->ceed, CeedOperatorSetContextDouble(ctx->op_mult_transpose, label, &value)); in MatCeedSetContextDouble()
848 CeedContextFieldLabel label = NULL; in MatCeedGetContextDouble() local
851 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble()
852 if (!label && ctx->op_mult_transpose) { in MatCeedGetContextDouble()
854 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble()
856 if (label) { in MatCeedGetContextDouble()
860 … PetscCallCeed(ctx->ceed, CeedOperatorGetContextDoubleRead(op, label, &num_values, &values_ceed)); in MatCeedGetContextDouble()
862 PetscCallCeed(ctx->ceed, CeedOperatorRestoreContextDoubleRead(op, label, &values_ceed)); in MatCeedGetContextDouble()