← Back to team overview

dolfin team mailing list archive

Re: [HG dolfin] Use DofMap in FEM to get dof mapping and to compute number of nonzeroes per matrix row. This gives big memory savings for some problems. For /src/demo/pde/elasticity memory use was approx. 600mb, now 200mb.

 

On Thu, Dec 07, 2006 at 10:33:46AM +0100, Garth N. Wells wrote:
> Anders Logg wrote:
> > On Thu, Dec 07, 2006 at 01:12:41AM +0100, Garth N. Wells wrote:
> >> Anders Logg wrote:
> >>> On Wed, Dec 06, 2006 at 11:39:44PM +0100, Garth N. Wells wrote:
> >>>> Anders Logg wrote:
> >>>>> Do you mean "DofMap associated with mesh and finite element"?
> >>>>>
> >>>> Yep.
> >>>>
> >>>>> I'm ok with that. We could have a DiscreteFunction with two members:
> >>>>>
> >>>>>     Vector
> >>>>>     DofMap
> >>>>>
> >>>> That would work.
> >>> ok. This will also have consequences for the file format for
> >>> input/output of Functions.
> >>>
> >> Yes. Slightly related, I'd like to add output for MeshFuction<T> if the 
> >> T is suitable for output.
> > 
> > This is already supported. (Fixed by Ola last week.)
> > 
> > It has been implemented for T = int, real, bool, but we need to add
> > support for uint as well.
> >
> 
> Great. I was think more about exporting to VTK format in order to 
> visualise, for example, the mesh partition.
> 
> Garth

Aha. Yes, that will be useful.

/Anders


References