Skip to content

AuxKernels and ADMaterialPropertiy #17283

Discussion options

You must be logged in to vote

Hi Joe,

You should add the following include to your AuxKernel src file:
#include "metaphysicl/raw_type.h"

and you can access the raw value of your AD material property via:
MetaPhysicL::raw_value(_rho[_qp])

I suppose you could also use directly _rho[_qp].value() but to be confirmed.

Antoine

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@joe61vette
Comment options

Answer selected by GiudGiud
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants