Skip to content
Snippets Groups Projects
Commit 9431373b authored by Tom Fischer's avatar Tom Fischer
Browse files

[NL/ODESolver] EquationSystem: don't inherit from MatrixSpecificationProvider.

parent 08e6faf5
No related branches found
No related tags found
No related merge requests found
......@@ -16,15 +16,6 @@
namespace NumLib
{
class MatrixSpecificationsProvider
{
public:
virtual MathLib::MatrixSpecifications getMatrixSpecifications(
const int process_id) const = 0;
virtual ~MatrixSpecificationsProvider() = default;
};
/*! Manages storage for vectors.
*
* This interface provides storage management semantics for vectors, which
......
......@@ -10,7 +10,7 @@
#pragma once
#include "NumLib/DOF/MatrixProviderUser.h"
#include "MathLib/LinAlg/MatrixSpecifications.h"
namespace NumLib
{
......@@ -27,7 +27,7 @@ enum class IterationResult : char
/*! Collection of basic methods every equation system must provide.
*/
class EquationSystem : public NumLib::MatrixSpecificationsProvider
class EquationSystem
{
public:
/*! Check whether this is actually a linear equation system.
......@@ -61,6 +61,11 @@ public:
(void)x; // by default do nothing
return IterationResult::SUCCESS;
}
virtual MathLib::MatrixSpecifications getMatrixSpecifications(
const int process_id) const = 0;
virtual ~EquationSystem() = default;
};
//! @}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment