Searched refs:nodesPerCell (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 504 …tionInfo(PC pc, PetscInt nsubspaces, DM *dms, PetscInt *bs, PetscInt *nodesPerCell, const PetscInt… in PCPatchSetDiscretisationInfo() argument 519 PetscCall(PetscMalloc1(nsubspaces, &patch->nodesPerCell)); in PCPatchSetDiscretisationInfo() 530 patch->nodesPerCell[i] = nodesPerCell[i]; in PCPatchSetDiscretisationInfo() 531 patch->totalDofsPerCell += nodesPerCell[i] * bs[i]; in PCPatchSetDiscretisationInfo() 532 PetscCall(PetscMalloc1((cEnd - cStart) * nodesPerCell[i], &patch->cellNodeMap[i])); in PCPatchSetDiscretisationInfo() 533 …for (j = 0; j < (cEnd - cStart) * nodesPerCell[i]; ++j) patch->cellNodeMap[i][j] = cellNodeMap[i][… in PCPatchSetDiscretisationInfo() 547 static PetscErrorCode PCPatchSetDiscretisationInfoCombined(PC pc, DM dm, PetscInt *nodesPerCell, co… in PCPatchSetDiscretisationInfoCombined() argument 558 PetscCall(PetscMalloc1(patch->nsubspaces, &patch->nodesPerCell)); in PCPatchSetDiscretisationInfoCombined() 567 patch->nodesPerCell[i] = nodesPerCell[i]; in PCPatchSetDiscretisationInfoCombined() 568 patch->totalDofsPerCell += nodesPerCell[i]; in PCPatchSetDiscretisationInfoCombined() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | pcpatchimpl.h | 56 …PetscInt *nodesPerCell; /* [field] Dofs per cell TODO Change "node" to "dof" everywher… member
|
| /petsc/src/snes/impls/patch/ |
| H A D | snespatch.c | 373 …Info(SNES snes, PetscInt nsubspaces, DM *dms, PetscInt *bs, PetscInt *nodesPerCell, const PetscInt… in SNESPatchSetDiscretisationInfo() argument 382 …PetscCall(PCPatchSetDiscretisationInfo(patch->pc, nsubspaces, dms, bs, nodesPerCell, cellNodeMap, … in SNESPatchSetDiscretisationInfo()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | PC.pyx | 2435 cdef PetscInt *nodesPerCell = NULL 2449 CHKERR(PetscMalloc(<size_t>numSubSpaces*sizeof(PetscInt), &nodesPerCell)) 2456 nodesPerCell[i] = asInt(nodes) 2460 cdms, cbs, nodesPerCell, 2464 CHKERR(PetscFree(nodesPerCell))
|
| H A D | SNES.pyx | 2371 cdef PetscInt *nodesPerCell = NULL 2385 CHKERR(PetscMalloc(<size_t>numSubSpaces*sizeof(PetscInt), &nodesPerCell)) 2392 nodesPerCell[i] = asInt(nodes) 2396 cdms, cbs, nodesPerCell, 2400 CHKERR(PetscFree(nodesPerCell))
|