Searched refs:mcoords (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/interface/ |
| H A D | dmgeommodel.c | 10 … DMSnapToGeomModelBall(DM dm, PetscInt p, PetscInt dE, const PetscScalar mcoords[], PetscScalar gc… in DMSnapToGeomModelBall() argument 19 for (PetscInt d = 0; d < dE; ++d) norm += PetscSqr(PetscRealPart(mcoords[d])); in DMSnapToGeomModelBall() 21 for (PetscInt d = 0; d < dE; ++d) gcoords[d] = mcoords[d] / norm; in DMSnapToGeomModelBall() 23 for (PetscInt d = 0; d < dE; ++d) gcoords[d] = mcoords[d]; in DMSnapToGeomModelBall() 28 …napToGeomModelCylinder(DM dm, PetscInt p, PetscInt dE, const PetscScalar mcoords[], PetscScalar gc… in DMSnapToGeomModelCylinder() argument 39 for (PetscInt d = 0; d < dE - 1; ++d) norm += PetscSqr(PetscRealPart(mcoords[d])); in DMSnapToGeomModelCylinder() 41 for (PetscInt d = 0; d < dE - 1; ++d) gcoords[d] = mcoords[d] * gmax[0] / norm; in DMSnapToGeomModelCylinder() 42 gcoords[dE - 1] = mcoords[dE - 1]; in DMSnapToGeomModelCylinder() 44 for (PetscInt d = 0; d < dE; ++d) gcoords[d] = mcoords[d]; in DMSnapToGeomModelCylinder() 179 PetscErrorCode DMSnapToGeomModel(DM dm, PetscInt p, PetscInt dE, const PetscScalar mcoords[], Petsc… in DMSnapToGeomModel() argument [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexegads.c | 480 …el, PetscInt bodyID, PetscInt faceID, PetscInt edgeID, const PetscScalar mcoords[], PetscScalar gc… in DMSnapToGeomModel_EGADS_Internal() argument 526 for (d = 0; d < dE; ++d) gcoords[d] = mcoords[d]; in DMSnapToGeomModel_EGADS_Internal() 535 for (d = 0; d < dE; ++d) gcoords[d] = mcoords[d]; in DMSnapToGeomModel_EGADS_Internal() 577 PetscErrorCode DMSnapToGeomModel_EGADS(DM dm, PetscInt p, PetscInt dE, const PetscScalar mcoords[],… in DMSnapToGeomModel_EGADS() argument 605 for (PetscInt d = 0; d < dE; ++d) gcoords[d] = mcoords[d]; in DMSnapToGeomModel_EGADS() 608 …PetscCall(DMSnapToGeomModel_EGADS_Internal(dm, p, model, bodyID, faceID, edgeID, mcoords, gcoords,… in DMSnapToGeomModel_EGADS()
|