You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For integration with MOOSE it would be nice to be able to create NEML classes templated on either regular floating point numbers as well as dual numbers (to compute derivatives using forward mode automatic differentiation).
I guess this would make NEML a largely header only library which might no be ideal for other users though :-/
Just throwing this out.
The text was updated successfully, but these errors were encountered:
Would being able to compile alternate versions of the library by doing something like:
#define Scalar double
be enough? Or do you really want the ability to template on the scalar type?
I intend to have everything done by the end of the summer where you can swap the scalar real type in a couple of places (the history/internal state system and the tensor math classes) and have that change propagate to the entirety of the library. We can think on what to do once that's done.
Hm. I suspect we might only need dual numbers in very few places, with the mechanics Jacobians all being implemented fully. Let me think about this some more.
For integration with MOOSE it would be nice to be able to create NEML classes templated on either regular floating point numbers as well as dual numbers (to compute derivatives using forward mode automatic differentiation).
I guess this would make NEML a largely header only library which might no be ideal for other users though :-/
Just throwing this out.
The text was updated successfully, but these errors were encountered: