Inconsistent messages in NewtonIntegrator.densityScaling
ni = O.engines[-1]
print('From accessing NewtonIntegrator.densityScaling, we get:\n',ni.densityScaling)
print('But we do have GSTS in the engines at [-2], as:\n',O.engines[-2])
gives, with yadedaily 2788e01d:
Welcome to Yade 20251021-8860~2788e01~jammy1
[..]
<WARNING> NewtonIntegrator:462 bool yade::NewtonIntegrator::get_densityScaling() const: GlobalStiffnessTimeStepper not present in O.engines, density scaling will have no effect unless a scaling is specified manually for some bodies
From accessing NewtonIntegrator.densityScaling, we get:
False
But we do have GSTS in the engines at [-2], as:
<GlobalStiffnessTimeStepper instance at 0x56021b761920>
with a warning about an absence of GSTS in the Engines, which is not true.
Because that line shall certainly not be always executed every time the user wants to access NewtonIntegrator.densityScaling