40 #include <Epetra_ConfigDefs.h> 41 #include <Epetra_Comm.h> 44 #include <lifev/core/LifeV.hpp> 45 #include "../importExport/TestImportExport.hpp" 47 #include <lifev/core/filter/ExporterEnsight.hpp> 48 #include <lifev/core/filter/ExporterVTK.hpp> 52 using namespace LifeV;
55 main (
int argc,
char** argv )
58 std::shared_ptr<Epetra_Comm> commPtr;
61 std::cout <<
"MPI Initialization" << std::endl;
62 MPI_Init ( &argc, &argv );
71 MPI_Comm_size ( MPI_COMM_WORLD, &nprocs );
72 MPI_Comm_rank ( MPI_COMM_WORLD, &rank );
76 std::cout <<
"MPI processes: " << nprocs << std::endl;
77 std::cout <<
"MPI Epetra Initialization ... " << std::endl;
79 commPtr.reset (
new Epetra_MpiComm ( MPI_COMM_WORLD ) );
85 std::cout <<
"MPI SERIAL Epetra Initialization ... " << std::endl;
86 commPtr.reset (
new Epetra_SerialComm() );
95 passed = testImportExport.run<exporter1_Type, exporter2_Type > ( command_line,
"import" );
100 std::cout <<
"MPI Finalization" << std::endl;
ExporterEnsight data exporter.
LifeV::RegionMesh< LifeV::LinearTetra > mesh_Type
GetPot(const int argc_, char **argv_, const char *FieldSeparator=0x0)
LifeV::ExporterVTK< TestImportExport::mesh_Type > exporter2_Type
LifeV::ExporterEnsight< TestImportExport::mesh_Type > exporter1_Type
int main(int argc, char **argv)
ExporterVTK data exporter.