Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U > Class Template Reference

#include <Sacado_Fad_Exp_ViewFad.hpp>

Inheritance diagram for Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U >:
Inheritance graph
[legend]

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()
 
- Public Types inherited from Sacado::Fad::Exp::Extender< Storage >
typedef ExprSpecDefault expr_spec_type
 

Public Member Functions

SACADO_INLINE_FUNCTION view_fad_typeoperator-> ()
 
SACADO_INLINE_FUNCTION view_fad_typeoperator* ()
 
- Public Member Functions inherited from Sacado::Fad::Exp::GeneralFad< Storage >
SACADO_DEFAULTED_FUNCTION GeneralFad ()=default
 Default constructor.
 
SACADO_DEFAULTED_FUNCTION GeneralFad (const GeneralFad &x)=default
 Copy constructor.
 
SACADO_DEFAULTED_FUNCTION GeneralFad (GeneralFad &&x)=default
 Move constructor.
 
template<typename S >
SACADO_INLINE_FUNCTION GeneralFad (const S &x, SACADO_EXP_ENABLE_VALUE_CTOR_DECL)
 Constructor with value (disabled for ViewFad)
 
template<typename S >
SACADO_INLINE_FUNCTION GeneralFad (const Expr< S > &x, SACADO_EXP_ENABLE_EXPR_CTOR_DECL)
 Copy constructor from any Expression object (disabled for ViewFad)
 
SACADO_DEFAULTED_FUNCTION ~GeneralFad ()=default
 Destructor.
 
SACADO_INLINE_FUNCTION void diff (const int ith, const int n)
 Set GeneralFad object as the ith independent variable.
 
SACADO_INLINE_FUNCTION void setUpdateValue (bool update_val)
 Set whether this Fad object should update values.
 
SACADO_INLINE_FUNCTION bool updateValue () const
 Return whether this Fad object has an updated value.
 
SACADO_INLINE_FUNCTION void cache () const
 Cache values.
 
template<typename S >
SACADO_INLINE_FUNCTION SACADO_EXP_ENABLE_EXPR_FUNC (bool) isEqualTo(const Expr< S > &xx) const
 Returns whether two Fad objects have the same values.
 
SACADO_INLINE_FUNCTION int availableSize () const
 Returns number of derivative components that can be stored without reallocation.
 
SACADO_INLINE_FUNCTION bool hasFastAccess () const
 Returns true if derivative array is not empty.
 
SACADO_INLINE_FUNCTION void setIsConstant (bool is_const)
 Set whether variable is constant.
 
template<typename S >
SACADO_INLINE_FUNCTION SACADO_ENABLE_VALUE_FUNC (GeneralFad &) operator
 Assignment operator with constant right-hand-side.
 
SACADO_DEFAULTED_FUNCTION GeneralFadoperator= (GeneralFad &&x)=default
 Move assignment with GeneralFad right-hand-side.
 
- Public Member Functions inherited from Sacado::Fad::Exp::Expr< GeneralFad< Storage > >
SACADO_INLINE_FUNCTION const derived_typederived () const
 Return derived object.
 
SACADO_INLINE_FUNCTION const volatile derived_typederived () const volatile
 Return derived object.
 

Additional Inherited Members

- Static Public Attributes inherited from Sacado::Fad::Exp::GeneralFad< Storage >
static constexpr bool is_view = Storage::is_view
 Whether we are a view.
 

Detailed Description

template<typename T, unsigned sl, unsigned ss, typename U>
class Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U >

Definition at line 51 of file Sacado_Fad_Exp_ViewFad.hpp.

Member Typedef Documentation

◆ view_fad_type

template<typename T , unsigned sl, unsigned ss, typename U >
typedef ViewFad<T,sl,ss,U> Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U >::view_fad_type

Definition at line 55 of file Sacado_Fad_Exp_ViewFad.hpp.

Member Function Documentation

◆ operator->()

template<typename T , unsigned sl, unsigned ss, typename U >
SACADO_INLINE_FUNCTION view_fad_type * Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U >::operator-> ( )
inline

Definition at line 62 of file Sacado_Fad_Exp_ViewFad.hpp.

◆ operator*()

template<typename T , unsigned sl, unsigned ss, typename U >
SACADO_INLINE_FUNCTION view_fad_type & Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U >::operator* ( )
inline

Definition at line 66 of file Sacado_Fad_Exp_ViewFad.hpp.


The documentation for this class was generated from the following file: