← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/trunk] Rev 7515: Merge work on block dofmaps. Works in serial.

 

On 8 March 2013 09:52, Johan Hake <hake.dev@xxxxxxxxx> wrote:
> So the number of nodes or the size of the nodes follows the number of
> subspaces?
>

Number of local cell dimension / number of subspaces.

It works for elasticity, but will need to be more elaborate for more
complicated cases.

As it is now, it may fail to properly identify blocks, but this will
not cause any runtime errors.

Garth

> J
>
> On 03/08/2013 10:36 AM, Garth N. Wells wrote:
>> On 8 March 2013 09:27, Johan Hake <hake.dev@xxxxxxxxx> wrote:
>>> Cool! How are the blocks determined?
>>>
>>
>> These are node blocks (not large equation blocks).
>>
>> There is a primitive test in DofMapBuilder based on number of
>> subspaces and global dimension. The idea is to work with nodes and not
>> dofs (multiple nodes can live a a dof). This gives a major speed-up in
>> dof renumbering and makes the solvers run faster. It should also speed
>> up the sparsity pattern construction and the construction of
>> distributed dof maps.
>>
>> It would be good if UFC would provide some support for nodes. It's
>> important for performance when multiple dofs live at each node.
>>
>> Garth
>>
>>
>>
>>> Johan
>>>
>>> On 03/08/2013 09:39 AM, noreply@xxxxxxxxxxxxx wrote:
>>>> Merge authors:
>>>>   Garth Wells (garth-wells)
>>>> ------------------------------------------------------------
>>>> revno: 7515 [merge]
>>>> committer: Garth N. Wells <gnw20@xxxxxxxxx>
>>>> branch nick: trunk
>>>> timestamp: Fri 2013-03-08 08:38:47 +0000
>>>> message:
>>>>   Merge work on block dofmaps. Works in serial.
>>>> modified:
>>>>   dolfin/fem/DofMap.cpp
>>>>   dolfin/fem/DofMap.h
>>>>   dolfin/fem/DofMapBuilder.cpp
>>>>
>>>>
>>>> --
>>>> lp:dolfin
>>>> https://code.launchpad.net/~dolfin-core/dolfin/trunk
>>>>
>>>> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
>>>> To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/trunk/+edit-subscription
>>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dolfin
>>> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dolfin
>>> More help   : https://help.launchpad.net/ListHelp
>


References