On Wed, Jul 07, 2010 at 10:34:39PM +0100, Kristian Oelgaard wrote:
> On 7 July 2010 20:22, Garth N. Wells wrote:
> >
> >
> > On 07/07/10 20:14, Anders Logg wrote:
> >>
> >> On Wed, Jul 07, 2010 at 06:26:20PM +0100, Kristian Oelgaard wrote:
> >>>
> >>> Supporting CellVolume makes it possible to do:
On 7 July 2010 20:22, Garth N. Wells wrote:
>
>
> On 07/07/10 20:14, Anders Logg wrote:
>>
>> On Wed, Jul 07, 2010 at 06:26:20PM +0100, Kristian Oelgaard wrote:
>>>
>>> Supporting CellVolume makes it possible to do:
>>>
>>> CG = FiniteElement("Lagrange", triangle, 2)
>>> DG = FiniteElement("DG", t
On 07/07/10 20:14, Anders Logg wrote:
On Wed, Jul 07, 2010 at 06:26:20PM +0100, Kristian Oelgaard wrote:
Supporting CellVolume makes it possible to do:
CG = FiniteElement("Lagrange", triangle, 2)
DG = FiniteElement("DG", triangle, 0)
v = TestFunction(DG)
f = Coefficient(CG)
vol = triangle.v
On Wed, Jul 07, 2010 at 06:26:20PM +0100, Kristian Oelgaard wrote:
> Supporting CellVolume makes it possible to do:
>
> CG = FiniteElement("Lagrange", triangle, 2)
> DG = FiniteElement("DG", triangle, 0)
> v = TestFunction(DG)
> f = Coefficient(CG)
> vol = triangle.v
Would it be better to call it
Supporting CellVolume makes it possible to do:
CG = FiniteElement("Lagrange", triangle, 2)
DG = FiniteElement("DG", triangle, 0)
v = TestFunction(DG)
f = Coefficient(CG)
vol = triangle.v
L = 1.0/vol*v*f*dx
instead of using a Coefficient for 'vol' and then defining an
Expression in DOLFIN.
Curren
Just checking: should this form
L = u*dx
be ok?
--
Marie
___
Mailing list: https://launchpad.net/~ffc
Post to : ffc@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ffc
More help : https://help.launchpad.net/ListHelp
6 matches
Mail list logo