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

◆ main()

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

Definition at line 21 of file main.C.

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