does it mean I can release the allocated memory for
old_dof_objects after the solution projection?
pan
--- Benjamin Kirk <[EMAIL PROTECTED]> wrote:
>
> > Dear all,
> > I'm reading code of dofmap. Can you explain me
> when we
> > need old_dof_object and/or old_dof_indices, so
> that I
> > can proceed reading?
> >
>
> Sure. When you refine the mesh you obviously
> introduce a new finite element
> approximation subspace, which means a new # of DOFs
> and associated DOF
> distribution. However, when you project the
> solution from the old mesh to
> the new mesh you need a way to map between the old
> and new discrete spaces.
>
> This is what the old_dof_object does. It is
> usually NULL, and will be NULL
> for newly created nodes/elements after refinement,
> but for the old
> nodes/elements it contains the previous DOF indexing
> from the pre-refined
> mesh.
>
> -Ben
>
>
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users