MFEM
v4.5.2
Finite element discretization library
miniapps
hooke
materials
gradient_type.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced
2
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3
// LICENSE and NOTICE for details. LLNL-CODE-806117.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability visit https://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the BSD-3 license. We welcome feedback and contributions, see file
10
// CONTRIBUTING.md for details.
11
12
#ifndef MFEM_ELASTICITY_GRADIENT_TYPE_HPP
13
#define MFEM_ELASTICITY_GRADIENT_TYPE_HPP
14
15
enum class
GradientType
16
{
17
Symbolic
,
// Manually derived gradient
18
EnzymeFwd
,
// Enzyme forward mode
19
EnzymeRev
,
// Enzyme reverse mode
20
FiniteDiff
,
// Finite differences
21
InternalFwd
// Native dual number forward mode
22
};
23
24
#endif
GradientType::FiniteDiff
GradientType::EnzymeRev
GradientType::EnzymeFwd
GradientType::InternalFwd
GradientType::Symbolic
GradientType
GradientType
Definition:
gradient_type.hpp:15
Generated on Thu Mar 23 2023 16:28:24 for MFEM by
1.8.14