Replies: 1 comment
-
Those variables are views to blocks of a zero initialized matrix. If those derivatives are null, you don't need to use those variables. In this case, you can explicitly discard them as follows: static_cast<void>(∂fλₚ∕∂Δpₗ); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Thomas,
I'm working with thermoporoplasticity in MFront, and I have a small interrogation about the calculation of derivatives of the integration variables with respect to the external variables. From what I understand, there are two possible ways to do it:
iJ_x_y
directly and calculating "by hand",getIntegrationVariablesDerivatives
method.I have an elastic strain and a plastic multiplier, I define the right derivatives of the implicit equations with respect to the external variables, as so:
where other derivatives are zero.
For the first solution, it works as intended:
However if I use the
getIntegrationVariablesDerivatives
method, as so:I get a warning on compilation that variables
∂fλₚ∕∂Δpₗ
and∂fλₚ∕∂ΔT
are being set but not used. Am I misunderstanding the waygetIntegrationVariablesDerivatives
works?Beta Was this translation helpful? Give feedback.
All reactions