Home
last modified time | relevance | path

Searched refs:Ncell (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/plex/tests/
H A Dex49.c101 PetscInt *offsets, Ncell, Ncl, Nc, n; in CheckOffsets() local
103 …PetscCall(DMPlexGetLocalOffsets(dm, domain_label, label_value, height, f, &Ncell, &Ncl, &Nc, &n, &… in CheckOffsets()
104 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, Ncell * Ncl, offsets, PETSC_OWN_POINTER, &offIS)); in CheckOffsets()
138 PetscInt cdim, *offsets, Ncell, Ncl, Nc, n; in CheckOffsets() local
154 …PetscCall(DMPlexGetLocalOffsets(cdm, domain_label, label_value, height, 0, &Ncell, &Ncl, &Nc, &n, … in CheckOffsets()
160 for (PetscInt c = 0; c < Ncell; ++c) { in CheckOffsets()
H A Dex42.c266 PetscInt dim, cdim, cStart, cEnd, Ncell; in LibCeedSetupByDegree() local
273 Ncell = cEnd - cStart; in LibCeedSetupByDegree()
288 …PetscCall(CeedElemRestrictionCreateStrided(ceed, Ncell, nqpts, Nqdata, Nqdata * Ncell * nqpts, CEE… in LibCeedSetupByDegree()
/petsc/src/dm/interface/
H A Ddmceed.c143 PetscInt dim, cdim, cStart, cEnd, Ncell; in DMCeedCreateGeometry() local
152 Ncell = cEnd - cStart; in DMCeedCreateGeometry()
161 …PetscCallCEED(CeedElemRestrictionCreateStrided(ceed, Ncell, Nq, *Nqdata, Ncell * Nq * (*Nqdata), C… in DMCeedCreateGeometry()
/petsc/src/dm/impls/swarm/tests/
H A Dex2.c180 PetscInt Ncell, Np = user->particlesPerCell, p, cStart, c, dim, d, Nfc; in CreateParticles() local
203 PetscCall(DMPlexGetHeightStratum(dm, 0, NULL, &Ncell)); in CreateParticles()
204 PetscCall(DMSwarmSetLocalSizes(*sw, Ncell * Np, 0)); in CreateParticles()
217 for (c = 0; c < Ncell; ++c) { in CreateParticles()
242 for (c = 0; c < Ncell; ++c) { in CreateParticles()
/petsc/src/dm/impls/plex/
H A Dplexfem.c4721 const PetscInt Ncell = PetscMin(chunkSize, numCells - offCell); in DMPlexComputeJacobian_Patch_Internal() local
4725 for (c = 0; c < Ncell; ++c) { in DMPlexComputeJacobian_Patch_Internal()
4751 …if (hasJac) PetscCall(PetscFEIntegrateJacobian(prob, prob, PETSCFE_JACOBIAN, key, Ncell, cgeomFEM,… in DMPlexComputeJacobian_Patch_Internal()
4752 …PetscCall(PetscFEIntegrateJacobian(prob, prob, PETSCFE_JACOBIAN_PRE, key, Ncell, cgeomFEM, u, u_t,… in DMPlexComputeJacobian_Patch_Internal()
4753 …if (hasDyn) PetscCall(PetscFEIntegrateJacobian(prob, prob, PETSCFE_JACOBIAN_DYN, key, Ncell, cgeom… in DMPlexComputeJacobian_Patch_Internal()
4777 for (c = 0; c < Ncell; ++c) { in DMPlexComputeJacobian_Patch_Internal()