On 20 Oct 2016, at 18:58, Erik Schnetter <schnetter@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