Merge pull request #2697 from bska/restore-sequential-build

Don't Name Type that does not Exist in Sequential Configurations
This commit is contained in:
Bård Skaflestad 2020-07-01 22:50:58 +02:00 committed by GitHub
commit 6a6f55b099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ namespace Amg
*/
struct PressureInverseOperator : public Dune::InverseOperator<X, X>
{
#if HAVE_MPI
template <typename GlobalIndex, typename LocalIndex>
PressureInverseOperator(Operator& op,
const boost::property_tree::ptree& prm,
@ -67,6 +68,8 @@ namespace Amg
assert(op.category() == Dune::SolverCategory::overlapping);
linsolver_ = std::make_unique<Solver>(op, comm, prm, std::function<X()>());
}
#endif // HAVE_MPI
PressureInverseOperator(Operator& op,
const boost::property_tree::ptree& prm,
const SequentialInformation&)