Commit c5b702ab authored by Martin Reinecke's avatar Martin Reinecke
Browse files

namespace mr -> ducc0

parent f149f19c
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include "ducc0/math/math_utils.h" #include "ducc0/math/math_utils.h"
#include "ducc0/math/vec3.h" #include "ducc0/math/vec3.h"
namespace mr { namespace ducc0 {
namespace detail_geom_utils { namespace detail_geom_utils {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "ducc0/infra/error_handling.h" #include "ducc0/infra/error_handling.h"
#include "ducc0/infra/threading.h" #include "ducc0/infra/threading.h"
namespace mr { namespace ducc0 {
namespace detail_gl_integrator { namespace detail_gl_integrator {
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
namespace mr { namespace ducc0 {
/*! Returns \e true if | \a a-b | <= \a epsilon * | \a b |, else \e false. */ /*! Returns \e true if | \a a-b | <= \a epsilon * | \a b |, else \e false. */
template<typename F> inline bool approx (F a, F b, F epsilon=F(1e-5L)) template<typename F> inline bool approx (F a, F b, F epsilon=F(1e-5L))
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
using namespace std; using namespace std;
namespace mr { namespace ducc0 {
vec3 pointing::to_vec3() const vec3 pointing::to_vec3() const
{ {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <cmath> #include <cmath>
#include "ducc0/math/vec3.h" #include "ducc0/math/vec3.h"
namespace mr { namespace ducc0 {
/*! \defgroup pointinggroup Pointings */ /*! \defgroup pointinggroup Pointings */
/*! \{ */ /*! \{ */
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include "ducc0/infra/error_handling.h" #include "ducc0/infra/error_handling.h"
#include "ducc0/math/math_utils.h" #include "ducc0/math/math_utils.h"
namespace mr { namespace ducc0 {
/*! Class for storing sets of ranges of integer numbers */ /*! Class for storing sets of ranges of integer numbers */
template<typename T> class rangeset template<typename T> class rangeset
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "ducc0/math/space_filling.h" #include "ducc0/math/space_filling.h"
namespace mr { namespace ducc0 {
#ifndef __BMI2__ #ifndef __BMI2__
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <x86intrin.h> #include <x86intrin.h>
#endif #endif
namespace mr { namespace ducc0 {
#ifndef __BMI2__ #ifndef __BMI2__
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <type_traits> #include <type_traits>
#include <vector> #include <vector>
namespace mr { namespace ducc0 {
namespace detail_unity_roots { namespace detail_unity_roots {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <cmath> #include <cmath>
#include <iostream> #include <iostream>
namespace mr { namespace ducc0 {
/*! \defgroup vec3group 3D vectors */ /*! \defgroup vec3group 3D vectors */
/*! \{ */ /*! \{ */
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include "ducc0/error_handling.h" #include "ducc0/error_handling.h"
#include "ducc0/math_utils.h" #include "ducc0/math_utils.h"
namespace mr { namespace ducc0 {
class obitstream class obitstream
{ {
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include "ducc0/error_handling.h" #include "ducc0/error_handling.h"
#include "ducc0/math_utils.h" #include "ducc0/math_utils.h"
namespace mr { namespace ducc0 {
/* /*
compact rangeset (CRS) compact rangeset (CRS)
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <cstdint> #include <cstdint>
#include "ducc0/error_handling.h" #include "ducc0/error_handling.h"
namespace mr { namespace ducc0 {
namespace datatypes { namespace datatypes {
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
using namespace std; using namespace std;
namespace mr { namespace ducc0 {
namespace healpix { namespace healpix {
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include "ducc0/threading.h" #include "ducc0/threading.h"
#include "Healpix_cxx/healpix_base.h" #include "Healpix_cxx/healpix_base.h"
namespace mr { namespace ducc0 {
namespace healpix { namespace healpix {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "Healpix_cxx/healpix_base.h" #include "Healpix_cxx/healpix_base.h"
#include "ducc0/compress_utils.h" #include "ducc0/compress_utils.h"
namespace mr { namespace ducc0 {
namespace healpix { namespace healpix {
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include "ducc0/infra/error_handling.h" #include "ducc0/infra/error_handling.h"
#include "ducc0/infra/timers.h" #include "ducc0/infra/timers.h"
namespace mr { namespace ducc0 {
namespace detail_sharp { namespace detail_sharp {
...@@ -294,7 +294,7 @@ DUCC0_NOINLINE void sharp_job::map2phase (size_t mmax, size_t llim, size_t ulim) ...@@ -294,7 +294,7 @@ DUCC0_NOINLINE void sharp_job::map2phase (size_t mmax, size_t llim, size_t ulim)
{ {
if (type != SHARP_MAP2ALM) return; if (type != SHARP_MAP2ALM) return;
size_t pstride = s_m; size_t pstride = s_m;
mr::execDynamic(ulim-llim, nthreads, 1, [&](mr::Scheduler &sched) ducc0::execDynamic(ulim-llim, nthreads, 1, [&](ducc0::Scheduler &sched)
{ {
ringhelper helper; ringhelper helper;
size_t rstride=ginfo.nphmax()+2; size_t rstride=ginfo.nphmax()+2;
...@@ -322,7 +322,7 @@ DUCC0_NOINLINE void sharp_job::phase2map (size_t mmax, size_t llim, size_t ulim) ...@@ -322,7 +322,7 @@ DUCC0_NOINLINE void sharp_job::phase2map (size_t mmax, size_t llim, size_t ulim)
{ {
if (type == SHARP_MAP2ALM) return; if (type == SHARP_MAP2ALM) return;
size_t pstride = s_m; size_t pstride = s_m;
mr::execDynamic(ulim-llim, nthreads, 1, [&](mr::Scheduler &sched) ducc0::execDynamic(ulim-llim, nthreads, 1, [&](ducc0::Scheduler &sched)
{ {
ringhelper helper; ringhelper helper;
size_t rstride=ginfo.nphmax()+2; size_t rstride=ginfo.nphmax()+2;
...@@ -348,7 +348,7 @@ DUCC0_NOINLINE void sharp_job::phase2map (size_t mmax, size_t llim, size_t ulim) ...@@ -348,7 +348,7 @@ DUCC0_NOINLINE void sharp_job::phase2map (size_t mmax, size_t llim, size_t ulim)
DUCC0_NOINLINE void sharp_job::execute() DUCC0_NOINLINE void sharp_job::execute()
{ {
mr::SimpleTimer timer; ducc0::SimpleTimer timer;
opcnt=0; opcnt=0;
size_t lmax = ainfo.lmax(), size_t lmax = ainfo.lmax(),
mmax = ainfo.mmax(); mmax = ainfo.mmax();
...@@ -386,7 +386,7 @@ DUCC0_NOINLINE void sharp_job::execute() ...@@ -386,7 +386,7 @@ DUCC0_NOINLINE void sharp_job::execute()
/* map->phase where necessary */ /* map->phase where necessary */
map2phase(mmax, llim, ulim); map2phase(mmax, llim, ulim);
mr::execDynamic(ainfo.nm(), nthreads, 1, [&](mr::Scheduler &sched) ducc0::execDynamic(ainfo.nm(), nthreads, 1, [&](ducc0::Scheduler &sched)
{ {
sharp_job ljob = *this; sharp_job ljob = *this;
ljob.opcnt=0; ljob.opcnt=0;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <memory> #include <memory>
#include <any> #include <any>
namespace mr { namespace ducc0 {
namespace detail_sharp { namespace detail_sharp {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "ducc0/infra/error_handling.h" #include "ducc0/infra/error_handling.h"
#include "ducc0/sharp/sharp_almhelpers.h" #include "ducc0/sharp/sharp_almhelpers.h"
namespace mr { namespace ducc0 {
namespace detail_sharp { namespace detail_sharp {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <memory> #include <memory>
#include "ducc0/sharp/sharp.h" #include "ducc0/sharp/sharp.h"
namespace mr { namespace ducc0 {
namespace detail_sharp { namespace detail_sharp {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment