www.mooseframework.org
main.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #include "XFEMTestApp.h"
9 #include "MooseInit.h"
10 #include "Moose.h"
11 #include "MooseApp.h"
12 #include "AppFactory.h"
13 
14 // Create a performance log
15 PerfLog Moose::perf_log("Xfem");
16 
17 // Begin the main program.
18 int
19 main(int argc, char * argv[])
20 {
21  // Initialize MPI, solvers and MOOSE
22  MooseInit init(argc, argv);
23 
24  // Register this application's MooseApp and any it depends on
26 
27  // Create an instance of the application and store it in a smart pointer for easy cleanup
28  std::shared_ptr<MooseApp> app = AppFactory::createAppShared("XFEMTestApp", argc, argv);
29 
30  // Execute the application
31  app->run();
32 
33  return 0;
34 }
int main(int argc, char *argv[])
Definition: main.C:18
static void registerApps()
Definition: XFEMTestApp.C:42