easiest way to access young's modulus values

Submitted by mschramm on Thu, 10/03/2019 - 21:57

Hello.
I would like to use the young's modulus that is imported by the user when describing a particle.
What would be the easiest way to access this value?
From looking at fix_check_timestep, I know I want to use
Y = static_cast(modify->find_fix_property("youngsModulus","property/global","peratomtype",max_type,0,style));
but I do not know what style is in this sense.

Daniel Queteschiner | Mon, 10/07/2019 - 14:41

style (i.e. the fix style name) is not really important here. It is just used in case of an error to notify the user which class was calling the find_fix_property method.
You could for example also use the ID of the calling fix instance ...