[Users] Getting the maximum number of refinement levels

Ian Hinder ian.hinder at aei.mpg.de
Fri Oct 21 00:55:32 CDT 2016


On 20 Oct 2016, at 18:58, Erik Schnetter <schnetter at cct.lsu.edu> wrote:

> 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.

Aha, GetMaxRefinementLevels was added on 26-Apr-2016 (https://bitbucket.org/eschnett/carpet/history-node/fbe3c3700ac9/Carpet/interface.ccl?at=master), and I am using the ET_2015_11 release, which is why I didn't see it.  Sorry!

-- 
Ian Hinder
http://members.aei.mpg.de/ianhin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20161021/5b6a2d5c/attachment.html 


More information about the Users mailing list