Sacado
Development
|
Public Types | |
typedef ViewFad< T, sl, ss, U > | view_fad_type |
Public Types inherited from Sacado::Fad::Exp::GeneralFad< Storage > | |
typedef Storage | StorageType |
Storage type. | |
typedef Expr< GeneralFad < Storage > > | ExprType |
Expression type. | |
typedef Extender< Storage > | ExtenderType |
Extender type. | |
typedef ScalarType< value_type > ::type | scalar_type |
Typename of scalar's (which may be different from T) | |
Public Types inherited from Sacado::Fad::Exp::Expr< GeneralFad< Storage > > | |
typedef GeneralFad< Storage > | derived_type |
Typename of derived object, returned by derived() More... | |
Public Types inherited from Sacado::Fad::Exp::Extender< Storage > | |
typedef ExprSpecDefault | expr_spec_type |
Public Member Functions | |
KOKKOS_INLINE_FUNCTION view_fad_type * | operator-> () |
KOKKOS_INLINE_FUNCTION view_fad_type & | operator* () |
Public Member Functions inherited from Sacado::Fad::Exp::GeneralFad< Storage > | |
GeneralFad ()=default | |
Default constructor. | |
template<typename S > | |
KOKKOS_INLINE_FUNCTION | GeneralFad (const S &x, SACADO_ENABLE_VALUE_CTOR_DECL) |
Constructor with value. | |
KOKKOS_INLINE_FUNCTION | GeneralFad (const int sz, const value_type &x, const DerivInit zero_out=InitDerivArray) |
Constructor with size sz . More... | |
KOKKOS_INLINE_FUNCTION | GeneralFad (const int sz, const int i, const value_type &x) |
Constructor with size sz , index i , and value x . More... | |
KOKKOS_INLINE_FUNCTION | GeneralFad (const Storage &s) |
Constructor with supplied storage s . | |
GeneralFad (const GeneralFad &x)=default | |
Copy constructor. | |
template<typename S > | |
KOKKOS_INLINE_FUNCTION | GeneralFad (const Expr< S > &x, SACADO_EXP_ENABLE_EXPR_CTOR_DECL) |
Copy constructor from any Expression object. | |
~GeneralFad ()=default | |
Destructor. | |
KOKKOS_INLINE_FUNCTION void | diff (const int ith, const int n) |
Set GeneralFad object as the ith independent variable. More... | |
template<typename S > | |
KOKKOS_INLINE_FUNCTION | SACADO_EXP_ENABLE_EXPR_FUNC (bool) isEqualTo(const Expr< S > &xx) const |
Returns whether two Fad objects have the same values. | |
KOKKOS_INLINE_FUNCTION int | availableSize () const |
Returns number of derivative components that can be stored without reallocation. | |
KOKKOS_INLINE_FUNCTION bool | hasFastAccess () const |
Returns true if derivative array is not empty. | |
KOKKOS_INLINE_FUNCTION void | setIsConstant (bool is_const) |
Set whether variable is constant. | |
template<typename S > | |
KOKKOS_INLINE_FUNCTION | SACADO_ENABLE_VALUE_FUNC (GeneralFad &) operator |
Assignment operator with constant right-hand-side. | |
Public Member Functions inherited from Sacado::Fad::Exp::Expr< GeneralFad< Storage > > | |
KOKKOS_INLINE_FUNCTION const derived_type & | derived () const |
Return derived object. More... | |
KOKKOS_INLINE_FUNCTION const volatile derived_type & | derived () const volatile |
Return derived object. More... | |