openfoam/applications/test/rigidBodyDynamics/spring
Mark Olesen 8eddcc072a ENH: avoid readScalar, readLabel etc from dictionary (#762, #1033)
- use the dictionary 'get' methods instead of readScalar for
  additional checking

     Unchecked:  readScalar(dict.lookup("key"));
     Checked:    dict.get<scalar>("key");

- In templated classes that also inherit from a dictionary, an additional
  'template' keyword will be required. Eg,

     this->coeffsDict().template get<scalar>("key");

  For this common use case, the predefined getXXX shortcuts may be
  useful. Eg,

     this->coeffsDict().getScalar("key");
2018-10-12 08:14:47 +02:00
..
Make rigidBodyDynamics: Added support for restraints and a linear spring with damper 2016-04-10 23:12:07 +01:00
spring rigidBodyDynamics/rigidBodySolvers: Added run-time selectable solvers to integrate the rigid-body motion 2016-04-12 11:33:20 +01:00
spring.C ENH: avoid readScalar, readLabel etc from dictionary (#762, #1033) 2018-10-12 08:14:47 +02:00
spring.gnuplot rigidBodyDynamics: Added support for restraints and a linear spring with damper 2016-04-10 23:12:07 +01:00