44int main(
int argc,
char *argv[])
54 session = LibUtilities::SessionReader::CreateInstance(argc, argv);
62 graph = SpatialDomains::MeshGraph::Read(session);
65 session->LoadSolverInfo(
"Driver", vDriverModule,
"Standard");
78 if (session->DefinesCmdLineArgument(
"verbose"))
80 LibUtilities::Timer::PrintElapsedRegions(session->GetComm());
88 catch (
const std::runtime_error &e)
92 catch (
const std::string &eStr)
94 cout <<
"Error: " << eStr << endl;
int main(int argc, char *argv[])
#define LIKWID_MARKER_THREADINIT
#define LIKWID_MARKER_CLOSE
#define LIKWID_MARKER_INIT
#define LIKWID_MARKER_REGISTER(regionTag)
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
The above copyright notice and this permission notice shall be included.