Home
last modified time | relevance | path

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

/libCEED/examples/fluids/src/
H A Dsetuplibceed.c338 CeedQFunction qf_ics; in SetupLibceed() local
342 …CeedQFunctionCreateInterior(ceed, 1, problem->ics.qfunction, problem->ics.qfunction_loc, &qf_ics)); in SetupLibceed()
343 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_ics, problem->ics.qfunction_context)); in SetupLibceed()
344 PetscCallCeed(ceed, CeedQFunctionSetUserFlopsEstimate(qf_ics, 0)); in SetupLibceed()
345 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_ics, "x", num_comp_x, CEED_EVAL_INTERP)); in SetupLibceed()
346 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_ics, "dx", num_comp_x * dim, CEED_EVAL_GRAD)); in SetupLibceed()
347 PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_ics, "q0", num_comp_q, CEED_EVAL_NONE)); in SetupLibceed()
349 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_ics, NULL, NULL, &op_ics)); in SetupLibceed()
357 PetscCallCeed(ceed, CeedQFunctionDestroy(&qf_ics)); in SetupLibceed()