www.mooseframework.org
MooseTypes.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 // STL includes
16 #include <vector>
17 
18 // MOOSE includes
19 #include "MooseTypes.h"
20 
21 namespace Moose
22 {
23 
24 // Currently there are 7 exec types (See MooseTypes.h)
25 const std::vector<ExecFlagType>
27 {
28  std::vector<ExecFlagType> exec_types(8);
29  exec_types[0] = EXEC_INITIAL;
30  exec_types[1] = EXEC_TIMESTEP_BEGIN;
31  exec_types[2] = EXEC_NONLINEAR;
32  exec_types[3] = EXEC_LINEAR;
33  exec_types[4] = EXEC_TIMESTEP_END;
34  exec_types[5] = EXEC_CUSTOM;
35  exec_types[6] = EXEC_SUBDOMAIN;
36  exec_types[7] = EXEC_FINAL;
37  return exec_types;
38 }
39 
40 const std::vector<ExecFlagType> exec_types = populateExecTypes();
41 
42 } // namespace Moose
Object is evaluated in every residual computation.
Definition: MooseTypes.h:96
For use with custom executioners that want to fire objects at a specific time.
Definition: MooseTypes.h:110
Object is evaluated only once at the beginning of the simulation.
Definition: MooseTypes.h:94
Object is evaluated at the end of every time step.
Definition: MooseTypes.h:100
const std::vector< ExecFlagType > populateExecTypes()
Definition: MooseTypes.C:26
Objects is evaluated on subdomain.
Definition: MooseTypes.h:112
Object is evaluated at the end of the simulations (output only)
Definition: MooseTypes.h:104
Object is evaluated at the beginning of every time step.
Definition: MooseTypes.h:102
const std::vector< ExecFlagType > exec_types
A static list of all the exec types.
Definition: MooseTypes.C:40
Object is evaluated in every jacobian computation.
Definition: MooseTypes.h:98
Definition: Moose.h:84