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