31 Jul
2008
31 Jul
'08
11:54 p.m.
Ryan Krauss wrote:
I am fine with starting with the material model. Can you point me to the right spot in the code to start looking.
Look at sfepy/terms/termsLinElasticity.py, and input/le.py to see how the linear elasticity terms are implemented/used.
Put some prints + pauses into LinearElasticTerm.__call__(), or use debug() to explore the namespace. Note that 'print <var>' reveals more than typing just <var> at the pdb prompt.
When using debug(), always press 'n' to get to the caller frame, i.e. the function you called debug() from.
r.