SPI
SLEPc PETSc Interface is used for rapid development and intuitive matrix operations similar to MatLab or NumPy style of operations
tests.hpp
Go to the documentation of this file.
1 #ifndef TESTS_H
2 #define TESTS_H
3 void test_if_true(PetscBool test,std::string name);
4 void test_if_close(PetscScalar value,PetscScalar golden, std::string name, PetscReal tol=1.E-13);
5 int tests();
6 #endif // TESTS_H
test_if_close
void test_if_close(PetscScalar value, PetscScalar golden, std::string name, PetscReal tol=1.E-13)
Definition: tests.cpp:11
test_if_true
void test_if_true(PetscBool test, std::string name)
Definition: tests.cpp:6
tests
int tests()
Definition: tests.cpp:24