30 |
|
|
31 |
#######################################################EXTERNAL MODULES |
#######################################################EXTERNAL MODULES |
32 |
# To solve the problem it is necessary to import the modules we require. |
# To solve the problem it is necessary to import the modules we require. |
33 |
|
import matplotlib |
34 |
|
matplotlib.use('agg') #It's just here for automated testing |
35 |
|
|
36 |
from esys.escript import * # This imports everything from the escript library |
from esys.escript import * # This imports everything from the escript library |
37 |
from esys.escript.unitsSI import * |
from esys.escript.unitsSI import * |
38 |
from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE |
from esys.escript.linearPDEs import LinearPDE # This defines LinearPDE as LinearPDE |
43 |
|
|
44 |
from esys.escript.pdetools import Projector |
from esys.escript.pdetools import Projector |
45 |
|
|
|
import matplotlib |
|
|
matplotlib.use('agg') #It's just here for automated testing |
|
|
|
|
46 |
from cblib import toRegGrid |
from cblib import toRegGrid |
47 |
import pylab as pl #Plotting package |
import pylab as pl #Plotting package |
48 |
import numpy as np |
import numpy as np |