www.mooseframework.org
Problem.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #include "Problem.h"
16 #include "Factory.h"
17 #include "Function.h"
18 
19 template <>
22 {
23  InputParameters params;
24  params += validParams<MooseObject>();
25  params.registerBase("Problem");
26  return params;
27 }
28 
29 Problem::Problem(const InputParameters & parameters)
30  : MooseObject(parameters),
31  _cli_option_found(false),
32  _color_output(false),
33  _termination_requested(false)
34 {
35 }
36 
InputParameters validParams< Problem >()
Definition: Problem.C:21
Problem(const InputParameters &parameters)
Definition: Problem.C:29
virtual ~Problem()
Definition: Problem.C:37
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void registerBase(const std::string &value)
This method must be called from every base "Moose System" to create linkage with the Action System...
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:36
InputParameters validParams< MooseObject >()
Definition: MooseObject.C:22