45 #include <lifev/core/LifeV.hpp> 53 using namespace LifeV;
58 int main (
int argc,
char* argv[])
62 MPI_Init (&argc, &argv);
63 std::shared_ptr<Epetra_Comm> Comm (
new Epetra_MpiComm (MPI_COMM_WORLD) );
65 std::shared_ptr<Epetra_Comm> Comm (
new Epetra_SerialComm);
67 bool verbose (Comm->MyPID() == 0);
70 const LifeV::Real tolerance ( 1e-10 );
72 ETA_ADR2DTest eta_adr2DTest;
75 const LifeV::Real error = eta_adr2DTest.run();
76 const bool unsuccess = std::fabs ( error ) > tolerance;
82 std::cout <<
"End Result: TEST NOT PASSED" << std::endl;
89 std::cout <<
"End Result: TEST PASSED" << std::endl;
100 return ( EXIT_FAILURE );
104 return ( EXIT_SUCCESS );
int main(int argc, char **argv)