Lines Matching refs:u_points
331 PetscScalar *u_points; in DMSwarmInterpolateFromCellToSwarm_Petsc() local
363 PetscCall(DMSwarmGetField(dm_swarm, field, &num_comp, NULL, (void **)&u_points)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
392 …cFEInterpolateAtPoints_Static(fe, tabulation, u_cell, &fe_geometry, p, &u_points[points_cell[p] * … in DMSwarmInterpolateFromCellToSwarm_Petsc()
406 PetscCall(DMSwarmRestoreField(dm_swarm, field, NULL, NULL, (void **)&u_points)); in DMSwarmInterpolateFromCellToSwarm_Petsc()
435 PetscCall(DMSwarmPICFieldP2C(dm_swarm, field, swarm_ceed_context->u_points)); in DMSwarmInterpolateFromCellToSwarm_Ceed()
438 …ext->op_mesh_to_points, swarm_ceed_context->u_mesh, swarm_ceed_context->u_points, CEED_REQUEST_IMM… in DMSwarmInterpolateFromCellToSwarm_Ceed()
441 PetscCall(DMSwarmPICFieldC2P(dm_swarm, field, swarm_ceed_context->u_points)); in DMSwarmInterpolateFromCellToSwarm_Ceed()
454 const PetscScalar *u_points, *coords_points; in DMSwarmCheckSwarmValues() local
463 PetscCall(DMSwarmGetField(dm_swarm, field, &num_comp, NULL, (void **)&u_points)); in DMSwarmCheckSwarmValues()
478 if (PetscAbs(u_points[points[p] * num_comp + i] - u_true[i]) > tolerance) { in DMSwarmCheckSwarmValues()
483 cell, p, i, u_points[points[p] * num_comp + i], u_true[i])); in DMSwarmCheckSwarmValues()
494 PetscCall(DMSwarmRestoreField(dm_swarm, field, NULL, NULL, (void **)&u_points)); in DMSwarmCheckSwarmValues()