Improve XML tags for Function data io

Bug #868446 reported by Garth Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
Low
Garth Wells

Bug Description

From the mailing list:

>> After a long absence, Function i/o to file has made a come back. It
>> was particularly necessary to support running code in parallel that
>> reads in data for Functions (such as the advection-diffusion demo). We
>> have more demos running in parallel now, and it's now possible to
>> restart parallel computations reliably (and even on a different number
>> of processes).
>>
>> When sending a Function to an XML file, there is an entry for each
>> vector (dof) entry, e.g.
>>
>> <dof global_index="2" value="0" cell_index="3" local_dof_index="0" />
>>
>> 'global_index' is the vector index, 'value' is the entry value,
>> 'cell_index' is a cell that the dof belongs to and 'local_dof_index'
>> is the local dof number relative to the given cell. With this
>> information, it's possible to read in and use function data
>> independently of the new dof map. If anyone has suggestions or
>> objections to this format, speak up now.
>
> Is the cell index global to the mesh?
>

Yes.

> For consistency, I'd suggest the following names:
>
> <dof index="2" value="0" cell_index="3" cell_dof_index="0" />
>

OK.

Garth

Changed in dolfin:
status: New → In Progress
milestone: none → 1.0-beta2
importance: Undecided → Low
assignee: nobody → Garth Wells (garth-wells)
Anders Logg (logg)
Changed in dolfin:
milestone: 1.0-beta2 → 1.0-rc1
Changed in dolfin:
status: In Progress → Fix Committed
Anders Logg (logg)
Changed in dolfin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.