Lines Matching full:name
319 @note The name of the second parameter must be `PetscOptionsObject` due to abuse of PETSc macros
786 @param[in] name Name of the context field
791 PetscErrorCode MatCeedSetContextDouble(Mat mat, const char *name, double value) { in MatCeedSetContextDouble() argument
800 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult, name, &label)); in MatCeedSetContextDouble()
804 PetscCall(MatCeedGetContextDouble(mat, name, &set_value)); in MatCeedSetContextDouble()
812 … PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult_transpose, name, &label)); in MatCeedSetContextDouble()
816 PetscCall(MatCeedGetContextDouble(mat, name, &set_value)); in MatCeedSetContextDouble()
837 @param[in] name Name of the context field
842 PetscErrorCode MatCeedGetContextDouble(Mat mat, const char *name, double *value) { in MatCeedGetContextDouble() argument
851 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble()
854 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble()
874 @param[in] name Name of the context field
879 PetscErrorCode MatCeedSetContextReal(Mat mat, const char *name, PetscReal value) { in MatCeedSetContextReal() argument
883 PetscCall(MatCeedSetContextDouble(mat, name, value_double)); in MatCeedSetContextReal()
893 @param[in] name Name of the context field
898 PetscErrorCode MatCeedGetContextReal(Mat mat, const char *name, PetscReal *value) { in MatCeedGetContextReal() argument
902 PetscCall(MatCeedGetContextDouble(mat, name, &value_double)); in MatCeedGetContextReal()
1048 @param[in] op Name of the `MatOperation`