| /petsc/src/mat/impls/baij/mpi/ |
| H A D | baijov.c | 64 PetscInt *ctr, *tmp, *isz, *isz1, **xdata, **rbuf2, *d_p; in MatIncreaseOverlap_MPIBAIJ_Once() local 142 PetscCall(PetscMalloc4(size, &outdat, size, &ptr, msz, &tmp, size, &ctr)); in MatIncreaseOverlap_MPIBAIJ_Once() 180 PetscCall(PetscArrayzero(ctr, size)); in MatIncreaseOverlap_MPIBAIJ_Once() 190 ctr[proc]++; in MatIncreaseOverlap_MPIBAIJ_Once() 199 if ((ctr_j = ctr[j])) { in MatIncreaseOverlap_MPIBAIJ_Once() 235 PetscCall(PetscFree4(outdat, ptr, tmp, ctr)); in MatIncreaseOverlap_MPIBAIJ_Once() 411 PetscInt val, max1, max2, Mbs, no_malloc = 0, *tmp, new_estimate, ctr; in MatIncreaseOverlap_MPIBAIJ_Receive() local 464 for (ctr = 1; ctr <= i; ctr++) xdata[ctr] = xdata[ctr - 1] + isz1[ctr - 1]; in MatIncreaseOverlap_MPIBAIJ_Receive() 485 for (ctr = 1; ctr <= i; ctr++) xdata[ctr] = xdata[ctr - 1] + isz1[ctr - 1]; in MatIncreaseOverlap_MPIBAIJ_Receive() 504 for (ctr = 1; ctr <= i; ctr++) xdata[ctr] = xdata[ctr - 1] + isz1[ctr - 1]; in MatIncreaseOverlap_MPIBAIJ_Receive() [all …]
|
| /petsc/src/ts/event/ |
| H A D | tsevent.c | 382 event->recorder.ctr = 0; in TSSetEventHandler() 445 PetscInt ctr, stepnum; in TSPostEvent() local 492 ctr = event->recorder.ctr; in TSPostEvent() 493 if (ctr == event->recsize) PetscCall(TSEventRecorderResize(event)); in TSPostEvent() 494 event->recorder.time[ctr] = t; in TSPostEvent() 495 event->recorder.stepnum[ctr] = stepnum; in TSPostEvent() 496 event->recorder.nevents[ctr] = event->nevents_zero; in TSPostEvent() 497 …for (PetscInt i = 0; i < event->nevents_zero; i++) event->recorder.eventidx[ctr][i] = event->event… in TSPostEvent() 498 event->recorder.ctr++; in TSPostEvent() 943 PetscInt ctr; in TSAdjointEventHandler() local [all …]
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiov.c | 506 PetscInt *ctr, *tmp, *isz, **xdata, **rbuf2; in MatIncreaseOverlap_MPIAIJ_Once() local 585 PetscCall(PetscMalloc4(size, &outdat, size, &ptr, msz, &tmp, size, &ctr)); in MatIncreaseOverlap_MPIAIJ_Once() 635 PetscCall(PetscArrayzero(ctr, size)); in MatIncreaseOverlap_MPIAIJ_Once() 649 ctr[proc]++; in MatIncreaseOverlap_MPIAIJ_Once() 663 if ((ctr_j = ctr[j])) { in MatIncreaseOverlap_MPIAIJ_Once() 704 PetscCall(PetscFree4(outdat, ptr, tmp, ctr)); in MatIncreaseOverlap_MPIAIJ_Once() 966 PetscInt val, max1, max2, m, no_malloc = 0, *tmp, new_estimate, ctr; in MatIncreaseOverlap_MPIAIJ_Receive() local 1019 for (ctr = 1; ctr <= i; ctr++) xdata[ctr] = xdata[ctr - 1] + isz1[ctr - 1]; in MatIncreaseOverlap_MPIAIJ_Receive() 1040 for (ctr = 1; ctr <= i; ctr++) xdata[ctr] = xdata[ctr - 1] + isz1[ctr - 1]; in MatIncreaseOverlap_MPIAIJ_Receive() 1059 for (ctr = 1; ctr <= i; ctr++) xdata[ctr] = xdata[ctr - 1] + isz1[ctr - 1]; in MatIncreaseOverlap_MPIAIJ_Receive() [all …]
|
| /petsc/src/mat/impls/dense/mpi/ |
| H A D | mmdense.c | 60 PetscInt msz, **ptr, *ctr, *tmp, bsz; in MatCreateSubMatrices_MPIDense_Local() local 161 PetscCall(PetscMalloc4(size, &sbuf1, size, &ptr, 2 * msz, &tmp, size, &ctr)); in MatCreateSubMatrices_MPIDense_Local() 185 PetscCall(PetscArrayzero(ctr, size)); in MatCreateSubMatrices_MPIDense_Local() 192 ctr[proc]++; in MatCreateSubMatrices_MPIDense_Local() 199 if ((ctr_j = ctr[j])) { in MatCreateSubMatrices_MPIDense_Local() 383 PetscCall(PetscFree4(sbuf1, ptr, tmp, ctr)); in MatCreateSubMatrices_MPIDense_Local()
|
| /petsc/src/mat/impls/fft/fftw/ |
| H A D | fftw.c | 1231 PetscInt p_flag, partial_dim = 1, ctr; in MatCreate_FFTW() local 1251 for (ctr = 1; ctr < ndim; ctr++) { in MatCreate_FFTW() 1252 partial_dim *= dim[ctr]; in MatCreate_FFTW() 1253 pdim[ctr] = dim[ctr]; in MatCreate_FFTW() 1255 if (ctr == ndim - 1) tot_dim *= (dim[ctr] / 2 + 1); in MatCreate_FFTW() 1256 else tot_dim *= dim[ctr]; in MatCreate_FFTW() 1355 for (ctr = 0; ctr < ndim; ctr++) (fftw->dim_fftw)[ctr] = dim[ctr]; in MatCreate_FFTW()
|
| /petsc/src/dm/impls/network/ |
| H A D | network.c | 532 PetscInt i, j, ctr, np; in GetEdgelist_Coupling() local 590 ctr = 0; in GetEdgelist_Coupling() 595 edges[2 * ctr] = vidxlTog[i]; in GetEdgelist_Coupling() 599 edges[2 * ctr + 1] = vidxlTog[i]; in GetEdgelist_Coupling() 600 ctr++; in GetEdgelist_Coupling() 656 …PetscInt i, j, ctr, Nsubnet = network->cloneshared->Nsubnet, np, *edges, *subnetvtx, *subne… in DMNetworkLayoutSetUp() local 685 ctr = 0; in DMNetworkLayoutSetUp() 688 …edges[2 * ctr] = network->cloneshared->subnet[i].vStart + network->cloneshared->subnet[i].edge… in DMNetworkLayoutSetUp() 689 …edges[2 * ctr + 1] = network->cloneshared->subnet[i].vStart + network->cloneshared->subnet[i].edge… in DMNetworkLayoutSetUp() 690 ctr++; in DMNetworkLayoutSetUp() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | tsimpl.h | 502 PetscInt ctr; /* Recorder counter */ member
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | aij.h | 16 PetscInt *ctr; member
|
| H A D | aij.c | 2640 PetscCall(PetscFree4(submatj->sbuf1, submatj->ptr, submatj->tmp, submatj->ctr)); in MatDestroySubMatrix_Private()
|