Lines Matching refs:Q_loc
18 PetscErrorCode UpdateBoundaryValues(Honee honee, Vec Q_loc, PetscReal t) { in UpdateBoundaryValues() argument
21 PetscCall(DMPlexInsertBoundaryValues(honee->dm, PETSC_TRUE, Q_loc, t, NULL, NULL, NULL)); in UpdateBoundaryValues()
34 Vec Q_loc = honee->Q_loc, R; in RHS_NS() local
39 PetscCall(UpdateBoundaryValues(honee, Q_loc, t)); in RHS_NS()
47 PetscCall(DMGlobalToLocal(honee->dm, Q, INSERT_VALUES, Q_loc)); in RHS_NS()
48 …od != DIV_DIFF_FLUX_PROJ_NONE) PetscCall(DivDiffFluxProjectionApply(honee->diff_flux_proj, Q_loc)); in RHS_NS()
49 PetscCall(ApplyCeedOperatorLocalToGlobal(Q_loc, R, honee->op_rhs_ctx)); in RHS_NS()
52 PetscCall(VecReadPetscToCeed(Q_loc, &q_mem_type, honee->q_ceed)); in RHS_NS()
65 PetscCall(VecReadCeedToPetsc(honee->q_ceed, q_mem_type, Q_loc)); in RHS_NS()
120 Vec Q_loc = honee->Q_loc, Q_dot_loc = honee->Q_dot_loc, G_loc; in IFunction_NS() local
128 PetscCall(UpdateBoundaryValues(honee, Q_loc, t)); in IFunction_NS()
134 PetscCall(DMGlobalToLocalBegin(honee->dm, Q, INSERT_VALUES, Q_loc)); in IFunction_NS()
135 PetscCall(DMGlobalToLocalEnd(honee->dm, Q, INSERT_VALUES, Q_loc)); in IFunction_NS()
136 …od != DIV_DIFF_FLUX_PROJ_NONE) PetscCall(DivDiffFluxProjectionApply(honee->diff_flux_proj, Q_loc)); in IFunction_NS()
140 PetscCall(VecReadPetscToCeed(Q_loc, &q_mem_type, honee->q_ceed)); in IFunction_NS()
152 PetscCall(VecReadCeedToPetsc(honee->q_ceed, q_mem_type, Q_loc)); in IFunction_NS()
157 PetscCall(SgsDDApplyIFunction(honee, Q_loc, G_loc)); in IFunction_NS()
196 Vec Q_loc; in WriteOutput() local
203 PetscCall(DMGetLocalVector(honee->dm, &Q_loc)); in WriteOutput()
204 PetscCall(PetscObjectSetName((PetscObject)Q_loc, "StateVec")); in WriteOutput()
205 PetscCall(VecZeroEntries(Q_loc)); in WriteOutput()
206 PetscCall(DMGlobalToLocal(honee->dm, Q, INSERT_VALUES, Q_loc)); in WriteOutput()
212 PetscCall(VecView(Q_loc, viewer)); in WriteOutput()
236 PetscCall(DMRestoreLocalVector(honee->dm, &Q_loc)); in WriteOutput()