Lines Matching refs:x_t
3793 PetscScalar *x = NULL, *x_t = NULL, *ul = *u, *ul_t = *u_t, *al = *a; in DMPlexGetCellFields() local
3800 PetscCall(DMPlexVecGetClosure(plex, section, locX_t, cell, NULL, &x_t)); in DMPlexGetCellFields()
3801 for (i = 0; i < totDim; ++i) ul_t[cind * totDim + i] = x_t[i]; in DMPlexGetCellFields()
3802 PetscCall(DMPlexVecRestoreClosure(plex, section, locX_t, cell, NULL, &x_t)); in DMPlexGetCellFields()
4555 PetscScalar *x_t, *fa; in DMPlexComputeResidual_Patch_Internal() local
4558 PetscCall(VecGetArray(locX_t, &x_t)); in DMPlexComputeResidual_Patch_Internal()
4580 PetscCall(DMPlexPointLocalFieldRead(dm, cell, f, x_t, &u_t)); in DMPlexComputeResidual_Patch_Internal()
4585 PetscCall(VecRestoreArray(locX_t, &x_t)); in DMPlexComputeResidual_Patch_Internal()
4727 PetscScalar *x = NULL, *x_t = NULL; in DMPlexComputeJacobian_Patch_Internal() local
4736 PetscCall(DMPlexVecGetClosure(dm, section, X_t, cell, NULL, &x_t)); in DMPlexComputeJacobian_Patch_Internal()
4737 for (i = 0; i < totDim; ++i) u_t[c * totDim + i] = x_t[i]; in DMPlexComputeJacobian_Patch_Internal()
4738 PetscCall(DMPlexVecRestoreClosure(dm, section, X_t, cell, NULL, &x_t)); in DMPlexComputeJacobian_Patch_Internal()
5415 PetscScalar *x_t, *fa; in DMPlexComputeResidualByKey() local
5418 PetscCall(VecGetArray(locX_t, &x_t)); in DMPlexComputeResidualByKey()
5440 PetscCall(DMPlexPointLocalFieldRead(dm, cell, f, x_t, &u_t)); in DMPlexComputeResidualByKey()
5445 PetscCall(VecRestoreArray(locX_t, &x_t)); in DMPlexComputeResidualByKey()
6224 PetscScalar *x = NULL, *x_t = NULL; in DMPlexComputeJacobianByKey() local
6231 PetscCall(DMPlexVecGetClosure(dm, section, locX_t, cell, NULL, &x_t)); in DMPlexComputeJacobianByKey()
6232 for (i = 0; i < totDim; ++i) u_t[cind * totDim + i] = x_t[i]; in DMPlexComputeJacobianByKey()
6233 PetscCall(DMPlexVecRestoreClosure(dm, section, locX_t, cell, NULL, &x_t)); in DMPlexComputeJacobianByKey()
6447 PetscScalar *x = NULL, *x_t = NULL; in DMPlexComputeJacobianByKeyGeneral() local
6454 PetscCall(DMPlexVecGetClosure(dmr, rsection, locX_t, cell, NULL, &x_t)); in DMPlexComputeJacobianByKeyGeneral()
6455 for (i = 0; i < totDim; ++i) u_t[cind * totDim + i] = x_t[i]; in DMPlexComputeJacobianByKeyGeneral()
6456 PetscCall(DMPlexVecRestoreClosure(dmr, rsection, locX_t, cell, NULL, &x_t)); in DMPlexComputeJacobianByKeyGeneral()
7047 PetscScalar *x = NULL, *x_t = NULL; in DMPlexComputeJacobianActionByKey() local
7054 PetscCall(DMPlexVecGetClosure(plex, section, locX_t, cell, NULL, &x_t)); in DMPlexComputeJacobianActionByKey()
7055 for (i = 0; i < totDim; ++i) u_t[cind * totDim + i] = x_t[i]; in DMPlexComputeJacobianActionByKey()
7056 PetscCall(DMPlexVecRestoreClosure(plex, section, locX_t, cell, NULL, &x_t)); in DMPlexComputeJacobianActionByKey()