From 6077806eccc1a034c8c59fe093d20881160bee8a Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Mon, 20 Apr 2015 19:40:32 +0200 Subject: [PATCH] add some inquiry functions --- libsharp/sharp_cxx.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libsharp/sharp_cxx.h b/libsharp/sharp_cxx.h index 8633270..f8b2365 100644 --- a/libsharp/sharp_cxx.h +++ b/libsharp/sharp_cxx.h @@ -25,7 +25,7 @@ /*! \file sharp_cxx.h * Spherical transform library * - * Copyright (C) 2012 Max-Planck-Society + * Copyright (C) 2012-2015 Max-Planck-Society * \author Martin Reinecke */ @@ -88,6 +88,9 @@ class sharp_base if (ainfo) sharp_destroy_alm_info(ainfo); sharp_make_triangular_alm_info (lmax, mmax, 1, &ainfo); } + + const sharp_geom_info* get_geom_info() const { return ginfo; } + const sharp_alm_info* get_alm_info() const { return ainfo; } }; template struct cxxjobhelper__ {};