Parent Directory
|
Revision Log
move all directories from trunk/esys2 into trunk and remove esys2
1 | jgs | 154 | import sys |
2 | import os | ||
3 | import unittest | ||
4 | |||
5 | from esys.escript import * | ||
6 | from esys.escript.linearPDEs import * | ||
7 | |||
8 | from esys import bruce | ||
9 | |||
10 | mydomain=bruce.Rectangle(5,5) | ||
11 | |||
12 | u1=Scalar(1.0,Function(mydomain)) | ||
13 | u1.setTaggedValue(1,2.0) | ||
14 | |||
15 | u2=Scalar(1.0,Function(mydomain)) | ||
16 | u2.setTaggedValue(1,3.0) | ||
17 | |||
18 | |||
19 | print "u1:" | ||
20 | print u1 | ||
21 | |||
22 | print "u2:" | ||
23 | print u2 | ||
24 | |||
25 | v=u1+u2 | ||
26 | print "v=u1+u2:" | ||
27 | print v | ||
28 | |||
29 | print "Lsup(v):" | ||
30 | print Lsup(v) |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Author Date Id Revision |
ViewVC Help | |
Powered by ViewVC 1.1.26 |