Lines Matching refs:vel
96 const PetscReal *coords, *vel; in RHSFunction() local
105 PetscCall(DMSwarmGetField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in RHSFunction()
112 const PetscReal vy0 = vel[p * dim + 1]; in RHSFunction()
121 PetscCall(DMSwarmRestoreField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in RHSFunction()
134 const PetscReal *coords, *vel; in RHSJacobian() local
143 PetscCall(DMSwarmGetField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in RHSJacobian()
147 const PetscReal vy0 = vel[p * dim + 1]; in RHSJacobian()
157 PetscCall(DMSwarmRestoreField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in RHSJacobian()
188 const PetscReal *coords, *vel; in RHSFunctionV() local
196 PetscCall(DMSwarmGetField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in RHSFunctionV()
204 const PetscReal vy0 = vel[p * dim + 1]; in RHSFunctionV()
212 PetscCall(DMSwarmRestoreField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in RHSFunctionV()
428 const PetscReal *coords, *vel; in ComputeError() local
443 PetscCall(DMSwarmGetField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in ComputeError()
449 const PetscReal v0 = DMPlex_NormD_Internal(dim, &vel[p * dim]); in ComputeError()
470 PetscCall(DMSwarmRestoreField(sw, "initVelocity", NULL, NULL, (void **)&vel)); in ComputeError()