https://mooseframework.inl.gov
ChainedReal.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 "libmesh/libmesh_common.h"
13 #include "libmesh/compare_types.h"
14 
15 #include "metaphysicl/metaphysicl_version.h"
16 
17 namespace MetaPhysicL
18 {
19 #if METAPHYSICL_MAJOR_VERSION < 1
20 template <typename, typename>
21 class DualNumber;
22 #else
23 #include "metaphysicl/dualnumber_forward.h"
24 #endif
25 }
26 
27 using libMesh::Real;
29 
DualNumber< Real, Real > ChainedReal
Definition: ChainedReal.h:30
We need to instantiate the following CompareTypes to tell the compiler that ADReal is a subtype of Ch...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real