Commit 16312f49 authored by thomaskummer's avatar thomaskummer
Browse files

intrepid lifev update

parent f29163aa
......@@ -127,9 +127,8 @@ int main (int argc, char** argv)
//============================================//
// Communicator, displayer and command line
// Communicator and displayer
//============================================//
#ifdef HAVE_MPI
MPI_Init ( &argc, &argv );
#endif
......@@ -139,8 +138,15 @@ int main (int argc, char** argv)
Displayer displayer ( comm );
displayer.leaderPrint ("\nUsing MPI\n");
GetPot command_line (argc, argv);
//============================================//
// Read data file and create output folder
//============================================//
GetPot command_line (argc, argv);
const std::string data_file_name = command_line.follow ("data", 2, "-f", "--file");
GetPot dataFile (data_file_name);
std::string problemFolder = EMUtility::createOutputFolder (command_line, *comm);
//============================================//
// Electromechanic solver
......@@ -170,15 +176,6 @@ int main (int argc, char** argv)
HeartSolver<mesh_Type>> heartSolver (solver, circulationSolver);
//============================================//
// Read data file and create output folder
//============================================//
const std::string data_file_name = command_line.follow ("data", 2, "-f", "--file");
GetPot dataFile (data_file_name);
std::string problemFolder = EMUtility::createOutputFolder (command_line, *comm);
//============================================//
// Setup material data
//============================================//
......
......@@ -32,6 +32,10 @@ public:
virtual ~HeartSolver() {};
void preloadHeart(const VectorSmall<2>& endocardiaBC);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment