mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
Merge pull request #6964 from SoilRos/feature/matrix-block-with-field-traits
Add FieldTraits specialization for MatrixBlock
This commit is contained in:
1 file changed
+5
@@ -316,6 +316,11 @@ struct IsNumber<Opm::MatrixBlock<T, n, m>>
|
||||
: public IsNumber<Dune::FieldMatrix<T,n,m>>
|
||||
{};
|
||||
|
||||
template<typename T, int n, int m>
|
||||
struct FieldTraits<Opm::MatrixBlock<T, n, m>>
|
||||
: public FieldTraits<Dune::FieldMatrix<T,n,m>>
|
||||
{};
|
||||
|
||||
} // end namespace Dune
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user