Mercurial > fem-fenics-eugenio
changeset 113:065ae2bff9ef
Maint: rename the ufl file
author | gedeone-octave <marcovass89@hotmail.it> |
---|---|
date | Sat, 24 Aug 2013 15:41:11 +0200 |
parents | c15e5434a512 |
children | af287918111e |
files | example/Darcy-Stokes/P2P0/Err_eps.ufl example/Darcy-Stokes/P2P0/Err_p.ufl example/Darcy-Stokes/P2P0/Err_v.ufl example/Darcy-Stokes/P2P0/Erroreps.ufl example/Darcy-Stokes/P2P0/Errorp.ufl example/Darcy-Stokes/P2P0/Errorv.ufl |
diffstat | 6 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/Darcy-Stokes/P2P0/Err_eps.ufl Sat Aug 24 15:41:11 2013 +0200 @@ -0,0 +1,7 @@ +P2 = VectorElement("CG", triangle, 2) + +v = Coefficient(P2) +vh = Coefficient(P2) +ep = Constant(triangle) + +M = (dot(v-vh,v-vh) + div(v-vh)*div(v-vh) + ep*ep*div(v-vh)*div(v-vh) + ep*ep*dot(rot(v-vh), rot(v-vh)))*dx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/Darcy-Stokes/P2P0/Err_p.ufl Sat Aug 24 15:41:11 2013 +0200 @@ -0,0 +1,6 @@ +P0 = FiniteElement("DG", triangle, 0) + +p = Coefficient(P0) +ph = Coefficient(P0) + +M = ((p-ph)*(p-ph))*dx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/Darcy-Stokes/P2P0/Err_v.ufl Sat Aug 24 15:41:11 2013 +0200 @@ -0,0 +1,6 @@ +P2 = VectorElement("CG", triangle, 2) + +v = Coefficient(P2) +vh = Coefficient(P2) + +M = (dot((v-vh),(v-vh)))*dx
--- a/example/Darcy-Stokes/P2P0/Erroreps.ufl Sat Aug 24 15:39:52 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -P2 = VectorElement("CG", triangle, 2) - -v = Coefficient(P2) -vh = Coefficient(P2) -ep = Constant(triangle) - -M = (dot(v-vh,v-vh) + div(v-vh)*div(v-vh) + ep*ep*div(v-vh)*div(v-vh) + ep*ep*dot(rot(v-vh), rot(v-vh)))*dx