On Thursday 30 October 2008, Zhu Liang wrote:
> Dear Dealii users
>
> I am trying to solve a simple 3-D transport equation
>
> u_t+ div(a u) =f
>
> by adaptive DG spatial discretizations.
>
> Following the strategy in Tutorial 28 to evaluate the right hand side
> integral associated with the solution at
> the previous time, I have to include an object to store the "previous"
> dof constructed by an "previous" triangulation.
>
> My question is how can I define this "previous" triangulation not by
> invoking the copying function which, as the manual says
> is not cheap.
Compared with almost all other operations you are probably doing in your
program, copying the triangulation should not take any noticeable amount
of time. I think you are trying to optimize a part of your program that is
not worth being optimized.
Best
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: [EMAIL PROTECTED]
www: http://www.math.tamu.edu/~bangerth/
_______________________________________________