Lines Matching refs:cprefix
99 char *cprefix = NULL; in PCMPICreate() local
138 PetscCall(PetscStrallocpy(prefix, &cprefix)); in PCMPICreate()
139 PetscCall(PetscStrstr(cprefix, "mpi_linear_solver_server_", &found)); in PCMPICreate()
142 PetscCall(PetscStrlen(cprefix, &slen)); in PCMPICreate()
147 if (!pc) PetscCall(PetscMalloc1(len + 1, &cprefix)); in PCMPICreate()
148 PetscCallMPI(MPI_Bcast(cprefix, len + 1, MPI_CHAR, 0, comm)); in PCMPICreate()
149 PetscCall(KSPSetOptionsPrefix(ksp, cprefix)); in PCMPICreate()
151 PetscCall(PetscFree(cprefix)); in PCMPICreate()
171 char *cprefix; in PCMPISetMat() local
200 PetscCall(PetscStrallocpy(prefix, &cprefix)); in PCMPISetMat()
201 PetscCall(PetscStrlen(cprefix, &clen)); in PCMPISetMat()
250 if (!pc) PetscCall(PetscMalloc1(matproperties[7] + 1, &cprefix)); in PCMPISetMat()
251 PetscCallMPI(MPI_Bcast(cprefix, ni, MPI_CHAR, 0, comm)); in PCMPISetMat()
252 PetscCall(MatSetOptionsPrefix(A, cprefix)); in PCMPISetMat()
253 PetscCall(PetscFree(cprefix)); in PCMPISetMat()
720 char *found = NULL, *cprefix; in PCSetUp_Seq() local
733 PetscCall(PetscStrallocpy(prefix, &cprefix)); in PCSetUp_Seq()
734 PetscCall(PetscStrstr(cprefix, "mpi_linear_solver_server_", &found)); in PCSetUp_Seq()
737 PetscCall(KSPSetOptionsPrefix(km->ksps[0], cprefix)); in PCSetUp_Seq()
738 PetscCall(PetscFree(cprefix)); in PCSetUp_Seq()