www.mooseframework.org
main.C
Go to the documentation of this file.
1 
2 //* This file is part of the MOOSE framework
3 //* https://www.mooseframework.org
4 //*
5 //* All rights reserved, see COPYRIGHT for full restrictions
6 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
7 //*
8 //* Licensed under LGPL 2.1, please see LICENSE for details
9 //* https://www.gnu.org/licenses/lgpl-2.1.html
10 #include "PeridynamicsTestApp.h"
11 #include "MooseInit.h"
12 #include "Moose.h"
13 #include "MooseApp.h"
14 #include "AppFactory.h"
15 
16 // Create a performance log
17 PerfLog Moose::perf_log("Peridynamics");
18 
19 // Begin the main program.
20 int
21 main(int argc, char * argv[])
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  // This creates dynamic memory that we're responsible for deleting
30  std::shared_ptr<MooseApp> app = AppFactory::createAppShared("PeridynamicsTestApp", argc, argv);
31 
32  app->setCheckUnusedFlag(true);
33  app->setErrorOverridden();
34 
35  // Execute the application
36  app->run();
37 
38  return 0;
39 }
main
int main(int argc, char *argv[])
Definition: main.C:21
PeridynamicsTestApp::registerApps
static void registerApps()
Definition: PeridynamicsTestApp.C:47
PeridynamicsTestApp.h