Skip to content
Snippets Groups Projects
Commit 19828a2c authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[matrix-inverter.fmatrix] add for Common::FieldMatrix

parent 1183e33b
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,13 @@ public:
}; // class MatrixInverterOptions<EigenDenseMatrix<S>>
template <class K, int ROWS, int COLS>
class MatrixInverterOptions<Common::FieldMatrix<K, ROWS, COLS>>
: public MatrixInverterOptions<FieldMatrix<K, ROWS, COLS>>
{
};
template <class K, int ROWS, int COLS>
class MatrixInverter<FieldMatrix<K, ROWS, COLS>> : public internal::MatrixInverterBase<FieldMatrix<K, ROWS, COLS>>
{
......@@ -82,7 +89,19 @@ protected:
using BaseType::matrix_;
using BaseType::options_;
using BaseType::inverse_;
}; // class MatrixInverter<EigenDenseMatrix<...>>
}; // class MatrixInverter<FieldMatrix<...>>
template <class K, int ROWS, int COLS>
class MatrixInverter<Common::FieldMatrix<K, ROWS, COLS>> : public MatrixInverter<FieldMatrix<K, ROWS, COLS>>
{
public:
template <class... Args>
explicit MatrixInverter(Args&&... args)
: MatrixInverter<FieldMatrix<K, ROWS, COLS>>(std::forward<Args>(args)...)
{
}
};
} // namespace Dune
......
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