Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Forward-mode AD class using dynamic memory allocation and expression templates. More...
#include <Sacado_Fad_DFad_tmpl.hpp>
Inherits Expr< GeneralFad< ValueT, Fad::ViewStorage< ValueT, length, stride, BaseFadT > > >.
Classes | |
struct | apply |
Turn ViewFad into a meta-function class usable with mpl::apply. More... | |
Public Types | |
typedef Fad::ViewStorage< ValueT, length, stride, BaseFadT > | StorageType |
Base classes. More... | |
typedef GeneralFad< ValueT, StorageType > | GeneralFadType |
typedef Expr< GeneralFadType > | ExprType |
typedef ExprType::value_type | value_type |
Typename of values. More... | |
typedef ExprType::scalar_type | scalar_type |
Typename of scalar's (which may be different from value_type) More... | |
typedef ScalarType< ValueT >::type | ScalarT |
Typename of scalar's (which may be different from ValueT) More... | |
typedef BaseFadT | base_fad_type |
Fad type view is based on. More... | |
Public Member Functions | |
KOKKOS_INLINE_FUNCTION | ~ViewFad () |
Destructor. More... | |
Initialization methods | |
KOKKOS_INLINE_FUNCTION | ViewFad (const StorageType &s) |
Constructor with supplied storage s . More... | |
KOKKOS_INLINE_FUNCTION | ViewFad (ValueT *v, const int arg_size=0, const int arg_stride=0) |
View-specific constructor. More... | |
Forward-mode AD class using dynamic memory allocation and expression templates.
This is the user-level class for forward mode AD with dynamic memory allocation, and is appropriate for whenever the number of derivative components is not known at compile time. The user interface is provided by Sacado::FAD_NS::GeneralFad.
Definition at line 280 of file Sacado_Fad_DFad_tmpl.hpp.
typedef Fad::ViewStorage<ValueT,length,stride,BaseFadT> Sacado::FAD_NS::ViewFad< ValueT, length, stride, BaseFadT >::StorageType |
Base classes.
Definition at line 56 of file Sacado_Fad_ViewFad_tmpl.hpp.
typedef GeneralFad<ValueT,StorageType> Sacado::FAD_NS::ViewFad< ValueT, length, stride, BaseFadT >::GeneralFadType |
Definition at line 57 of file Sacado_Fad_ViewFad_tmpl.hpp.
typedef Expr<GeneralFadType> Sacado::FAD_NS::ViewFad< ValueT, length, stride, BaseFadT >::ExprType |
Definition at line 58 of file Sacado_Fad_ViewFad_tmpl.hpp.
typedef ExprType::value_type Sacado::FAD_NS::ViewFad< ValueT, length, stride, BaseFadT >::value_type |
Typename of values.
Definition at line 61 of file Sacado_Fad_ViewFad_tmpl.hpp.
typedef ExprType::scalar_type Sacado::FAD_NS::ViewFad< ValueT, length, stride, BaseFadT >::scalar_type |
Typename of scalar's (which may be different from value_type)
Definition at line 64 of file Sacado_Fad_ViewFad_tmpl.hpp.
typedef ScalarType<ValueT>::type Sacado::FAD_NS::ViewFad< ValueT, length, stride, BaseFadT >::ScalarT |
Typename of scalar's (which may be different from ValueT)
Definition at line 67 of file Sacado_Fad_ViewFad_tmpl.hpp.
typedef BaseFadT Sacado::FAD_NS::ViewFad< ValueT, length, stride, BaseFadT >::base_fad_type |
Fad type view is based on.
Definition at line 70 of file Sacado_Fad_ViewFad_tmpl.hpp.
|
inline |
Constructor with supplied storage s
.
Definition at line 91 of file Sacado_Fad_ViewFad_tmpl.hpp.
|
inline |
View-specific constructor.
Definition at line 96 of file Sacado_Fad_ViewFad_tmpl.hpp.
|
inline |
Destructor.
Definition at line 103 of file Sacado_Fad_ViewFad_tmpl.hpp.