Searched refs:V_loc (Results 1 – 4 of 4) sorted by relevance
| /libCEED/examples/petsc/ |
| H A D | area.c | 68 Vec U, U_loc, V, V_loc; in main() local 144 PetscCall(VecDuplicate(U_loc, &V_loc)); in main() 172 PetscCall(VecZeroEntries(V_loc)); in main() 173 PetscCall(VecP2C(V_loc, &mem_type, ceed_data->y_ceed)); in main() 187 PetscCall(VecC2P(ceed_data->y_ceed, mem_type, V_loc)); in main() 189 PetscCall(DMLocalToGlobalBegin(dm, V_loc, ADD_VALUES, V)); in main() 190 PetscCall(DMLocalToGlobalEnd(dm, V_loc, ADD_VALUES, V)); in main() 215 PetscCall(VecDestroy(&V_loc)); in main()
|
| /libCEED/examples/fluids/src/ |
| H A D | petsc_ops.c | 17 Vec V_loc; in DMGetLocalVectorInfo() local 20 PetscCall(DMGetLocalVector(dm, &V_loc)); in DMGetLocalVectorInfo() 21 if (local_size) PetscCall(VecGetLocalSize(V_loc, local_size)); in DMGetLocalVectorInfo() 22 if (global_size) PetscCall(VecGetSize(V_loc, global_size)); in DMGetLocalVectorInfo() 23 if (vec_type) PetscCall(VecGetType(V_loc, vec_type)); in DMGetLocalVectorInfo() 24 PetscCall(DMRestoreLocalVector(dm, &V_loc)); in DMGetLocalVectorInfo()
|
| /libCEED/examples/solids/src/ |
| H A D | misc.c | 23 PetscErrorCode SetupJacobianCtx(MPI_Comm comm, AppCtx app_ctx, DM dm, Vec V, Vec V_loc, CeedData ce… in SetupJacobianCtx() argument 32 jacobian_ctx->X_loc = V_loc; in SetupJacobianCtx() 33 PetscCall(VecDuplicate(V_loc, &jacobian_ctx->Y_loc)); in SetupJacobianCtx()
|
| /libCEED/examples/solids/include/ |
| H A D | misc.h | 19 PetscErrorCode SetupJacobianCtx(MPI_Comm comm, AppCtx app_ctx, DM dm, Vec V, Vec V_loc, CeedData ce…
|