Home
last modified time | relevance | path

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

/petsc/src/vec/vec/tests/
H A Dex26f.F9011 PetscInt :: num_cells, subsize, i
21 num_cells = 1
23 num_cells = 0
27 PetscCallA(VecSetSizes(v, num_cells*blocksize, PETSC_DECIDE, ierr))
31 subsize = num_cells
/petsc/src/dm/impls/plex/
H A Dplexceed.c58 …el, PetscInt label_value, PetscInt height, PetscInt dm_field, PetscInt *num_cells, PetscInt *cell_… in DMPlexGetLocalOffsets() argument
96 PetscCall(ISGetLocalSize(iter_is, num_cells)); in DMPlexGetLocalOffsets()
99 *num_cells = 0; in DMPlexGetLocalOffsets()
116 PetscInt restr_size = (*num_cells) * (*cell_size); in DMPlexGetLocalOffsets()
121 for (PetscInt p = 0; p < *num_cells; p++) { in DMPlexGetLocalOffsets()
160 …nt_FMT ", %" PetscInt_FMT ") initialized for %" PetscInt_FMT " nodes", *num_cells, *cell_size, cel… in DMPlexGetLocalOffsets()
320 PetscInt num_cells, cell_size, num_comp, lvec_size, *restr_indices; in DMPlexGetCeedRestriction() local
324 …PetscCall(DMPlexGetLocalOffsets(dm, domain_label, label_value, height, dm_field, &num_cells, &cell… in DMPlexGetCeedRestriction()
328 …PetscCall(PetscIntArrayIntoCeedInt_Private(num_cells * cell_size, lvec_size, "lvec_size", &restr_i… in DMPlexGetCeedRestriction()
329 …PetscCallCEED(CeedElemRestrictionCreate(ceed, num_cells, cell_size, num_comp, 1, lvec_size, CEED_M… in DMPlexGetCeedRestriction()