dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17377
Re: [Branch ~dolfin-core/dolfin/main] Rev 4434: Set parameter to use tensor rep for DG Poisson demo. It's broken.
Anders Logg wrote:
> On Tue, Feb 02, 2010 at 11:20:32PM -0000, noreply@xxxxxxxxxxxxx wrote:
>> ------------------------------------------------------------
>> revno: 4434
>> committer: Garth N. Wells <gnw20@xxxxxxxxx>
>> branch nick: dolfin-all
>> timestamp: Tue 2010-02-02 23:16:44 +0000
>> message:
>> Set parameter to use tensor rep for DG Poisson demo. It's broken.
>>
>> This shows that tensor rep is not wotking for DG.
>
> I think it just shows that the tensor representation does not handle
> FacetNormals
This sounds to me like a significant deficiency. Is there are technical
reason for this?
or Division which is known.
> Without the -r representation
> option, FFC will automatically discover that the integrand in question
> needs to be done with quadrature
OK, it's good it if can figure this out.
Garth
> but if someone insists on -r tensor,
> then FFC will try and explain why it fails:
>
> *** FFC: No handler defined for expression Division.
>
> I'll switch the demo back to "auto".
>
> --
> Anders
>
>
>
>> modified:
>> demo/pde/dg/poisson/python/demo.py
>>
>>
>
>> === modified file 'demo/pde/dg/poisson/python/demo.py'
>> --- demo/pde/dg/poisson/python/demo.py 2010-01-27 21:09:29 +0000
>> +++ demo/pde/dg/poisson/python/demo.py 2010-02-02 23:16:44 +0000
>> @@ -23,6 +23,8 @@
>>
>> from dolfin import *
>>
>> +parameters["form_compiler"]["representation"] = "tensor"
>> +
>> # Create mesh and define function space
>> mesh = UnitSquare(24, 24)
>> V = FunctionSpace(mesh, "DG", 1)
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References