17 |
|
|
18 |
from numarray import array,Float64,ones,greater |
from numarray import array,Float64,ones,greater |
19 |
|
|
|
|
|
20 |
# list of arguments: a list item has the form [a0,a1,a2] |
# list of arguments: a list item has the form [a0,a1,a2] |
21 |
# what a0 is the default value and a1 is used for tag Tag1 |
# what a0 is the default value and a1 is used for tag Tag1 |
22 |
# and a2 for tag2. a0,a1,a2 are converted into numarrays. |
# and a2 for tag2. a0,a1,a2 are converted into numarrays. |
81 |
# |
# |
82 |
# ============================================================== |
# ============================================================== |
83 |
|
|
84 |
print "\n\n" |
print "\nTests of DataVariable" |
85 |
|
|
86 |
msh=bruce.Rectangle(2,3) |
msh=bruce.Rectangle(2,3) |
87 |
|
|
|
print "\n\nTests of DataVariable" |
|
|
|
|
88 |
d1 = Data(1.0,Function(msh),True) |
d1 = Data(1.0,Function(msh),True) |
89 |
d2 = Data(2.0,Function(msh),True) |
d2 = Data(2.0,Function(msh),True) |
90 |
d3 = Data(3.0,Function(msh),True) |
d3 = Data(3.0,Function(msh),True) |