Home
last modified time | relevance | path

Searched refs:cellDim (Results 1 – 4 of 4) sorted by relevance

/petsc/lib/petsc/bin/
H A Dpetsc_gen_xdmf.py74 def writeSpaceGridHeader(self, fp, numCells, numCorners, cellDim, spaceDim, cellsName = "cells"): argument
89 ''' % (self.cellMap[cellDim][numCorners], numCells, cellsName, "XYZ" if spaceDim > 2 else "XY"))
205 …def write(self, hdfFilename, topologyPath, numCells, numCorners, cellDim, htopologyPath, numHCells… argument
220 self.writeSpaceGridHeader(fp, numHCells, numHCorners, cellDim, spaceDim, "hcells")
222 self.writeSpaceGridHeader(fp, numCells, numCorners, cellDim, spaceDim)
270 cellDim = topo['cells'].attrs['cell_dim']
294 …Xdmf(xdmfFilename).write(hdfFilename, topoPath, numCells, numCorners, cellDim, htopoPath, numHCell…
/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c2738 PetscInt cellDim, faceSize, f; in DMPlexGetFaceOrientation() local
2742 PetscCall(DMGetDimension(dm, &cellDim)); in DMPlexGetFaceOrientation()
2743 …scPrintf(comm, "cellDim: %" PetscInt_FMT " numCorners: %" PetscInt_FMT "\n", cellDim, numCorners)); in DMPlexGetFaceOrientation()
2745 if (cellDim == 1 && numCorners == 2) { in DMPlexGetFaceOrientation()
2749 } else if (cellDim == 2 && numCorners == 3) { in DMPlexGetFaceOrientation()
2753 } else if (cellDim == 3 && numCorners == 4) { in DMPlexGetFaceOrientation()
2757 } else if (cellDim == 1 && numCorners == 3) { in DMPlexGetFaceOrientation()
2761 } else if (cellDim == 2 && numCorners == 4) { in DMPlexGetFaceOrientation()
2772 } else if (cellDim == 2 && numCorners == 6) { in DMPlexGetFaceOrientation()
2811 } else if (cellDim == 2 && numCorners == 9) { in DMPlexGetFaceOrientation()
[all …]
H A Dplexpartition.c551 PetscInt dim, cellDim, depth = 0, faceDepth, cStart, cEnd, c, numCells, cell; in DMPlexCreateNeighborCSR() local
556 cellDim = dim - cellHeight; in DMPlexCreateNeighborCSR()
634 PetscCall(DMPlexGetNumFaceVertices(dm, cellDim, corners, &nFV)); in DMPlexCreateNeighborCSR()
H A Dplex.c5310 PetscErrorCode DMPlexGetNumFaceVertices(DM dm, PetscInt cellDim, PetscInt numCorners, PetscInt *num… in DMPlexGetNumFaceVertices() argument
5317 switch (cellDim) { in DMPlexGetNumFaceVertices()
5339 …valid number of face corners %" PetscInt_FMT " for dimension %" PetscInt_FMT, numCorners, cellDim); in DMPlexGetNumFaceVertices()
5369 …valid number of face corners %" PetscInt_FMT " for dimension %" PetscInt_FMT, numCorners, cellDim); in DMPlexGetNumFaceVertices()
5373 SETERRQ(comm, PETSC_ERR_ARG_OUTOFRANGE, "Invalid cell dimension %" PetscInt_FMT, cellDim); in DMPlexGetNumFaceVertices()