45int main(
int argc,
char *argv[])
55 session = LibUtilities::SessionReader::CreateInstance(argc, argv);
58 graph = SpatialDomains::MeshGraphIO::Read(session);
61 session->LoadSolverInfo(
"Driver", vDriverModule,
"Standard");
74 if (session->DefinesCmdLineArgument(
"verbose"))
76 LibUtilities::Timer::PrintElapsedRegions(
77 session->GetComm()->GetSpaceComm());
83 catch (
const std::runtime_error &e)
87 catch (
const std::string &eStr)
89 cout <<
"Error: " << eStr << endl;
int main(int argc, char *argv[])
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
void AccumulateRegion(std::string, int iolevel=0)
Accumulate elapsed time for a region.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< Driver > DriverSharedPtr
A shared pointer to a Driver object.
DriverFactory & GetDriverFactory()
std::shared_ptr< MeshGraph > MeshGraphSharedPtr