Home
last modified time | relevance | path

Searched refs:cell_size (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexceed.c58 …lue, PetscInt height, PetscInt dm_field, PetscInt *num_cells, PetscInt *cell_size, PetscInt *num_c… in DMPlexGetLocalOffsets() argument
114 *cell_size = num_dual_basis_vectors / *num_comp; in DMPlexGetLocalOffsets()
116 PetscInt restr_size = (*num_cells) * (*cell_size); in DMPlexGetLocalOffsets()
120 PetscInt P = dim - height ? (PetscInt)PetscPowReal(*cell_size, 1.0 / (dim - height)) : 0; in DMPlexGetLocalOffsets()
143 for (PetscInt i = 0; i < *cell_size; i++) { in DMPlexGetLocalOffsets()
146 if (*cell_size == P) ii = *cell_size - 1 - i; in DMPlexGetLocalOffsets()
147 else if (*cell_size == P * P) { in DMPlexGetLocalOffsets()
150 …r flipping point with cell size %" PetscInt_FMT " != P (%" PetscInt_FMT ") or P^2", *cell_size, P); in DMPlexGetLocalOffsets()
160 … %" PetscInt_FMT ") initialized for %" PetscInt_FMT " nodes", *num_cells, *cell_size, cell_offset); in DMPlexGetLocalOffsets()
320 PetscInt num_cells, cell_size, num_comp, lvec_size, *restr_indices; in DMPlexGetCeedRestriction() local
[all …]
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c632 PetscInt numCells = ctx->simplex ? 12 : 6, cell_size = ctx->simplex ? 3 : 4, j; in LandauDMCreateVMeshes() local
678 …PetscCall(DMPlexCreateFromCellListPetsc(comm_self, 2, numCells, numVerts, cell_size, ctx->interpol… in LandauDMCreateVMeshes()
685 const PetscInt numCells = 7, cell_size = 8, numVerts = 16; in LandauDMCreateVMeshes() local
716 …PetscCall(DMPlexCreateFromCellListPetsc(comm_self, 3, numCells, numVerts, cell_size, ctx->interpol… in LandauDMCreateVMeshes()