Searched refs:useedgeweights (Results 1 – 2 of 2) sorted by relevance
24 PetscBool useedgeweights; /* if edge weights are used */ member
72 if (a->useedgeweights) PetscCall(PetscCalloc1(Ncols_recv, &values_recv)); in MatCreateSubMatrix_MPIAdj_data()80 if (a->useedgeweights) { in MatCreateSubMatrix_MPIAdj_data()94 if (a->useedgeweights) values_recv[j] = -1; in MatCreateSubMatrix_MPIAdj_data()103 if (a->useedgeweights) PetscCall(PetscCalloc1(rnclos, &svalues)); in MatCreateSubMatrix_MPIAdj_data()110 if (a->useedgeweights) svalues[rnclos] = values_recv[j]; in MatCreateSubMatrix_MPIAdj_data()122 if (a->useedgeweights) *sadj_values = svalues; in MatCreateSubMatrix_MPIAdj_data()125 if (a->useedgeweights) PetscCall(PetscFree(svalues)); in MatCreateSubMatrix_MPIAdj_data()129 if (a->useedgeweights) PetscCall(PetscFree(values_recv)); in MatCreateSubMatrix_MPIAdj_data()713 PetscBool useedgeweights; in MatMPIAdjSetPreallocation_MPIAdj() local718 if (values) useedgeweights = PETSC_TRUE; in MatMPIAdjSetPreallocation_MPIAdj()[all …]