Home
last modified time | relevance | path

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

/libCEED/examples/fluids/src/
H A Dsetupts.c57 static PetscErrorCode Surface_Forces_NS(DM dm, Vec G_loc, PetscInt num_walls, const PetscInt walls[… in Surface_Forces_NS() argument
65 PetscCall(PetscArrayzero(reaction_force, num_walls * dim)); in Surface_Forces_NS()
69 for (PetscInt w = 0; w < num_walls; w++) { in Surface_Forces_NS()
96 …PetscCallMPI(MPI_Allreduce(MPI_IN_PLACE, reaction_force, dim * num_walls, MPIU_SCALAR, MPI_SUM, co… in Surface_Forces_NS()