https://mooseframework.inl.gov
ExecutorInterface.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // Standard includes
13 #include <string>
14 
15 // MOOSE includes
16 #include "MooseTypes.h"
17 
18 // Forward Declarations
19 class FEProblemBase;
20 class InputParameters;
21 class PostprocessorName;
22 class MooseObject;
23 class Executor;
24 class MooseApp;
25 
31 {
32 public:
33  ExecutorInterface(const MooseObject * moose_object);
34 
36 
42  Executor & getExecutor(const std::string & param_name) const;
43 
49  Executor & getExecutorByName(const ExecutorName & executor_name) const;
50 
51 private:
53 
55 };
Executor & getExecutorByName(const ExecutorName &executor_name) const
Get an Executor based on its actual name.
Base class for MOOSE-based applications.
Definition: MooseApp.h:85
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const MooseObject * _ei_moose_object
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Executor & getExecutor(const std::string &param_name) const
Get an Executor based on a parameter name.
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:28
static InputParameters validParams()
Interface class for classes which interact with Postprocessors.
ExecutorInterface(const MooseObject *moose_object)
The Executor class directs the execution flow of simulations.
Definition: Executor.h:26