Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 42 of file AcousticSolver.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), and Nektar::SolverUtils::GetDriverFactory().
52 session = LibUtilities::SessionReader::CreateInstance(argc, argv);
55 graph = SpatialDomains::MeshGraph::Read(session);
58 session->LoadSolverInfo(
"Driver", vDriverModule,
"Standard");
67 catch (
const std::runtime_error &e)
71 catch (
const std::string &eStr)
73 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