# Distributed under the MIT License.
# See LICENSE.txt for details.

set(LIBRARY "Test_ParallelGmres")

set(LIBRARY_SOURCES
  Test_ElementActions.cpp
  Test_ResidualMonitorActions.cpp
  )

add_test_library(
  ${LIBRARY}
  "ParallelAlgorithms/LinearSolver/Gmres"
  "${LIBRARY_SOURCES}"
  "Convergence;DataStructures;IO;ParallelLinearSolver"
  )

add_dependencies(
  ${LIBRARY}
  module_GlobalCache
  )

add_linear_solver_algorithm_test("GmresAlgorithm")
add_linear_solver_algorithm_test("GmresPreconditionedAlgorithm")
add_distributed_linear_solver_algorithm_test("DistributedGmresAlgorithm")
add_distributed_linear_solver_algorithm_test(
  "DistributedGmresPreconditionedAlgorithm")
