eigentools not parsing substitutions

53 views
Skip to first unread message

Susan Clark

unread,
Jun 27, 2016, 1:31:36 PM6/27/16
to Dedalus Development
Hi all,

It appears that the Eigenproblem object (from eigentools) can't parse substitutions passed to it in an EVP object. Attached is an example: I've just taken the example problem eigentools/examples/orr_sommerfeld.py and stuck part of one equation into a substitution. Fails on grid generation step with NameError: name 'resterm' is not defined.

Thanks,
Susan
orr_sommerfeld_substitution.py

Keaton Burns

unread,
Jun 28, 2016, 6:44:10 PM6/28/16
to dedal...@googlegroups.com
Hi Susan,

It looks like the high-resolution problem builder in eigentools wasn’t copying over the substitutions from the original EVP.  I’ve put in a pull request to the eigentools package adding this in, which seems to make your script work on my laptop.

Best,
-Keaton
--
You received this message because you are subscribed to the Google Groups "Dedalus Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-dev...@googlegroups.com.
To post to this group, send email to dedal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-dev/a6d96b46-3522-4c7b-af12-12beb6e36f59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Keaton Burns

unread,
Jun 28, 2016, 6:45:54 PM6/28/16
to dedal...@googlegroups.com

Jeffrey S. Oishi

unread,
Jun 29, 2016, 9:54:57 AM6/29/16
to dedal...@googlegroups.com
Great catch, Keaton!

Thanks so much.

j

Reply all
Reply to author
Forward
0 new messages