Is Cell.velGrad a Lagrangian or an Eulerian gradient ?

Asked by Jérôme Duriez

Hi,

Rephrasing the title, shall I see Cell.velGrad as a gradient with respect to classical spatial coordinates (Eulerian), or a gradient with respect to Lagrangian coordinates ?
Taking a wild bet, I would say Eulerian (outside Body.id, we do not have much of Lagrangian stuff, do we ?) but could you please confirm ?

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Jérôme Duriez (jduriez) said :
#1

OK, I guess that the code line [*] should make it clear it is an Eulerian gradient. Marking the problem as solved, comments still welcome, if any

[*] https://gitlab.com/yade-dev/trunk/-/blob/5d2339619da8779793e3a9c5e52d55e7bbed665b/pkg/dem/NewtonIntegrator.cpp#L326, as per current master