[Users] Getting the maximum number of refinement levels

Erik Schnetter schnetter at cct.lsu.edu
Thu Oct 20 11:58:33 CDT 2016


Ian

I have these three aliased functions in Carpet:

CCTK_INT FUNCTION                         \
    GetRefinementLevel                    \
        (CCTK_POINTER_TO_CONST IN cctkGH)
PROVIDES FUNCTION GetRefinementLevel \
    WITH Carpet_GetRefinementLevel   \
    LANGUAGE C

CCTK_INT FUNCTION                         \
    GetRefinementLevels                   \
        (CCTK_POINTER_TO_CONST IN cctkGH)
PROVIDES FUNCTION GetRefinementLevels \
    WITH Carpet_GetRefinementLevels   \
    LANGUAGE C

CCTK_INT FUNCTION                         \
    GetMaxRefinementLevels                \
        (CCTK_POINTER_TO_CONST IN cctkGH)
PROVIDES FUNCTION GetMaxRefinementLevels \
    WITH Carpet_GetMaxRefinementLevels   \
    LANGUAGE C

If they are not on the main branch, then this change should be merged.

-erik


On Thu, Oct 20, 2016 at 12:31 PM, Ian Hinder <ian.hinder at aei.mpg.de> wrote:

> Hi,
>
> Is there an "official" way for a thorn to get the maximum number of
> refinement levels?  There is a maxreflevels in carpet_public.hh, but it is
> disabled.  There is no aliased Carpet function to find this either.
>
> --
> Ian Hinder
> http://members.aei.mpg.de/ianhin
>
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>
>


-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20161020/086a15c1/attachment.html 


More information about the Users mailing list