Home
last modified time | relevance | path

Searched refs:fz (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexcreate.c1570 PetscInt c, f, fx, fy, fz, e, ex, ey, ez; in DMPlexCreateCubeMesh_Internal() local
1578 for (fz = 0; fz < numZEdges; ++fz) { in DMPlexCreateCubeMesh_Internal()
1581 PetscInt cell = (fz * numYEdges + fy) * numXEdges + fx; in DMPlexCreateCubeMesh_Internal()
1582 PetscInt faceB = firstZFace + (fy * numXEdges + fx) * numZVertices + fz; in DMPlexCreateCubeMesh_Internal()
1583 … PetscInt faceT = firstZFace + (fy * numXEdges + fx) * numZVertices + ((fz + 1) % numZVertices); in DMPlexCreateCubeMesh_Internal()
1584 PetscInt faceF = firstYFace + (fz * numXEdges + fx) * numYVertices + fy; in DMPlexCreateCubeMesh_Internal()
1585 … PetscInt faceK = firstYFace + (fz * numXEdges + fx) * numYVertices + ((fy + 1) % numYVertices); in DMPlexCreateCubeMesh_Internal()
1586 PetscInt faceL = firstXFace + (fz * numYEdges + fy) * numXVertices + fx; in DMPlexCreateCubeMesh_Internal()
1587 … PetscInt faceR = firstXFace + (fz * numYEdges + fy) * numXVertices + ((fx + 1) % numXVertices); in DMPlexCreateCubeMesh_Internal()
1603 …if (bdZ != DM_BOUNDARY_NONE && fz == numZEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel… in DMPlexCreateCubeMesh_Internal()
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dex42.c30 PetscScalar fz[GAUSS_POINTS]; member
823 …sQ13D(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScalar fy[], PetscScalar fz[]) in FormMomentumRhsQ13D() argument
846 Fe[NSD * i + 2] -= fac * Ni_p[i] * fz[p]; in FormMomentumRhsQ13D()
1108 prop_fz = props->fz; in AssembleF_Stokes()
1877 cell->fz[p] = 0.0 * coord_z; in solve_stokes_3d_coupled()
1907 cell->fz[p] = Fm[2]; in solve_stokes_3d_coupled()
1931 cell->fz[p] = 0.0 * coord_z; in solve_stokes_3d_coupled()
1954 cell->fz[p] = 0.0; in solve_stokes_3d_coupled()
1959 cell->fz[p] = 1.0; in solve_stokes_3d_coupled()
1996 cell->fz[p] = 0.0; in solve_stokes_3d_coupled()
/petsc/src/dm/impls/stag/tutorials/
H A Dex3.c96 static PetscScalar fz(PetscScalar x, PetscScalar y, PetscScalar z) in fz() function
1682 …valRhs = fz(arrCoord[ez][ey][ex][icuz[0]], arrCoord[ez][ey][ex][icuz[1]], arrCoord[ez][ey][ex][icu… in CreateSystem()