Mercurial > fem-fenics-eugenio
annotate src/Plot_2d.ufl @ 270:f4d6ae912a08 default tip
Correct typos in the doc-strings
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Thu, 14 Aug 2014 17:55:32 +0200 |
parents | 5fe2a157f4eb |
children |
rev | line source |
---|---|
151 | 1 # Copyright (C) 2013 Marco Vassallo <gedeone-octave@users.sourceforge.net> |
117
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
2 |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
3 # This program is free software; you can redistribute it and/or modify it under |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
4 # the terms of the GNU General Public License as published by the Free Software |
151 | 5 # Foundation; either version 3 of the License, or (at your option) any later |
117
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
6 # version. |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
7 |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
8 # This program is distributed in the hope that it will be useful, but WITHOUT |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
10 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
11 # details. |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
12 |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
13 # You should have received a copy of the GNU General Public License along with |
70322135b25f
Maint: Add copyright notice
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
14 # this program; if not, see <http://www.gnu.org/licenses/>. |
105
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
diff
changeset
|
15 CG = FiniteElement("Lagrange", triangle, 1) |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
diff
changeset
|
16 |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
diff
changeset
|
17 u = TrialFunction (CG) |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
diff
changeset
|
18 v = TestFunction (CG) |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
diff
changeset
|
19 |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
diff
changeset
|
20 a = u*v*dx |