Lines Matching full:type
337 // Check for specific CL coo mat type for this Mat in MatSetFromOptions_Ceed()
509 // -- Set internal mat type in MatCreateCeed()
533 @brief Copy `MATCEED` into a compatible `Mat` with type `MatShell` or `MATCEED`.
546 // Check type compatibility in MatCeedCopy()
553 PetscCheck(is_matceed, PETSC_COMM_SELF, PETSC_ERR_LIB, "mat_ceed must have type " MATCEED); in MatCeedCopy()
557 …PetscCheck(is_matceed || is_matshell, PETSC_COMM_SELF, PETSC_ERR_LIB, "mat_other must have type " … in MatCeedCopy()
1100 @brief Sets the default COO matrix type as a string from the `MATCEED`.
1105 @param[in] type COO `MatType` to set
1109 PetscErrorCode MatCeedSetCOOMatType(Mat mat, MatType type) { in MatCeedSetCOOMatType() argument
1120 PetscCall(PetscStrlen(type, &len_new)); in MatCeedSetCOOMatType()
1121 if (len_old == len_new) PetscCall(PetscStrncmp(ctx->coo_mat_type, type, len_old, &is_same)); in MatCeedSetCOOMatType()
1151 PetscCall(PetscStrallocpy(type, &ctx->coo_mat_type)); in MatCeedSetCOOMatType()
1157 @brief Gets the default COO matrix type as a string from the `MATCEED`.
1162 @param[in] type COO `MatType`
1166 PetscErrorCode MatCeedGetCOOMatType(Mat mat, MatType *type) { in MatCeedGetCOOMatType() argument
1171 *type = ctx->coo_mat_type; in MatCeedGetCOOMatType()