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