Lines Matching refs:comm
384 PetscErrorCode PetscFECreateLagrangeFromOptions(MPI_Comm comm, PetscInt dim, PetscInt num_comp, Pet… in PetscFECreateLagrangeFromOptions() argument
394 PetscCall(PetscSpaceCreate(comm, &fe_space)); in PetscFECreateLagrangeFromOptions()
406 PetscCall(PetscSpaceCreate(comm, &fe_space_end)); in PetscFECreateLagrangeFromOptions()
412 PetscCall(PetscSpaceCreate(comm, &fe_space_side)); in PetscFECreateLagrangeFromOptions()
428 PetscCall(PetscSpaceCreate(comm, &fe_space)); in PetscFECreateLagrangeFromOptions()
447 PetscCall(PetscDualSpaceCreate(comm, &fe_dual_space)); in PetscFECreateLagrangeFromOptions()
467 PetscOptionsBegin(comm, NULL, "Uniform quadrature check", NULL); in PetscFECreateLagrangeFromOptions()
470 …PetscCheck(!use_uniform || (is_tensor || dim == 1), comm, PETSC_ERR_SUP, "Can only use uniform qua… in PetscFECreateLagrangeFromOptions()
688 static inline PetscErrorCode Create1DTabulation_Tensor(MPI_Comm comm, PetscFE fe, PetscTabulation *… in Create1DTabulation_Tensor() argument
712 PetscCall(PetscFECreateLagrangeFromOptions(comm, 1, num_comp, !is_tensor, order, in Create1DTabulation_Tensor()
766 MPI_Comm comm = PetscObjectComm((PetscObject)dm); in DMPlexCeedBasisCreate() local
805 PetscOptionsBegin(comm, NULL, "Tensor Basis as Nontensor Check", NULL); in DMPlexCeedBasisCreate()
820 …PetscCheck(elem_topo, comm, PETSC_ERR_SUP, "DMPlex topology not supported: %s", DMPolytopeTypes[ce… in DMPlexCeedBasisCreate()
843 … PetscCall(Create1DTabulation_Tensor(comm, fe, &basis_tabulation, &q_points_1d, &q_weights_1d)); in DMPlexCeedBasisCreate()
1074 MPI_Comm comm = PetscObjectComm((PetscObject)dm); in DMSetupByOrderBegin_FEM() local
1085 PetscCall(PetscFECreateLagrange(comm, dim, field_sizes[i], is_simplex, degree, q_order, &fe)); in DMSetupByOrderBegin_FEM()
1109 …PetscCall(PetscFECreateLagrange(comm, dim, num_comp_coord, is_simplex, fe_coord_order, q_order, &f… in DMSetupByOrderBegin_FEM()
1215 MPI_Comm comm = PetscObjectComm((PetscObject)dm); in DMPlexCreateFaceLabel() local
1246 …PetscCheck(face_support_size == 1, comm, PETSC_ERR_SUP, "Expected one cell in support of exterior … in DMPlexCreateFaceLabel()
1256 …PetscCheck(fe_face_on_cell != -1, comm, PETSC_ERR_SUP, "Could not find face %" PetscInt_FMT " in c… in DMPlexCreateFaceLabel()
1281 MPI_Comm comm = PetscObjectComm((PetscObject)dm); in DMLabelCreateGlobalValueArray() local
1309 PetscCall(PetscGlobalMinMaxInt(comm, minmax_values_loc, minmax_values)); in DMLabelCreateGlobalValueArray()
1316 PetscCallMPI(MPIU_Allreduce(&location_local, &location_global, 1, MPIU_INT, MPI_MAX, comm)); in DMLabelCreateGlobalValueArray()