| /libCEED/examples/fluids/src/ |
| H A D | petsc_ops.c | 59 …M dm_x, DM dm_y, Ceed ceed, CeedOperator op_apply, CeedVector x_ceed, CeedVector y_ceed, Vec X_loc, in OperatorApplyContextCreate() argument 97 if (y_ceed && y_ceed != CEED_VECTOR_NONE) { in OperatorApplyContextCreate() 98 PetscCallCeed(ceed, CeedVectorGetLength(y_ceed, &y_ceed_size)); in OperatorApplyContextCreate() 125 if (y_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(y_ceed, &(*ctx)->y_ceed)); in OperatorApplyContextCreate() 126 else PetscCallCeed(ceed, CeedVectorCreate(ceed, y_size, &(*ctx)->y_ceed)); in OperatorApplyContextCreate() 151 PetscCallCeed(ceed, CeedVectorDestroy(&ctx->y_ceed)); in OperatorApplyContextDestroy() 216 PetscErrorCode ApplyCeedOperator_Core(Vec X, Vec X_loc, CeedVector x_ceed, CeedVector y_ceed, Vec Y… in ApplyCeedOperator_Core() argument 225 if (Y_loc) PetscCall(VecPetscToCeed(Y_loc, &y_mem_type, y_ceed)); in ApplyCeedOperator_Core() 229 …if (use_apply_add) PetscCallCeed(ceed, CeedOperatorApplyAdd(ctx->op, x_ceed, y_ceed, CEED_REQUEST_… in ApplyCeedOperator_Core() 230 else PetscCallCeed(ceed, CeedOperatorApply(ctx->op, x_ceed, y_ceed, CEED_REQUEST_IMMEDIATE)); in ApplyCeedOperator_Core() [all …]
|
| H A D | turb_spanstats.c | 440 CeedVector x_ceed, y_ceed; in SetupMMSErrorChecking() local 464 …PetscCallCeed(ceed, CeedElemRestrictionCreateVector(stats_data->elem_restr_parent_stats, &y_ceed, … in SetupMMSErrorChecking() 465 …extCreate(user->spanstats.dm, user->spanstats.dm, user->ceed, op_error, x_ceed, y_ceed, NULL, NULL, in SetupMMSErrorChecking() 470 PetscCallCeed(ceed, CeedVectorDestroy(&y_ceed)); in SetupMMSErrorChecking()
|
| /libCEED/examples/petsc/src/ |
| H A D | matops.c | 15 op_apply_ctx->y_ceed = ceed_data->y_ceed; in SetupApplyOperatorCtx() 32 op_error_ctx->y_ceed = ceed_data->y_ceed; in SetupErrorOperatorCtx() 51 PetscCall(VecP2C(op_apply_ctx->Y_loc, &mem_type, op_apply_ctx->y_ceed)); in MatGetDiag() 54 …CeedOperatorLinearAssembleDiagonal(op_apply_ctx->op, op_apply_ctx->y_ceed, CEED_REQUEST_IMMEDIATE); in MatGetDiag() 57 PetscCall(VecC2P(op_apply_ctx->y_ceed, mem_type, op_apply_ctx->Y_loc)); in MatGetDiag() 75 PetscCall(VecP2C(op_apply_ctx->Y_loc, &y_mem_type, op_apply_ctx->y_ceed)); in ApplyLocal_Ceed() 78 …CeedOperatorApply(op_apply_ctx->op, op_apply_ctx->x_ceed, op_apply_ctx->y_ceed, CEED_REQUEST_IMMED… in ApplyLocal_Ceed() 82 PetscCall(VecC2P(op_apply_ctx->y_ceed, y_mem_type, op_apply_ctx->Y_loc)); in ApplyLocal_Ceed()
|
| H A D | libceedsetup.c | 22 CeedVectorDestroy(&data->y_ceed); in CeedDataDestroy() 52 CeedVector x_coord, q_data, x_ceed, y_ceed; in SetupLibceedByDegree() local 87 CeedVectorCreate(ceed, xl_size, &y_ceed); in SetupLibceedByDegree() 196 data->y_ceed = y_ceed; in SetupLibceedByDegree()
|
| H A D | swarmutils.c | 615 CeedElemRestrictionCreateVector(elem_restr_u_mesh, &data->y_ceed, NULL); in SetupProblemSwarm()
|
| /libCEED/examples/solids/src/ |
| H A D | misc.c | 35 jacobian_ctx->y_ceed = ceed_data->y_ceed; in SetupJacobianCtx() 146 CeedVector y_ceed; in ViewDiagnosticQuantities() local 162 CeedVectorCreate(user->ceed, loc_size, &y_ceed); in ViewDiagnosticQuantities() 177 CeedVectorSetArray(y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in ViewDiagnosticQuantities() 180 CeedOperatorApply(user->op, user->x_ceed, y_ceed, CEED_REQUEST_IMMEDIATE); in ViewDiagnosticQuantities() 198 CeedElemRestrictionGetMultiplicity(elem_restr_diagnostic, y_ceed); in ViewDiagnosticQuantities() 201 CeedVectorTakeArray(y_ceed, MemTypeP2C(y_mem_type), NULL); in ViewDiagnosticQuantities() 226 CeedVectorDestroy(&y_ceed); in ViewDiagnosticQuantities()
|
| H A D | matops.c | 37 CeedVectorSetArray(user->y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in ApplyLocalCeedOp() 40 CeedOperatorApply(user->op, user->x_ceed, user->y_ceed, CEED_REQUEST_IMMEDIATE); in ApplyLocalCeedOp() 44 CeedVectorTakeArray(user->y_ceed, MemTypeP2C(y_mem_type), NULL); in ApplyLocalCeedOp()
|
| H A D | setup-libceed.c | 42 CeedVectorDestroy(&data->y_ceed); in CeedDataDestroy() 204 CeedVectorCreate(ceed, U_loc_size, &data[fine_level]->y_ceed); in SetupLibceedFineLevel() 523 CeedVectorCreate(ceed, U_loc_size, &data[level]->y_ceed); in SetupLibceedLevel()
|
| /libCEED/examples/petsc/include/ |
| H A D | structs.h | 25 CeedVector x_ceed, y_ceed; member 53 CeedVector q_data, x_ceed, y_ceed; member
|
| /libCEED/examples/fluids/include/ |
| H A D | petsc_ops.h | 17 CeedVector x_ceed, y_ceed; member 22 …M dm_x, DM dm_y, Ceed ceed, CeedOperator op_apply, CeedVector x_ceed, CeedVector y_ceed, Vec X_loc,
|
| /libCEED/examples/petsc/ |
| H A D | area.c | 173 PetscCall(VecP2C(V_loc, &mem_type, ceed_data->y_ceed)); in main() 184 …CeedOperatorApply(ceed_data->op_apply, ceed_data->x_ceed, ceed_data->y_ceed, CEED_REQUEST_IMMEDIAT… in main() 187 PetscCall(VecC2P(ceed_data->y_ceed, mem_type, V_loc)); in main()
|
| H A D | bpsraw.c | 117 CeedVector x_ceed, y_ceed; member 240 CeedVectorSetArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in MatMult_Mass() 243 …CeedOperatorApply(op_apply_ctx->op, op_apply_ctx->x_ceed, op_apply_ctx->y_ceed, CEED_REQUEST_IMMED… in MatMult_Mass() 247 CeedVectorTakeArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), NULL); in MatMult_Mass() 277 CeedVectorSetArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), CEED_USE_POINTER, y); in MatMult_Diff() 280 …CeedOperatorApply(op_apply_ctx->op, op_apply_ctx->x_ceed, op_apply_ctx->y_ceed, CEED_REQUEST_IMMED… in MatMult_Diff() 284 CeedVectorTakeArray(op_apply_ctx->y_ceed, MemTypeP2C(y_mem_type), NULL); in MatMult_Diff() 653 CeedVectorCreate(ceed, l_size * num_comp_u, &op_apply_ctx->y_ceed); in main() 796 CeedVectorDestroy(&op_apply_ctx->y_ceed); in main()
|
| H A D | multigrid.c | 340 pr_restr_ctx[i]->ceed_vec_f = ceed_data[i]->y_ceed; in main()
|
| /libCEED/examples/solids/include/ |
| H A D | structs.h | 87 CeedVector x_ceed, y_ceed; member 127 …CeedVector geo_data, geo_data_diagnostic, x_ceed, y_ceed, true_soln, stored_fields[SOLIDS_MAX_N… member
|