LinearAlgebraBase.hpp 323 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

namespace AMDiS
{
  namespace Impl 
  {
    // Type-Trait needs to be specialized by linear algebra libraries
    template <class Vector>
    struct BaseVector { using type = Vector; };
  }

  template <class Vector>
  using BaseVector = typename Impl::BaseVector<Vector>::type;
    
} // end namespace AMDiS