|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
Dual number struct (value plus gradient) More...
#include <dual.hpp>
Public Member Functions | |
| constexpr SMITH_HOST_DEVICE auto & | operator= (double b) |
| Copy assignment operator. More... | |
Public Attributes | |
| double | value |
| the actual numerical value | |
| gradient_type | gradient |
| the partial derivatives of value w.r.t. some other quantity | |
Dual number struct (value plus gradient)
| gradient_type | The type of the gradient (should support addition, scalar multiplication/division, and unary negation operators) |
|
inlineconstexpr |