www.mooseframework.org
GuaranteeConsumer.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "Guarantee.h"
13 #include "MooseTypes.h"
14 
15 class MooseObject;
16 class FEProblemBase;
17 class InputParameters;
18 class BlockRestrictable;
19 
26 {
27 public:
28  GuaranteeConsumer(MooseObject * moose_object);
29 
30 protected:
31  bool hasGuaranteedMaterialProperty(const MaterialPropertyName & prop, Guarantee guarantee);
32 
33 private:
36 
39 
42 };
BlockRestrictable *const _gc_block_restrict
Access block restrictions of the object with this interface.
GuaranteeConsumer(MooseObject *moose_object)
const InputParameters & _gc_params
Parameters of the object with this interface.
FEProblemBase *const _gc_feproblem
Reference to the FEProblemBase class.
Guarantee
Enum values for guarantees that can be demanded for material properties.
Definition: Guarantee.h:16
bool hasGuaranteedMaterialProperty(const MaterialPropertyName &prop, Guarantee guarantee)
Add-on class that provides the functionality to check if guarantees for material properties are provi...