Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c617 PetscScalar *xcoords = NULL; in InitializeWeights() local
620 PetscCall(DMPlexGetCellCoordinates(xdm, c, &xisDG, &xNc, &xarray, &xcoords)); in InitializeWeights()
639 …weight = %1.15f\n", ordering[c], (double)PetscRealPart(xcoords[0]), (double)PetscRealPart(xcoords[… in InitializeWeights()
675 PetscCall(DMPlexRestoreCellCoordinates(xdm, c, &xisDG, &xNc, &xarray, &xcoords)); in InitializeWeights()
H A Dex2.c1314 PetscScalar *xcoords = NULL; in InitializeWeights() local
1317 PetscCall(DMPlexGetCellCoordinates(xdm, c, &xisDG, &xNc, &xarray, &xcoords)); in InitializeWeights()
1336 …weight = %1.15f\n", ordering[c], (double)PetscRealPart(xcoords[0]), (double)PetscRealPart(xcoords[… in InitializeWeights()
1360 PetscCall(DMPlexRestoreCellCoordinates(xdm, c, &xisDG, &xNc, &xarray, &xcoords)); in InitializeWeights()
H A Dex4.c1928 PetscScalar *xcoords = NULL; in InitializeWeights() local
1931 PetscCall(DMPlexGetCellCoordinates(xdm, c, &xisDG, &xNc, &xarray, &xcoords)); in InitializeWeights()
1950 …weight = %1.15f\n", ordering[c], (double)PetscRealPart(xcoords[0]), (double)PetscRealPart(xcoords[… in InitializeWeights()
1974 PetscCall(DMPlexRestoreCellCoordinates(xdm, c, &xisDG, &xNc, &xarray, &xcoords)); in InitializeWeights()