Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex11.c388 …atic PetscErrorCode CreateQFunctionContext_SW(Physics phys, Ceed ceed, CeedQFunctionContext *qfCtx) in CreateQFunctionContext_SW() argument
398 PetscCallCEED(CeedQFunctionContextCreate(ceed, qfCtx)); in CreateQFunctionContext_SW()
399 …PetscCallCEED(CeedQFunctionContextSetData(*qfCtx, CEED_MEM_HOST, CEED_USE_POINTER, sizeof(*sw), sw… in CreateQFunctionContext_SW()
400 PetscCallCEED(CeedQFunctionContextSetDataDestroy(*qfCtx, CEED_MEM_HOST, FreeContextPetsc)); in CreateQFunctionContext_SW()
401 …PetscCallCEED(CeedQFunctionContextRegisterDouble(*qfCtx, "gravity", offsetof(Physics_SW, gravity),… in CreateQFunctionContext_SW()
410 CeedQFunctionContext qfCtx; in SetupCEED_SW() local
416 PetscCall(CreateQFunctionContext_SW(physics, ceed, &qfCtx)); in SetupCEED_SW()
417 …ateFVM(dm, PETSC_TRUE, PhysicsRiemann_SW_Rusanov_CEED, PhysicsRiemann_SW_Rusanov_CEED_loc, qfCtx)); in SetupCEED_SW()
418 PetscCallCEED(CeedQFunctionContextDestroy(&qfCtx)); in SetupCEED_SW()
595 …c PetscErrorCode CreateQFunctionContext_Euler(Physics phys, Ceed ceed, CeedQFunctionContext *qfCtx) in CreateQFunctionContext_Euler() argument
[all …]
/petsc/src/dm/interface/
H A Ddmceed.c325 …Info, CeedQFunctionUser func, const char *func_source, DMCeed *soldata, CeedQFunctionContext qfCtx) in DMCeedCreateFVM_Internal() argument
365 PetscCallCEED(CeedQFunctionSetContext(sd->qf, qfCtx)); in DMCeedCreateFVM_Internal()
384 …scBool createGeometry, CeedQFunctionUser func, const char *func_source, CeedQFunctionContext qfCtx) in DMCeedCreateFVM() argument
393 …CreateFVM_Internal(dm, faceIS, createGeometry, PETSC_TRUE, func, func_source, &dm->dmceed, qfCtx)); in DMCeedCreateFVM()