Lines Matching refs:comm
117 static PetscErrorCode GetYNodeLocs(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], PetscR… in GetYNodeLocs() argument
125 PetscCall(PetscFOpen(comm, path, "r", &fp)); in GetYNodeLocs()
126 PetscCall(PetscSynchronizedFGets(comm, fp, char_array_len, line)); in GetYNodeLocs()
142 PetscCall(PetscSynchronizedFGets(comm, fp, char_array_len, line)); in GetYNodeLocs()
144 PetscCheck(ndims == dims[1], comm, PETSC_ERR_FILE_UNEXPECTED, in GetYNodeLocs()
150 PetscCall(PetscFClose(comm, fp)); in GetYNodeLocs()
166 static PetscErrorCode ModifyMesh(MPI_Comm comm, DM dm, PetscInt dim, PetscReal growth, PetscInt N, … in ModifyMesh() argument
218 PetscCheck(*num_node_locs >= faces[1] + 1, comm, PETSC_ERR_FILE_UNEXPECTED, in ModifyMesh()
222 PetscCall(PetscPrintf(comm, in ModifyMesh()
243 MPI_Comm comm = user->comm; in NS_BLASIUS() local
274 PetscOptionsBegin(comm, NULL, "Options for BLASIUS problem", NULL); in NS_BLASIUS()
286 …PetscCheck(3 <= N && N <= BLASIUS_MAX_N_CHEBYSHEV, comm, PETSC_ERR_ARG_OUTOFRANGE, "-n_chebyshev %… in NS_BLASIUS()
317 …if (strcmp(mesh_ynodes_path, "")) PetscCall(GetYNodeLocs(comm, mesh_ynodes_path, &mesh_ynodes, &me… in NS_BLASIUS()
318 …PetscCall(ModifyMesh(comm, dm, problem->dim, mesh_growth, mesh_Ndelta, mesh_refine_height, mesh_to… in NS_BLASIUS()
359 PetscCall(SetupStg(comm, dm, problem, user, weakT, S_infty.Y.temperature, S_infty.Y.pressure)); in NS_BLASIUS()
363 …te_var == STATEVAR_CONSERVATIVE) || (user->app_ctx->test_type == TESTTYPE_DIFF_FILTER), user->comm, in NS_BLASIUS()