Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexdistribute.c1009 PetscScalar *originalValues, *newValues; in DMPlexDistributeField() local
1020 PetscCall(VecGetArray(newVec, &newValues)); in DMPlexDistributeField()
1023 PetscCall(PetscSFBcastBegin(fieldSF, MPIU_SCALAR, originalValues, newValues, MPI_REPLACE)); in DMPlexDistributeField()
1024 PetscCall(PetscSFBcastEnd(fieldSF, MPIU_SCALAR, originalValues, newValues, MPI_REPLACE)); in DMPlexDistributeField()
1026 PetscCall(VecRestoreArray(newVec, &newValues)); in DMPlexDistributeField()
1053 PetscInt *newValues, fieldSize; in DMPlexDistributeFieldIS() local
1059 …teData(pointSF, MPIU_INT, originalSection, originalValues, newSection, (void **)&newValues, NULL)); in DMPlexDistributeFieldIS()
1063 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)pointSF), fieldSize, newValues, PETSC_OWN_P… in DMPlexDistributeFieldIS()
H A Dplex.c8079 const PetscScalar *newValues = values; in DMPlexAnchorsModifyMat_Internal() local
8093 …PetscCallBLAS("BLASgemm", BLASgemm_("N", "N", &M, &N, &K, &a, modMat, &M, newValues, &K, &b, newNe… in DMPlexAnchorsModifyMat_Internal()
8095 newValues = newNewValues; in DMPlexAnchorsModifyMat_Internal()
8110 …PetscCallBLAS("BLASgemm", BLASgemm_("N", "T", &M, &N, &K, &a, newValues, &M, modMat, &N, &b, newNe… in DMPlexAnchorsModifyMat_Internal()
8111 …if (newValues != values) PetscCall(DMRestoreWorkArray(dm, numIndices * newNumIndices, MPIU_SCALAR,… in DMPlexAnchorsModifyMat_Internal()
8112 newValues = newNewValues; in DMPlexAnchorsModifyMat_Internal()
8114 *outValues = (PetscScalar *)newValues; in DMPlexAnchorsModifyMat_Internal()