[Dune] has the grid been adapted??
Marco Cisternino
marco.cisternino at optimad.it
Mon Jun 10 18:07:12 CEST 2013
Thank you Andreas and Martin,
That's what I decided to do, Andreas. I compute the number elements
marked for coarsening and for refinement, then I sum them up.
If this is zero I stop the run. By this way, I'm sure that the grid has
not been changed. I can't say the opposite, i.e. some of the elements
have been marked for coarsening but the grid doesn't change because of
grid internal rules.
It doesn't matter, it's good enough for me.
Thanks again.
Marco
Il 10/06/2013 18:00, Dedner, Andreas ha scritto:
> Hi Marco.
> I'm afraid it is as Martin says, checking the return of preAdapt and
> adapt isn't
> guaranteed to prove 'grid convergence'. Couldn't you simply check if
> you are
> actually marking elements or not? Although: it is possible that you
> mark elements for
> coarsening and nothing is done because the elements couldn't be removed.
> Best
> Andreas
>
>
> ------------------------------------------------------------------------
> *From:* dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org
> [dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org] on behalf of
> Marco Cisternino [marco.cisternino at optimad.it]
> *Sent:* 10 June 2013 15:29
> *To:* dune at dune-project.org
> *Subject:* Re: [Dune] has the grid been adapted??
>
> Hi Martin,
> I'm trying to get grid convergence, then I have to know if the grid
> doesn't change any more in order to stop the computation.
> Then, if I ask for the results of preAdapt and adapt and they're both
> false, this means that the grid didn't change. Right?
> What do you mean with:
>
> However, it is perfectly ok for the grid to always return true on
> preAdapt and adapt, as this will not have an impact on the correctness
> of the solution. This would, of course, degrade performance.
>
> Does, for example, ALU always return true on preAdapt and adapt??
> Thanks again.
>
> Marco
>
> Il 08/06/2013 12:00, dune-request at dune-project.org ha scritto:
>> Send Dune mailing list submissions to
>> dune at dune-project.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.dune-project.org/mailman/listinfo/dune
>> or, via email, send a message with subject or body 'help' to
>> dune-request at dune-project.org
>>
>> You can reach the person managing the list at
>> dune-owner at dune-project.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Dune digest..."
>>
>>
>> Today's Topics:
>>
>> 1. dune problem on mac (Kirkilionis, Markus)
>> 2. Re: dune problem on mac (Steffen M?thing)
>> 3. Re: dune problem on mac (Tobias Malkmus)
>> 4. has the grid been adapted?? (Marco Cisternino)
>> 5. Re: attaching data to intersections (Oliver Sander)
>> 6. Re: has the grid been adapted?? (Martin Nolte)
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>
> --
> ------------------------------------
> Marco Cisternino, Ph.D.
> OPTIMAD Engineering s.r.l.
> Via Giacinto Collegno 18
> 10143 Torino - Italy
> www.optimad.it
> marco.cisternino at optimad.it
> +39 011 19719782
> ------------------------------------
--
------------------------------------
Marco Cisternino, Ph.D.
OPTIMAD Engineering s.r.l.
Via Giacinto Collegno 18
10143 Torino - Italy
www.optimad.it
marco.cisternino at optimad.it
+39 011 19719782
------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20130610/8a029666/attachment.htm>
More information about the Dune
mailing list