← Back to team overview

fenics team mailing list archive

Re: [Branch ~fenics-core/fenics-doc/main] Rev 151: Fix comment to match code to make verify_demo script more happy.

 


On 01/09/10 15:03, Anders Logg wrote:
> On Wed, Sep 01, 2010 at 03:53:42PM +0200, Anders Logg wrote:
>> On Wed, Sep 01, 2010 at 03:50:28PM +0200, Anders Logg wrote:
>>> On Wed, Sep 01, 2010 at 02:42:01PM +0100, Garth N. Wells wrote:
>>>>
>>>>
>>>> On 01/09/10 14:26, Anders Logg wrote:
>>>>> On Wed, Sep 01, 2010 at 03:09:50PM +0200, Anders Logg wrote:
>>>>>> On Wed, Sep 01, 2010 at 02:08:24PM +0100, Garth N. Wells wrote:
>>>>>>>
>>>>>>>
>>>>>>> On 01/09/10 13:36, Anders Logg wrote:
>>>>>>>> On Wed, Sep 01, 2010 at 02:35:15PM +0200, Marie Rognes wrote:
>>>>>>>>> On 01. sep. 2010 14:15, Anders Logg wrote:
>>>>>>>>>> On Wed, Sep 01, 2010 at 02:12:29PM +0200, Marie Rognes wrote:
>>>>>>>>>>
>>>>>>>>>>> On 01. sep. 2010 14:05, Anders Logg wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Sep 01, 2010 at 11:55:34AM -0000, noreply@xxxxxxxxxxxxx wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>>>>> revno: 151
>>>>>>>>>>>>> committer: Marie E. Rognes <meg@xxxxxxxxx>
>>>>>>>>>>>>> branch nick: fenics-doc
>>>>>>>>>>>>> timestamp: Wed 2010-09-01 13:52:09 +0200
>>>>>>>>>>>>> message:
>>>>>>>>>>>>>   Fix comment to match code to make verify_demo script more happy.
>>>>>>>>>>>>> modified:
>>>>>>>>>>>>>   source/demos/la/eigenvalue/python/documentation.rst
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> === modified file 'source/demos/la/eigenvalue/python/documentation.rst'
>>>>>>>>>>>>> --- source/demos/la/eigenvalue/python/documentation.rst	2010-08-31 19:57:18 +0000
>>>>>>>>>>>>> +++ source/demos/la/eigenvalue/python/documentation.rst	2010-09-01 11:52:09 +0000
>>>>>>>>>>>>> @@ -50,7 +50,7 @@
>>>>>>>>>>>>>    mesh = Mesh("box_with_dent.xml.gz")
>>>>>>>>>>>>>    V = FunctionSpace(mesh, "CG", 1)
>>>>>>>>>>>>>
>>>>>>>>>>>>> -  # Define basis and then form the stiffness matrix
>>>>>>>>>>>>> +  # Define basis and bilinear form
>>>>>>>>>>>>>    u = TrialFunction(V)
>>>>>>>>>>>>>    v = TestFunction(V)
>>>>>>>>>>>>>    a = dot(grad(v), grad(u))*dx
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>> Another thing to fix is a(u, v) in all the new demos.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Ok.  Am reading through the demo documentation -- will  fix as I go along.
>>>>>>>>>>>
>>>>>>>>>> Great. Watch out for the NS docs, they're not proofread at all but
>>>>>>>>>> they do have a(u, v)...
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> PS: What is the status of the two different demo directories -- which
>>>>>>>>> contains the "correct ones"?
>>>>>>>>
>>>>>>>> You mean fenics-doc or DOLFIN?
>>>>>>>>
>>>>>>>> The status is that everything should be edited only as part of DOLFIN,
>>>>>>>> then automatically copied over to the fenics-doc repository.
>>>>>>>>
>>>>>>>
>>>>>>> Would be good to add a simple rsync script asap to help with this.
>>>>>>>
>>>>>>> Garth
>>>>>>
>>>>>> I'm working on it.
>>>>>
>>>>> Have there been any changes since last night to the demos in
>>>>> fenics-doc? Is it ok to run the script now to copy things over from DOLFIN?
>>>>>
>>>>
>>>> No idea. Go ahead and sync - we can always use version control to get
>>>> things back.
>>>
>>> Looks like there have been a number of small changes. Please everyone
>>> stop touching the demos in fenics-doc. I'll go through them one by one.
>>
>> There are two different la demos: 'eigenvalue' in fenics-doc and
>> 'eigensolver' in DOLFIN.
>>
>> Are these supposed to be the same demo? The main.cpp file in
>> fenics-doc is empty.
> 
> I think I know what has changed now. The only problematic demo is the
> Cahn-Hilliard C++ demo. Which version should I pick? The one in DOLFIN
> or fenics-doc?
>

DOLFIN.

Garth

> --
> Anders




References