Searched refs:cellClosure (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexglvis.c | 784 … PetscInt uvpc, v, csize, csizeCell, cellClosureSize, *cellClosure = NULL, *vidxs = NULL; in DMPlexView_GLVis_ASCII() local 792 PetscCall(DMPlexGetTransitiveClosure(dm, p, PETSC_TRUE, &cellClosureSize, &cellClosure)); in DMPlexView_GLVis_ASCII() 794 if (cellClosure[2 * v] >= vStart && cellClosure[2 * v] < vEnd) { in DMPlexView_GLVis_ASCII() 795 vidxs = cellClosure + 2 * v; in DMPlexView_GLVis_ASCII() 806 … PetscCall(DMPlexRestoreTransitiveClosure(dm, p, PETSC_TRUE, &cellClosureSize, &cellClosure)); in DMPlexView_GLVis_ASCII()
|
| H A D | plextree.c | 1768 PetscInt *cellClosure = NULL, nc; in DMPlexTreeRefineCell() local 1813 PetscCall(DMPlexGetTransitiveClosure(dm, cell, PETSC_TRUE, &nc, &cellClosure)); in DMPlexTreeRefineCell() 1832 PetscInt parentOrientB = cellClosure[2 * j + 1]; in DMPlexTreeRefineCell() 1836 q = cellClosure[2 * j]; in DMPlexTreeRefineCell() 2027 PetscCall(DMPlexRestoreTransitiveClosure(dm, cell, PETSC_TRUE, &nc, &cellClosure)); in DMPlexTreeRefineCell()
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 92 PetscScalar *cellClosure = NULL; in LandauFormJacobian_Internal() local 156 PetscCall(PetscMalloc1(cellClosure_sz * ctx->batch_sz, &cellClosure)); in LandauFormJacobian_Internal() 157 cellClosure_it = cellClosure; in LandauFormJacobian_Internal() 180 …cellClosure == cellClosure_sz * ctx->batch_sz, PETSC_COMM_SELF, PETSC_ERR_PLIB, "iteration wrong %… in LandauFormJacobian_Internal() 196 cellClosure = NULL; in LandauFormJacobian_Internal() 199 } else xdata = cellClosure = NULL; in LandauFormJacobian_Internal() 204 …bian(ctx->plex, Nq, Nb, ctx->batch_sz, ctx->num_grids, numCells, Eq_m, cellClosure, xdata, &ctx->S… in LandauFormJacobian_Internal() 254 if (cellClosure) { in LandauFormJacobian_Internal() 255 …coef = &cellClosure[b_id * IPf_sz_glb + ipf_offset[grid] + loc_elem * Nb * loc_Nf]; // this is con… in LandauFormJacobian_Internal() 583 if (cellClosure) PetscCall(PetscFree(cellClosure)); in LandauFormJacobian_Internal()
|