Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplex.c8509 const PetscScalar *valuesV0 = values, *valuesV1, *valuesV2; in DMPlexMatSetClosureGeneral() local
8530 valuesV2 = valuesV1; in DMPlexMatSetClosureGeneral()
8531 …rm, &numIndicesRow, &numIndicesCol, &indicesCol, NULL, (PetscScalar **)&valuesV2, PETSC_TRUE, PETS… in DMPlexMatSetClosureGeneral()
8533 …TSC_VIEWER_STDOUT_SELF, A, point, numIndicesRow, indicesRow, numIndicesCol, indicesCol, valuesV2)); in DMPlexMatSetClosureGeneral()
8535 ierr = MatSetValues(A, numIndicesRow, indicesRow, numIndicesCol, indicesCol, valuesV2, mode); in DMPlexMatSetClosureGeneral()
8542 …lobalSectionCol, point, PETSC_TRUE, &numIndicesCol, &indicesRow, NULL, (PetscScalar **)&valuesV2)); in DMPlexMatSetClosureGeneral()
8544 if (valuesV2 != valuesV1) PetscCall(DMRestoreWorkArray(dmCol, 0, MPIU_SCALAR, &valuesV2)); in DMPlexMatSetClosureGeneral()
8548 …lobalSectionCol, point, useColPerm, &numIndicesCol, &indicesCol, NULL, (PetscScalar **)&valuesV2)); in DMPlexMatSetClosureGeneral()
8550 if (valuesV2 != valuesV1) PetscCall(DMRestoreWorkArray(dmCol, 0, MPIU_SCALAR, &valuesV2)); in DMPlexMatSetClosureGeneral()