Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 43 of file CompressibleFlowSolver.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), and Nektar::SolverUtils::GetDriverFactory().
53 session = LibUtilities::SessionReader::CreateInstance(argc, argv);
56 graph = SpatialDomains::MeshGraph::Read(session);
59 session->LoadSolverInfo(
"Driver", vDriverModule,
"Standard");
68 catch (
const std::runtime_error&)
72 catch (
const std::string& eStr)
74 cout <<
"Error: " << eStr << endl;
std::shared_ptr< MeshGraph > MeshGraphSharedPtr
std::shared_ptr< Driver > DriverSharedPtr
A shared pointer to a Driver object.
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
DriverFactory & GetDriverFactory()
std::shared_ptr< SessionReader > SessionReaderSharedPtr