Home
last modified time | relevance | path

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

/petsc/include/petsc/private/
H A Ddmadaptorimpl.h37 Vec cellGeom, faceGeom, cellGrad; /* Local vectors */ member
/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c838 PetscFEGeom *cellGeom; in DMFieldComputeFaceData_DS() local
883 PetscCall(DMFieldCreateFEGeom(field, suppIS, cellQuad, PETSC_FEGEOM_BASIC, &cellGeom)); in DMFieldComputeFaceData_DS()
893 geom->suppJ[s][p * Nq * dE * dE + q] = cellGeom->J[offset * Nq * dE * dE + q]; in DMFieldComputeFaceData_DS()
894 geom->suppInvJ[s][p * Nq * dE * dE + q] = cellGeom->invJ[offset * Nq * dE * dE + q]; in DMFieldComputeFaceData_DS()
896 for (q = 0; q < Nq; q++) geom->suppDetJ[s][p * Nq + q] = cellGeom->detJ[offset * Nq + q]; in DMFieldComputeFaceData_DS()
899 PetscCall(PetscFEGeomDestroy(&cellGeom)); in DMFieldComputeFaceData_DS()
1078 PetscFEGeom *cellGeom; in DMFieldComputeFaceData_DS() local
1100 PetscCall(DMFieldCreateFEGeom(field, suppIS, cellQuad, PETSC_FEGEOM_BASIC, &cellGeom)); in DMFieldComputeFaceData_DS()
1105 geom->suppJ[s][p * Nq * dE * dE + q] = cellGeom->J[offset * Nq * dE * dE + q]; in DMFieldComputeFaceData_DS()
1106 geom->suppInvJ[s][p * Nq * dE * dE + q] = cellGeom->invJ[offset * Nq * dE * dE + q]; in DMFieldComputeFaceData_DS()
[all …]
/petsc/src/ts/tutorials/
H A Dex52.c152 Vec cellGeom, faceGeom; /* vector of structs related to cell/face geometry*/ in FormFunction() local
185 PetscCall(DMPlexGetDataFVM(da, fvm, &cellGeom, &faceGeom, NULL)); in FormFunction()
H A Dex11.c1111 Vec cellGeom, faceGeom; in adaptToleranceFVMSetUp() local
1131 PetscCall(DMPlexGetDataFVM(plex, fvm, &cellGeom, &faceGeom, &gradDM)); in adaptToleranceFVMSetUp()
1133 PetscCall(DMPlexInsertBoundaryValues(plex, PETSC_TRUE, locX, 0.0, faceGeom, cellGeom, NULL)); in adaptToleranceFVMSetUp()
1144 PetscCall(VecGetArrayRead(cellGeom, &pointGeom)); in adaptToleranceFVMSetUp()
1146 PetscCall(VecGetDM(cellGeom, &cellDM)); in adaptToleranceFVMSetUp()
1168 PetscCall(VecRestoreArrayRead(cellGeom, &pointGeom)); in adaptToleranceFVMSetUp()
/petsc/src/snes/utils/dm/
H A Ddmadapt.c734 …PlexInsertBoundaryValues(plex, PETSC_TRUE, locX, 0.0, adaptor->faceGeom, adaptor->cellGeom, NULL)); in DMAdaptorPreAdapt()
749 … PetscCall(DMPlexGetDataFVM(plex, fvm, &adaptor->cellGeom, &adaptor->faceGeom, &adaptor->gradDM)); in DMAdaptorPreAdapt()
750 PetscCall(VecGetDM(adaptor->cellGeom, &adaptor->cellDM)); in DMAdaptorPreAdapt()
751 PetscCall(VecGetArrayRead(adaptor->cellGeom, &adaptor->cellGeomArray)); in DMAdaptorPreAdapt()
753 …PlexInsertBoundaryValues(plex, PETSC_TRUE, locX, 0.0, adaptor->faceGeom, adaptor->cellGeom, NULL)); in DMAdaptorPreAdapt()
812 PetscCall(VecRestoreArrayRead(adaptor->cellGeom, &adaptor->cellGeomArray)); in DMAdaptorPostAdapt()
/petsc/src/dm/impls/plex/
H A Dplextree.c3749 …vecCoarseLocal, DM fine, Vec vecFine, PetscSF coarseToFine, PetscInt *cids, Vec grad, Vec cellGeom) in DMPlexTransferVecTree_Interpolate() argument
3831 PetscCall(VecGetDM(cellGeom, &cellDM)); in DMPlexTransferVecTree_Interpolate()
3832 PetscCall(VecGetArrayRead(cellGeom, &cellGeomArray)); in DMPlexTransferVecTree_Interpolate()
4251 Vec faceGeom = NULL, cellGeom = NULL, grad = NULL; in DMPlexTransferVecTree() local
4266 PetscCall(DMPlexGetDataFVM(dmIn, (PetscFV)obj, &cellGeom, &faceGeom, &dmGrad)); in DMPlexTransferVecTree()
4271 …etscCall(DMPlexInsertBoundaryValues(dmIn, PETSC_TRUE, vecInLocal, time, faceGeom, cellGeom, NULL)); in DMPlexTransferVecTree()
4278 …ransferVecTree_Interpolate(dmIn, vecInLocal, dmOut, vecOut, sfRefine, cidsRefine, grad, cellGeom)); in DMPlexTransferVecTree()