Skip to content
Snippets Groups Projects
Commit fb50ca87 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Allow LocalDensity objects to hand out adouble-versions of themselves

Currently the user code that plugs together the assembler for a
particular problems has to know that ADOL-C is used internally
to compute certain derivatives.  In shows because certain objects
need to be instantiated with adouble as the number type.  One such
example is all objects derived from LocalDensity.

However, if this is to be avoided, then assemblers need to have
a way to turn a (e.g.) 'double' version of a density into an
'adouble' one.  This commit provides this way, by adding a
'makeActiveDensity' method.
parent 59bcb510
No related branches found
No related tags found
1 merge request!138Let ADOL-C differentiate the energy density and the GFE interpolation separately
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment