https://mooseframework.inl.gov
CoupleableMooseVariableDependencyIntermediateInterface.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 #include "Coupleable.h"
13 #include "ScalarCoupleable.h"
15 
21  : public Coupleable,
22  public ScalarCoupleable,
24 {
25 public:
27  bool nodal,
28  bool is_fv = false);
29 
35  virtual const VariableValue & coupledValueByName(const std::string & var_name);
36 
42  virtual const ArrayVariableValue & coupledArrayValueByName(const std::string & var_name);
43 };
CoupleableMooseVariableDependencyIntermediateInterface(const MooseObject *moose_object, bool nodal, bool is_fv=false)
OutputTools< RealEigenVector >::VariableValue ArrayVariableValue
Definition: MooseTypes.h:349
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:27
OutputTools< Real >::VariableValue VariableValue
Definition: MooseTypes.h:315
virtual const VariableValue & coupledValueByName(const std::string &var_name)
Returns value of a coupled variable give the variable name.
Interface for objects that needs coupling capabilities.
Definition: Coupleable.h:45
virtual const ArrayVariableValue & coupledArrayValueByName(const std::string &var_name)
Returns value of a coupled array variable give the variable name.
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
Interface for objects that needs scalar coupling capabilities.