Home
last modified time | relevance | path

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

/libCEED/examples/petsc/src/
H A Dswarmutils.c414 Vec B_mesh_loc; in DMSwarmCreateProjectionRHS() local
432 PetscCall(DMGetLocalVector(dm_mesh, &B_mesh_loc)); in DMSwarmCreateProjectionRHS()
433 PetscCall(VecZeroEntries(B_mesh_loc)); in DMSwarmCreateProjectionRHS()
434 PetscCall(VecP2C(B_mesh_loc, &B_mem_type, swarm_ceed_context->v_mesh)); in DMSwarmCreateProjectionRHS()
441 PetscCall(VecC2P(swarm_ceed_context->v_mesh, B_mem_type, B_mesh_loc)); in DMSwarmCreateProjectionRHS()
443 PetscCall(DMLocalToGlobal(dm_mesh, B_mesh_loc, ADD_VALUES, B_mesh)); in DMSwarmCreateProjectionRHS()
452 PetscCall(DMRestoreLocalVector(dm_mesh, &B_mesh_loc)); in DMSwarmCreateProjectionRHS()