Skip to content
Snippets Groups Projects
Commit e387d454 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[T] Add SerialVectorMatrixBuilder Eigen test.

parent b842177d
No related branches found
No related tags found
No related merge requests found
...@@ -102,6 +102,11 @@ REGISTER_TYPED_TEST_CASE_P(AssemblerLibSerialVectorMatrixBuilder, ...@@ -102,6 +102,11 @@ REGISTER_TYPED_TEST_CASE_P(AssemblerLibSerialVectorMatrixBuilder,
#include "MathLib/LinAlg/PETSc/PETScMatrix.h" #include "MathLib/LinAlg/PETSc/PETScMatrix.h"
#endif // USE_PETSC #endif // USE_PETSC
#ifdef OGS_USE_EIGEN
#include "MathLib/LinAlg/Eigen/EigenVector.h"
#include "MathLib/LinAlg/Eigen/EigenMatrix.h"
#endif // OGS_USE_EIGEN
typedef ::testing::Types typedef ::testing::Types
< AssemblerLib::SerialVectorMatrixBuilder< < AssemblerLib::SerialVectorMatrixBuilder<
MathLib::GlobalDenseMatrix<double>, MathLib::DenseVector<double>> MathLib::GlobalDenseMatrix<double>, MathLib::DenseVector<double>>
...@@ -113,6 +118,10 @@ typedef ::testing::Types ...@@ -113,6 +118,10 @@ typedef ::testing::Types
, AssemblerLib::SerialVectorMatrixBuilder< , AssemblerLib::SerialVectorMatrixBuilder<
MathLib::PETScMatrix, MathLib::PETScVector> MathLib::PETScMatrix, MathLib::PETScVector>
#endif // USE_PETSC #endif // USE_PETSC
#ifdef OGS_USE_EIGEN
, AssemblerLib::SerialVectorMatrixBuilder<
MathLib::EigenMatrix, MathLib::EigenVector>
#endif // OGS_USE_EIGEN
> TestTypes; > TestTypes;
INSTANTIATE_TYPED_TEST_CASE_P(templated, AssemblerLibSerialVectorMatrixBuilder, INSTANTIATE_TYPED_TEST_CASE_P(templated, AssemblerLibSerialVectorMatrixBuilder,
......
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