www.mooseframework.org
Public Types | Public Member Functions | Private Attributes | List of all members
MooseADWrapper< Real > Class Template Reference

#include <MooseADWrapper.h>

Public Types

typedef ADReal DNType
 

Public Member Functions

 MooseADWrapper ()
 
const Real & value () const
 
Real & value ()
 
const ADRealdn (bool=true) const
 
ADRealdn (bool=true)
 
void copyValueToDualNumber ()
 
void copyDualNumberToValue ()
 

Private Attributes

Real _val
 
ADReal _dual_number
 

Detailed Description

template<>
class MooseADWrapper< Real >

Definition at line 53 of file MooseADWrapper.h.

Member Typedef Documentation

◆ DNType

typedef ADReal MooseADWrapper< Real >::DNType

Definition at line 58 of file MooseADWrapper.h.

Constructor & Destructor Documentation

◆ MooseADWrapper()

MooseADWrapper< Real >::MooseADWrapper ( )
inline

Definition at line 56 of file MooseADWrapper.h.

Member Function Documentation

◆ copyDualNumberToValue()

void MooseADWrapper< Real >::copyDualNumberToValue ( )
inline

Definition at line 69 of file MooseADWrapper.h.

◆ copyValueToDualNumber()

void MooseADWrapper< Real >::copyValueToDualNumber ( )
inline

Definition at line 68 of file MooseADWrapper.h.

◆ dn() [1/2]

const ADReal& MooseADWrapper< Real >::dn ( bool  = true) const
inline

Definition at line 64 of file MooseADWrapper.h.

64 { return _dual_number; }

◆ dn() [2/2]

ADReal& MooseADWrapper< Real >::dn ( bool  = true)
inline

Definition at line 66 of file MooseADWrapper.h.

66 { return _dual_number; }

◆ value() [1/2]

const Real& MooseADWrapper< Real >::value ( ) const
inline

Definition at line 60 of file MooseADWrapper.h.

60 { return _val; }

◆ value() [2/2]

Real& MooseADWrapper< Real >::value ( )
inline

Definition at line 62 of file MooseADWrapper.h.

62 { return _val; }

Member Data Documentation

◆ _dual_number

ADReal MooseADWrapper< Real >::_dual_number
private

Definition at line 73 of file MooseADWrapper.h.

◆ _val

Real MooseADWrapper< Real >::_val
private

Definition at line 72 of file MooseADWrapper.h.


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