Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ifpack2: Improve LocalSparseTriangularSolver unit test
@trilinos/ifpack2 Test PASSES. Add a new unit test for LocalSparseTriangularSolver. It exercises lower and upper triangular solves with a matrix whose LU factorization is known and exact (in binary floating-point arithmetic), and a resulting linear system whose solution is exact (again in binary floating-point arithmetic). Exactness means we don't need an error tolerance. (This assumes that the triangular solve is exact. It's possible to do approximate triangular solves. We ignore this case for now.) This relates to #558 and other outstanding issues. Given that LocalSparseTriangularSolver behaves correctly, we can now focus on classes that use it. For example, it would make sense to extend the "arrow matrix" test case in this new test, to include "remote" entries that Ifpack2::LocalFilter should filter out. I also instrumented Ifpack2::LocalSparseTriangularSolver with optional debug output. It takes a Teuchos::FancyOStream, which helps us get debug output in sync with unit test output. Build/Test Cases Summary Enabled Packages: Ifpack2 Disabled Packages: FEI,PyTrilinos,Moertel,STK,SEACAS,ThreadPool,OptiPack,Rythmos,Intrepid,ROL 0) MPI_DEBUG => passed: passed=29,notpassed=0 (7.80 min) 1) SERIAL_RELEASE => passed: passed=25,notpassed=0 (6.10 min)
- Loading branch information