44 #include <Epetra_ConfigDefs.h> 47 #include <Epetra_MpiComm.h> 49 #include <Epetra_SerialComm.h> 52 #include <lifev/core/LifeV.hpp> 57 LifeV::AboutData about (
"Name of the application" ,
61 LifeV::AboutData::License_GPL,
62 "Copyright (c) 2009 EPFL");
64 about.addAuthor (
"Name Surname",
"Developer",
"name.surname@epfl.ch",
"");
65 about.addAuthor (
"Name Surname",
"Developer",
"name.surname@epfl.ch",
"");
70 using namespace LifeV;
73 main (
int argc,
char** argv )
76 std::shared_ptr<Epetra_Comm> comm;
79 std::cout <<
"MPI Initialization" << std::endl;
80 MPI_Init ( &argc, &argv );
89 MPI_Comm_size ( MPI_COMM_WORLD, &nprocs );
90 MPI_Comm_rank ( MPI_COMM_WORLD, &rank );
94 std::cout <<
"MPI processes: " << nprocs << std::endl;
95 std::cout <<
"MPI Epetra Initialization ... " << std::endl;
97 comm.reset (
new Epetra_MpiComm ( MPI_COMM_WORLD ) );
103 std::cout <<
"MPI SERIAL Epetra Initialization ... " << std::endl;
104 comm.reset (
new Epetra_SerialComm() );
115 if ( result > tolerance)
123 std::cout <<
"MPI Finalization" << std::endl;
LifeV::AboutData makeAbout()
void updateInverseJacobian(const UInt &iQuadPt)
int main(int argc, char **argv)