https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
21public:
23
24 ADFunctorInterface(const MooseObject * moose_object);
25
26#ifdef MOOSE_KOKKOS_ENABLED
31#endif
32
33private:
34 virtual bool isADObject() const override { return true; }
35};
An interface for accessing Moose::Functors for systems that care about automatic differentiation,...
static InputParameters validParams()
virtual bool isADObject() const override
Whether this interface is for an AD object.
An interface for accessing Moose::Functors.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Every object that can be built by the factory should be derived from this class.
Definition MooseObject.h:31