示例#1
0
void
MooseApp::run()
{
  setupOptions();
  runInputFile();
  executeExecutioner();
}
示例#2
0
void
MooseApp::run()
{
  Moose::perf_log.push("Full Runtime", "Application");

  Moose::perf_log.push("Application Setup", "Setup");
  try
  {
    setupOptions();
    runInputFile();
  }
  catch (std::exception & err)
  {
    mooseError(err.what());
  }
  Moose::perf_log.pop("Application Setup", "Setup");

  if (!_check_input)
    executeExecutioner();
  else
  {
    errorCheck();
    // Output to stderr, so it is easier for peacock to get the result
    Moose::err << "Syntax OK" << std::endl;
  }

  Moose::perf_log.pop("Full Runtime", "Application");
}
示例#3
0
void
MooseApp::run()
{
  Moose::perf_log.push("Full Runtime", "Application");

  Moose::perf_log.push("Application Setup", "Setup");
  setupOptions();
  runInputFile();
  Moose::perf_log.pop("Application Setup", "Setup");

  executeExecutioner();
  Moose::perf_log.pop("Full Runtime", "Application");
}