Home
last modified time | relevance | path

Searched refs:coo_mat_type (Results 1 – 2 of 2) sorted by relevance

/libCEED/examples/fluids/src/
H A Dmat-ceed.c278 PetscCall(PetscViewerASCIIPrintf(viewer, "Default COO MatType: %s\n", ctx->coo_mat_type)); in MatView_Ceed()
460 MatType coo_mat_type; in MatCreateCeed() local
463 if (strstr(vec_type, VECCUDA)) coo_mat_type = MATAIJCUSPARSE; in MatCreateCeed()
464 else if (strstr(vec_type, VECKOKKOS)) coo_mat_type = MATAIJKOKKOS; in MatCreateCeed()
465 else coo_mat_type = MATAIJ; in MatCreateCeed()
466 PetscCall(PetscStrallocpy(coo_mat_type, &ctx->coo_mat_type)); in MatCreateCeed()
621 PetscCall(PetscFree(ctx->coo_mat_type)); in MatCeedCreateMatCOO()
622 PetscCall(PetscStrallocpy(coo_mat_type_cl, &ctx->coo_mat_type)); in MatCeedCreateMatCOO()
633 PetscCall(DMSetMatType(ctx->dm_x, ctx->coo_mat_type)); in MatCeedCreateMatCOO()
1043 PetscCall(PetscStrlen(ctx->coo_mat_type, &len_old)); in MatCeedSetCOOMatType()
[all …]
/libCEED/examples/fluids/include/
H A Dmat-ceed-impl.h19 char *name, *coo_mat_type; member