| /petsc/include/petsc/private/ |
| H A D | logimpl.h | 22 int num_entries; \ 33 a->num_entries = 0; \ 51 for (int i = 0; i < a->num_entries; i++) PetscCall((*destructor)(&a->array[i])); \ 71 PetscCall(PetscArraycpy(new_array, a->array, a->num_entries)); \ 84 for (int i = a->num_entries; i < new_size; i++) PetscCall((*constructor)(&a->array[i])); \ 85 a->num_entries = PetscMax(a->num_entries, new_size); \ 91 PetscCall(PetscLog##Container##Recapacity(a, a->num_entries + 1)); \ 92 a->array[a->num_entries++] = new_entry; \ 101 for (int i = 0; i < a->num_entries; i++) { \ 112 …rrorCode PetscLog##Container##GetSize(PetscLog##Container a, PetscInt *num_entries, PetscInt *max_… [all …]
|
| /petsc/src/sys/logging/handler/impls/perfstubs/ |
| H A D | logperfstubs.c | 115 if (event >= ps->events->num_entries) PetscCall(PetscLogHandlerPSUpdateEvents(handler)); in PetscLogHandlerEventBegin_Perfstubs() 129 if (event >= ps->events->num_entries) PetscCall(PetscLogHandlerPSUpdateEvents(handler)); in PetscLogHandlerEventEnd_Perfstubs() 143 if (stage >= ps->stages->num_entries) PetscCall(PetscLogHandlerPSUpdateStages(handler)); in PetscLogHandlerStagePush_Perfstubs() 155 if (stage >= ps->stages->num_entries) PetscCall(PetscLogHandlerPSUpdateStages(handler)); in PetscLogHandlerStagePop_Perfstubs()
|
| /petsc/src/mat/impls/aij/seq/seqhipsparse/ |
| H A D | aijhipsparse.hip.cxx | 328 loTriFactor->csrMat->num_entries = nzLower; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 340 …riFactor->solveOp, loTriFactor->csrMat->num_rows, loTriFactor->csrMat->num_entries, loTriFactor->d… in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 345 …riFactor->solveOp, loTriFactor->csrMat->num_rows, loTriFactor->csrMat->num_entries, loTriFactor->d… in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 445 upTriFactor->csrMat->num_entries = nzUpper; in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 456 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 461 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 606 upTriFactor->csrMat->num_entries = a->nz; in MatSeqAIJHIPSPARSEBuildICCTriMatrices() 620 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJHIPSPARSEBuildICCTriMatrices() 625 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJHIPSPARSEBuildICCTriMatrices() 652 loTriFactor->csrMat->num_entries = a->nz; in MatSeqAIJHIPSPARSEBuildICCTriMatrices() [all …]
|
| H A D | hipsparsematimpl.h | 177 PetscInt num_entries; member
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 380 loTriFactor->csrMat->num_entries = nzLower; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 395 …riFactor->solveOp, loTriFactor->csrMat->num_rows, loTriFactor->csrMat->num_entries, loTriFactor->d… in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 401 …riFactor->solveOp, loTriFactor->csrMat->num_rows, loTriFactor->csrMat->num_entries, loTriFactor->d… in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 509 upTriFactor->csrMat->num_entries = nzUpper; in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 524 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 530 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 845 upTriFactor->csrMat->num_entries = a->nz; in MatSeqAIJCUSPARSEBuildICCTriMatrices() 863 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJCUSPARSEBuildICCTriMatrices() 869 …riFactor->solveOp, upTriFactor->csrMat->num_rows, upTriFactor->csrMat->num_entries, upTriFactor->d… in MatSeqAIJCUSPARSEBuildICCTriMatrices() 900 loTriFactor->csrMat->num_entries = a->nz; in MatSeqAIJCUSPARSEBuildICCTriMatrices() [all …]
|
| H A D | cusparsematimpl.h | 188 PetscInt num_entries; member
|
| /petsc/src/sys/tutorials/ |
| H A D | ex7.c | 187 PetscInt num_entries; in PetscLogHandlerView_Ex7() local 190 PetscCall(PetscHMapIGetSize(ctx->running, &num_entries)); in PetscLogHandlerView_Ex7() 191 …etscViewerASCIIPrintf(viewer, "%" PetscInt_FMT " events were seen by the handler\n", num_entries)); in PetscLogHandlerView_Ex7()
|
| /petsc/src/sys/logging/state/ |
| H A D | logstate.c | 21 PetscInt num_entries, max_events, max_stages; in PetscLogStateCreate() local 34 num_entries = s->bt_num_events * s->bt_num_stages; in PetscLogStateCreate() 35 PetscCall(PetscBTCreate(num_entries, &s->active)); in PetscLogStateCreate()
|
| H A D | logregistry.c | 94 *stage = registry->stages->num_entries; in PetscLogRegistryStageRegister() 107 *event = registry->events->num_entries; in PetscLogRegistryEventRegister() 122 *clss = registry->classes->num_entries; in PetscLogRegistryClassRegister()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vscat.c | 196 …erGetRemoteCount_Private(VecScatter sf, PetscBool send, PetscInt *num_procs, PetscInt *num_entries) in VecScatterGetRemoteCount_Private() argument 217 if (num_entries) *num_entries = offset[nranks] - offset[remote_start]; in VecScatterGetRemoteCount_Private() 220 if (num_entries) *num_entries = 0; in VecScatterGetRemoteCount_Private()
|