Skip to content

Commit 2184819

Browse files
committed
Revert "Temporary workaround for MOOSE apps (mis)using LibmeshPetscCall"
This reverts commit b5e4298.
1 parent a80baba commit 2184819

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

include/numerics/petsc_solver_exception.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,6 @@ class PetscSolverException : public SolverException
9292
// Remove me: for backward compatibility with MOOSE only
9393
#define LIBMESH_CHKERR(ierr) LIBMESH_CHKERRQ(ierr)
9494
#define LIBMESH_CHKERR2(comm, ierr) LIBMESH_CHKERRA(comm, ierr)
95-
#define LibmeshPetscCall(...) \
96-
do \
97-
{ \
98-
PetscErrorCode libmesh_petsc_call_ierr; \
99-
libmesh_petsc_call_ierr = __VA_ARGS__; \
100-
LIBMESH_CHKERRQ(libmesh_petsc_call_ierr); \
101-
} while (0)
10295

10396
#else
10497

@@ -146,10 +139,8 @@ PETSC_BEGIN_END(VecGhostUpdate) // VecGhostUpdateBeginEnd
146139

147140
// Shortcut for LibmeshPetscCallA for use within a ParallelObject, i.e. when
148141
// we can rely on the communicator being available from the "this" pointer.
149-
/*
150142
#define LibmeshPetscCall(...) \
151143
LibmeshPetscCallA(this->comm().get(), __VA_ARGS__)
152-
*/
153144

154145
// Shortcut for LibmeshPetscCallA for use when we have a Parallel::Communicator
155146
// available instead of just a bare MPI communicator.

0 commit comments

Comments
 (0)