Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 44 of file IncNavierStokesSolver.cpp.
54 session = LibUtilities::SessionReader::CreateInstance(argc, argv);
57 graph = SpatialDomains::MeshGraph::Read(session);
60 session->LoadSolverInfo(
"Driver", vDriverModule,
"Standard");
71 LibUtilities::Timer::PrintElapsedRegions(session->GetComm());
75 catch (
const std::runtime_error&)
79 catch (
const std::string& eStr)
81 cout <<
"Error: " << eStr << endl;
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
References Nektar::LibUtilities::Timer::AccumulateRegion(), Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), Nektar::SolverUtils::GetDriverFactory(), Nektar::LibUtilities::Timer::Start(), and Nektar::LibUtilities::Timer::Stop().