Lines Matching refs:G_loc
72 static PetscErrorCode Surface_Forces_NS(DM dm, Vec G_loc, PetscInt num_walls, const PetscInt walls[… in Surface_Forces_NS() argument
81 PetscCall(VecGetArrayRead(G_loc, &g_array)); in Surface_Forces_NS()
111 PetscCall(VecRestoreArrayRead(G_loc, &g_array)); in Surface_Forces_NS()
120 Vec Q_loc = honee->Q_loc, Q_dot_loc = honee->Q_dot_loc, G_loc; in IFunction_NS() local
125 PetscCall(DMGetNamedLocalVector(honee->dm, "ResidualLocal", &G_loc)); in IFunction_NS()
142 PetscCall(VecPetscToCeed(G_loc, &g_mem_type, honee->g_ceed)); in IFunction_NS()
154 PetscCall(VecCeedToPetsc(honee->g_ceed, g_mem_type, G_loc)); in IFunction_NS()
157 PetscCall(SgsDDApplyIFunction(honee, Q_loc, G_loc)); in IFunction_NS()
162 PetscCall(DMLocalToGlobal(honee->dm, G_loc, ADD_VALUES, G)); in IFunction_NS()
165 PetscCall(DMRestoreNamedLocalVector(honee->dm, "ResidualLocal", &G_loc)); in IFunction_NS()
256 Vec G_loc; in TSMonitor_WallForce() local
266 PetscCall(DMGetNamedLocalVector(honee->dm, "ResidualLocal", &G_loc)); in TSMonitor_WallForce()
268 PetscCall(Surface_Forces_NS(honee->dm, G_loc, num_wall, walls, reaction_force)); in TSMonitor_WallForce()
269 PetscCall(DMRestoreNamedLocalVector(honee->dm, "ResidualLocal", &G_loc)); in TSMonitor_WallForce()