From e045a8c8eab606389f34a0660a354cbdd3a667e0 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 27 May 2025 09:56:14 +0200 Subject: [PATCH] Fix argument list to dummy MUMPS constructor --- include/deal.II/lac/sparse_direct.h | 1 + source/lac/sparse_direct.cc | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/deal.II/lac/sparse_direct.h b/include/deal.II/lac/sparse_direct.h index c1ee01d1c7..6947b234e4 100644 --- a/include/deal.II/lac/sparse_direct.h +++ b/include/deal.II/lac/sparse_direct.h @@ -443,6 +443,7 @@ private: }; + /** * This class provides an interface to the parallel sparse direct solver MUMPS. MUMPS is direct method based on diff --git a/source/lac/sparse_direct.cc b/source/lac/sparse_direct.cc index db1f29a5cc..ef1d41e0f4 100644 --- a/source/lac/sparse_direct.cc +++ b/source/lac/sparse_direct.cc @@ -1091,9 +1091,12 @@ SparseDirectMUMPS::get_icntl() } + #else -SparseDirectMUMPS::SparseDirectMUMPS(const AdditionalData &) + +SparseDirectMUMPS::SparseDirectMUMPS(const AdditionalData &, const MPI_Comm &) + : mpi_communicator(MPI_COMM_SELF) { AssertThrow( false, @@ -1104,6 +1107,7 @@ SparseDirectMUMPS::SparseDirectMUMPS(const AdditionalData &) } + SparseDirectMUMPS::~SparseDirectMUMPS() {} -- 2.39.5