www.mooseframework.org
Functions
main.C File Reference

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 18 of file main.C.

19 {
20  // Initialize MPI, solvers and MOOSE
21  MooseInit init(argc, argv);
22 
23  // Register this application's MooseApp and any it depends on
25 
26  // Create an instance of the application and store it in a smart pointer for easy cleanup
27  std::shared_ptr<MooseApp> app = AppFactory::createAppShared("HeatConductionTestApp", argc, argv);
28 
29  app->setCheckUnusedFlag(true);
30  app->setErrorOverridden();
31 
32  // Execute the application
33  app->run();
34 
35  return 0;
36 }