Home
last modified time | relevance | path

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

/libCEED/examples/solids/src/
H A Dmatops.c36 CeedVectorSetArray(user->x_ceed, MemTypeP2C(x_mem_type), CEED_USE_POINTER, x); in ApplyLocalCeedOp()
37 CeedVectorSetArray(user->y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in ApplyLocalCeedOp()
43 CeedVectorTakeArray(user->x_ceed, MemTypeP2C(x_mem_type), NULL); in ApplyLocalCeedOp()
44 CeedVectorTakeArray(user->y_ceed, MemTypeP2C(y_mem_type), NULL); in ApplyLocalCeedOp()
125 CeedVectorSetArray(user->ceed_vec_c, MemTypeP2C(c_mem_type), CEED_USE_POINTER, c); in Prolong_Ceed()
126 CeedVectorSetArray(user->ceed_vec_f, MemTypeP2C(f_mem_type), CEED_USE_POINTER, f); in Prolong_Ceed()
132 CeedVectorTakeArray(user->ceed_vec_c, MemTypeP2C(c_mem_type), NULL); in Prolong_Ceed()
133 CeedVectorTakeArray(user->ceed_vec_f, MemTypeP2C(f_mem_type), NULL); in Prolong_Ceed()
162 CeedVectorSetArray(user->ceed_vec_f, MemTypeP2C(f_mem_type), CEED_USE_POINTER, f); in Restrict_Ceed()
163 CeedVectorSetArray(user->ceed_vec_c, MemTypeP2C(c_mem_type), CEED_USE_POINTER, c); in Restrict_Ceed()
[all …]
H A Dmisc.c176 CeedVectorSetArray(user->x_ceed, MemTypeP2C(x_mem_type), CEED_USE_POINTER, x); in ViewDiagnosticQuantities()
177 CeedVectorSetArray(y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in ViewDiagnosticQuantities()
183 CeedVectorTakeArray(user->x_ceed, MemTypeP2C(x_mem_type), NULL); in ViewDiagnosticQuantities()
201 CeedVectorTakeArray(y_ceed, MemTypeP2C(y_mem_type), NULL); in ViewDiagnosticQuantities()
/libCEED/examples/petsc/
H A Dbpsraw.c46 static CeedMemType MemTypeP2C(PetscMemType mem_type) { return PetscMemTypeDevice(mem_type) ? CEED_M… in MemTypeP2C() function
239 CeedVectorSetArray(op_apply_ctx->x_ceed, MemTypeP2C(x_mem_type), CEED_USE_POINTER, x); in MatMult_Mass()
240 CeedVectorSetArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in MatMult_Mass()
246 CeedVectorTakeArray(op_apply_ctx->x_ceed, MemTypeP2C(x_mem_type), NULL); in MatMult_Mass()
247 CeedVectorTakeArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), NULL); in MatMult_Mass()
276 CeedVectorSetArray(op_apply_ctx->x_ceed, MemTypeP2C(x_mem_type), CEED_USE_POINTER, x); in MatMult_Diff()
277 CeedVectorSetArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in MatMult_Diff()
283 CeedVectorTakeArray(op_apply_ctx->x_ceed, MemTypeP2C(x_mem_type), NULL); in MatMult_Diff()
284 CeedVectorTakeArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), NULL); in MatMult_Diff()
314 CeedVectorSetArray(op_apply_ctx->x_ceed, MemTypeP2C(mem_type), CEED_USE_POINTER, x); in ComputeErrorMax()
[all …]
/libCEED/examples/solids/include/
H A Dutils.h13 static inline CeedMemType MemTypeP2C(PetscMemType mem_type) { return PetscMemTypeDevice(mem_type) ?… in MemTypeP2C() function
/libCEED/examples/petsc/src/
H A Dpetscutils.c13 CeedMemType MemTypeP2C(PetscMemType mem_type) { return PetscMemTypeDevice(mem_type) ? CEED_MEM_DEVI… in MemTypeP2C() function
23 CeedVectorSetArray(x_ceed, MemTypeP2C(*mem_type), CEED_USE_POINTER, x); in VecP2C()
31 CeedVectorTakeArray(x_ceed, MemTypeP2C(mem_type), &x); in VecC2P()
41 CeedVectorSetArray(x_ceed, MemTypeP2C(*mem_type), CEED_USE_POINTER, x); in VecReadP2C()
49 CeedVectorTakeArray(x_ceed, MemTypeP2C(mem_type), &x); in VecReadC2P()
H A Dswarmutils.c82 CeedVectorSetArray(x_ref_points, MemTypeP2C(X_mem_type), CEED_COPY_VALUES, (CeedScalar *)x); in DMSwarmCeedContextCreate()
657 CeedVectorSetArray(x_ref_points, MemTypeP2C(X_mem_type), CEED_COPY_VALUES, (CeedScalar *)x); in SetupProblemSwarm()
/libCEED/examples/solids/
H A Delasticity.c226 CeedVectorSetArray(force_ceed, MemTypeP2C(force_mem_type), CEED_USE_POINTER, f); in main()
238 CeedVectorSetArray(neumann_ceed, MemTypeP2C(nummann_mem_type), CEED_USE_POINTER, n); in main()
267 …CeedVectorSetArray(ceed_data[level + 1]->x_ceed, MemTypeP2C(m_mem_type), CEED_USE_POINTER, (CeedSc… in main()
277 CeedVectorTakeArray(ceed_data[level + 1]->x_ceed, MemTypeP2C(m_mem_type), (CeedScalar **)&m); in main()
292 CeedVectorTakeArray(force_ceed, MemTypeP2C(force_mem_type), NULL); in main()
300 CeedVectorTakeArray(neumann_ceed, MemTypeP2C(nummann_mem_type), NULL); in main()
/libCEED/examples/petsc/include/
H A Dpetscutils.h17 CeedMemType MemTypeP2C(PetscMemType mtype);