sfepy/sfepy — Issue #106: term caches ignore time step of variables specified in equations
Author: rc
Created: 2012-01-30 10:26:20+00:00
State: open

Term cache keys use only (integral, group) and ignore time step of
variables specified in equations.

Example:

term.i1.Omega( v, u )

and

term.i1.Omega( v, u[-1] )

would use the same cache for u, which is wrong.

There is a workaround: a term implementation can use a cache that remembers
history (sufficient number of steps), and ignore the step when getting the
variable value, i.e. the term implementation has to expect what steps a
user can write in an input... (bad!)

Migrated from http://code.google.com/p/sfepy/issues/detail?id=104

earlier comments

robert.cimrman said, at 2011-07-12T13:18:05.000Z:

Term caches are virtually gone now.