Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Sacado_Fad_ViewFad_MP_Vector.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Sacado Package
4 //
5 // Copyright 2006 NTESS and the Sacado contributors.
6 // SPDX-License-Identifier: LGPL-2.1-or-later
7 // *****************************************************************************
8 //
9 // The forward-mode AD classes in Sacado are a derivative work of the
10 // expression template classes in the Fad package by Nicolas Di Cesare.
11 // The following banner is included in the original Fad source code:
12 //
13 // ************ DO NOT REMOVE THIS BANNER ****************
14 //
15 // Nicolas Di Cesare <Nicolas.Dicesare@ann.jussieu.fr>
16 // http://www.ann.jussieu.fr/~dicesare
17 //
18 // CEMRACS 98 : C++ courses,
19 // templates : new C++ techniques
20 // for scientific computing
21 //
22 //********************************************************
23 //
24 // A short implementation ( not all operators and
25 // functions are overloaded ) of 1st order Automatic
26 // Differentiation in forward mode (FAD) using
27 // EXPRESSION TEMPLATES.
28 //
29 //********************************************************
30 // @HEADER
31 
32 #ifndef SACADO_FAD_VIEWFAD_MP_VECTOR_HPP
33 #define SACADO_FAD_VIEWFAD_MP_VECTOR_HPP
34 
35 #include "Sacado_Fad_ViewFad.hpp"
39 
40 namespace Stokhos {
41  template <typename Ord, typename Val, int Num, typename Dev>
42  class StaticFixedStorage;
43 }
44 
45 namespace Sacado {
46 
47  namespace MP {
48  template <typename S> class Vector;
49  }
50 
51  namespace Fad {
52 
53  template <typename Ord, typename Val, int VecNum, typename Dev,
54  unsigned length, unsigned stride, typename BaseFadT>
55  struct ExprSpec< ViewFad< Sacado::MP::Vector< Stokhos::StaticFixedStorage<Ord,Val,VecNum,Dev> >, length, stride, BaseFadT > > {
57  };
58 
59  } // namespace Fad
60 
61 } // namespace Sacado
62 
63 #endif // SACADO_FAD_DFAD_MP_VECTOR_HPP