Home
last modified time | relevance | path

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

/petsc/src/mat/impls/baij/mpi/
H A Dbaijov.c411 PetscInt val, max1, max2, Mbs, no_malloc = 0, *tmp, new_estimate, ctr; in MatIncreaseOverlap_MPIBAIJ_Receive() local
457 new_estimate = (PetscInt)(1.5 * mem_estimate) + 1; in MatIncreaseOverlap_MPIBAIJ_Receive()
458 PetscCall(PetscMalloc1(new_estimate, &tmp)); in MatIncreaseOverlap_MPIBAIJ_Receive()
462 mem_estimate = new_estimate; in MatIncreaseOverlap_MPIBAIJ_Receive()
478 new_estimate = (PetscInt)(1.5 * mem_estimate) + 1; in MatIncreaseOverlap_MPIBAIJ_Receive()
479 PetscCall(PetscMalloc1(new_estimate, &tmp)); in MatIncreaseOverlap_MPIBAIJ_Receive()
483 mem_estimate = new_estimate; in MatIncreaseOverlap_MPIBAIJ_Receive()
497 new_estimate = (PetscInt)(1.5 * mem_estimate) + 1; in MatIncreaseOverlap_MPIBAIJ_Receive()
498 PetscCall(PetscMalloc1(new_estimate, &tmp)); in MatIncreaseOverlap_MPIBAIJ_Receive()
502 mem_estimate = new_estimate; in MatIncreaseOverlap_MPIBAIJ_Receive()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiov.c966 PetscInt val, max1, max2, m, no_malloc = 0, *tmp, new_estimate, ctr; in MatIncreaseOverlap_MPIAIJ_Receive() local
1012 new_estimate = (PetscInt)(1.5 * mem_estimate) + 1; in MatIncreaseOverlap_MPIAIJ_Receive()
1013 PetscCall(PetscMalloc1(new_estimate, &tmp)); in MatIncreaseOverlap_MPIAIJ_Receive()
1017 mem_estimate = new_estimate; in MatIncreaseOverlap_MPIAIJ_Receive()
1033 new_estimate = (PetscInt)(1.5 * mem_estimate) + 1; in MatIncreaseOverlap_MPIAIJ_Receive()
1034 PetscCall(PetscMalloc1(new_estimate, &tmp)); in MatIncreaseOverlap_MPIAIJ_Receive()
1038 mem_estimate = new_estimate; in MatIncreaseOverlap_MPIAIJ_Receive()
1052 new_estimate = (PetscInt)(1.5 * mem_estimate) + 1; in MatIncreaseOverlap_MPIAIJ_Receive()
1053 PetscCall(PetscMalloc1(new_estimate, &tmp)); in MatIncreaseOverlap_MPIAIJ_Receive()
1057 mem_estimate = new_estimate; in MatIncreaseOverlap_MPIAIJ_Receive()