| /libCEED/tests/ |
| H A D | t365-basis.c | 32 CeedVector x, x_nodes, x_points, u, u_points, v, ones; in main() local 41 CeedVectorCreate(ceed, num_points * dim, &u_points); in main() 85 …sisApplyAtPoints(basis_u, 1, &num_points, CEED_NOTRANSPOSE, CEED_EVAL_GRAD, x_points, u, u_points); in main() 94 CeedVectorGetArrayRead(u_points, CEED_MEM_HOST, &u_points_array); in main() 99 CeedVectorRestoreArrayRead(u_points, &u_points_array); in main() 115 CeedVectorDestroy(&u_points); in main()
|
| H A D | t357-basis.c | 32 CeedVector x, x_nodes, x_points, u, u_points, v, ones; in main() local 41 CeedVectorCreate(ceed, num_points * dim, &u_points); in main() 85 …sisApplyAtPoints(basis_u, 1, &num_points, CEED_NOTRANSPOSE, CEED_EVAL_GRAD, x_points, u, u_points); in main() 92 CeedVectorGetArrayRead(u_points, CEED_MEM_HOST, &u_points_array); in main() 97 CeedVectorRestoreArrayRead(u_points, &u_points_array); in main() 113 CeedVectorDestroy(&u_points); in main()
|
| H A D | t599-operator.c | 14 CeedVector x_points, u, v, u_points; in main() local 45 CeedElemRestrictionCreateVector(elem_restriction_u_points, &u_points, NULL); in main() 46 CeedVectorSetValue(u_points, 0); in main() 87 …edOperatorSetField(op_to_points, "u_points", elem_restriction_u_points, CEED_BASIS_NONE, u_points); in main() 98 …OperatorSetField(op_from_points, "u_points", elem_restriction_u_points, CEED_BASIS_NONE, u_points); in main() 132 CeedVectorDestroy(&u_points); in main()
|
| /libCEED/examples/petsc/ |
| H A D | dmswarm.c | 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() [all …]
|
| /libCEED/examples/petsc/include/ |
| H A D | swarmutils.h | 24 CeedVector u_mesh, v_mesh, u_points; member
|
| /libCEED/examples/petsc/src/ |
| H A D | swarmutils.c | 71 CeedElemRestrictionCreateVector(elem_restr_u_points, &(*ctx)->u_points, NULL); in DMSwarmCeedContextCreate() 224 CeedVectorDestroy(&(*ctx)->u_points); in DMSwarmCeedContextDestroy() 431 PetscCall(VecReadP2C(U_points, &U_mem_type, swarm_ceed_context->u_points)); in DMSwarmCreateProjectionRHS() 437 …CeedOperatorApply(swarm_ceed_context->op_points_to_mesh, swarm_ceed_context->u_points, swarm_ceed_… in DMSwarmCreateProjectionRHS() 440 PetscCall(VecReadC2P(swarm_ceed_context->u_points, U_mem_type, U_points)); in DMSwarmCreateProjectionRHS()
|