https://mooseframework.inl.gov
NonADFunctorInterface.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 "FunctorInterface.h"
13 
20 {
21 public:
23 
24  NonADFunctorInterface(const MooseObject * moose_object);
25 
26 private:
27  virtual bool isADObject() const override { return false; }
28 };
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...
An interface for accessing Moose::Functors.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual bool isADObject() const override
Whether this interface is for an AD object.
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:28
NonADFunctorInterface(const MooseObject *moose_object)
static InputParameters validParams()