Go to the source code of this file.
|  | 
| int | main (int argc, char *argv[]) | 
|  | 
      
        
          | int main | ( | int | argc, | 
        
          |  |  | char * | argv[] | 
        
          |  | ) |  |  | 
      
 
Definition at line 43 of file LinearElasticSolver.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), and Nektar::SolverUtils::GetDriverFactory().
   52         session = LibUtilities::SessionReader::CreateInstance(argc, argv);
 
   55         session->LoadSolverInfo(
"Driver", vDriverModule, 
"Standard");
 
   64     catch (
const std::runtime_error& e)
 
   68     catch (
const std::string& eStr)
 
   70         cout << 
"Error: " << eStr << endl;
 
boost::shared_ptr< Driver > DriverSharedPtr
A shared pointer to a Driver object. 
tBaseSharedPtr CreateInstance(tKey idKey BOOST_PP_COMMA_IF(MAX_PARAM) BOOST_PP_ENUM_BINARY_PARAMS(MAX_PARAM, tParam, x))
Create an instance of the class referred to by idKey. 
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
DriverFactory & GetDriverFactory()