[petsc-users] What exactly goes into DMPlexSetRefinementLimit
Matthew Knepley
knepley at gmail.com
Wed Aug 17 14:28:54 CDT 2016
On Wed, Aug 17, 2016 at 2:04 PM, Justin Chang <jychang48 at gmail.com> wrote:
> When I enter values like 1/16, 1/12, 1/24, and so on, I was expecting to
> get roughly the same dm object as if I simply did -dm_refine <0/1/2/3>.
> Instead it seems I get highly unstructured grids, and the smaller the
> number gets, the fewer additional cells I get. Is there a way to make the
> refinement limit uniform?
>
Why not just use -dm_refine ?
Matt
> On Wed, Aug 17, 2016 at 9:38 AM, Matthew Knepley <knepley at gmail.com>
> wrote:
>
>> On Wed, Aug 17, 2016 at 5:23 AM, Justin Chang <jychang48 at gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> Playing around with SNES ex12.c and I am attempting to tinker around
>>> with 3D options. I am trying to understand what kind of values go into
>>> -refinement_limit for 3D simplices.
>>>
>>
>> The cell volume limits for any cells created out of the existing cells.
>> This is how TetGen understands refinement. I think a
>> better way is to use a metric tensor field, and we now have an interface
>> to pragmatic for this (I think currently I only hooked it up
>> to DMCoarsen() but it does both). Clearly the interface is immature, but
>> this is the way we are headed.
>>
>> Matt
>>
>>
>>> Thanks,
>>> Justin
>>>
>>
>>
>>
>> --
>> What most experimenters take for granted before they begin their
>> experiments is infinitely more interesting than any results to which their
>> experiments lead.
>> -- Norbert Wiener
>>
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160817/0af95fc4/attachment.html>
More information about the petsc-users
mailing list