BoxField module not present

Asked by Hossein Nili

Hi,

I am following the code on page 29 of the FEniCS book, learning how to get a plot like that in Figure 1.6 (page 31 of the book).

I literally copy-pasted the four lines of code and got an error message reading:

ImportError: no module named scitools.BoxField

Should I be using a different module?

Many thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Solved by:
Hossein Nili
Solved:
Last query:
Last reply:
Revision history for this message
Anders Logg (logg) said :
#1

On Tue, Mar 26, 2013 at 04:26:01PM -0000, Hossein Nili wrote:
> New question #225209 on FEniCS Project:
> https://answers.launchpad.net/fenics/+question/225209
>
> Hi,
>
> I am following the code on page 29 of the FEniCS book, learning how to get a plot like that in Figure 1.6 (page 31 of the book).
>
> I literally copy-pasted the four lines of code and got an error message reading:
>
> ImportError: no module named scitools.BoxField
>
> Should I be using a different module?

You need to install the python-scitools package.

--
Anders

Revision history for this message
Hossein Nili (hossein-nili) said :
#2

Sure! Thanks,