Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
ducc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Simon Perkins
ducc
Commits
6d179b23
Commit
6d179b23
authored
May 29, 2020
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various fixes
parent
025e08dd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
cxxbase.cc
cxxbase.cc
+2
-1
pyHealpix/pyHealpix.cc
pyHealpix/pyHealpix.cc
+1
-1
pyinterpol_ng/pyinterpol_ng.cc
pyinterpol_ng/pyinterpol_ng.cc
+2
-2
pysharp/pysharp.cc
pysharp/pysharp.cc
+1
-1
setup.py
setup.py
+1
-1
No files found.
cxxbase.cc
View file @
6d179b23
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
#include "mr_util/infra/threading.cc"
#include "mr_util/infra/threading.cc"
#include "mr_util/math/pointing.cc"
#include "mr_util/math/pointing.cc"
#include "mr_util/math/geom_utils.cc"
#include "mr_util/math/geom_utils.cc"
#include "mr_util/math/space_filling.cc"
#include "mr_util/sharp/sharp.cc"
#include "mr_util/sharp/sharp.cc"
#include "mr_util/sharp/sharp_almhelpers.cc"
#include "mr_util/sharp/sharp_almhelpers.cc"
#include "mr_util/sharp/sharp_core.cc"
#include "mr_util/sharp/sharp_core.cc"
...
@@ -20,7 +21,7 @@
...
@@ -20,7 +21,7 @@
using
namespace
mr
;
using
namespace
mr
;
PYBIND11_MODULE
(
cxxbase1
,
m
)
PYBIND11_MODULE
(
PKGNAME
,
m
)
{
{
add_pypocketfft
(
m
);
add_pypocketfft
(
m
);
add_pysharp
(
m
);
add_pysharp
(
m
);
...
...
pyHealpix/pyHealpix.cc
View file @
6d179b23
...
@@ -351,7 +351,7 @@ void add_pyHealpix(py::module &msup)
...
@@ -351,7 +351,7 @@ void add_pyHealpix(py::module &msup)
auto
m
=
msup
.
def_submodule
(
"pyHealpix"
);
auto
m
=
msup
.
def_submodule
(
"pyHealpix"
);
m
.
doc
()
=
pyHealpix_DS
;
m
.
doc
()
=
pyHealpix_DS
;
py
::
class_
<
Pyhpbase
>
(
m
,
"Healpix_Base"
)
py
::
class_
<
Pyhpbase
>
(
m
,
"Healpix_Base"
,
py
::
module_local
()
)
.
def
(
py
::
init
<
int
,
const
string
&>
(),
"nside"
_a
,
"scheme"
_a
)
.
def
(
py
::
init
<
int
,
const
string
&>
(),
"nside"
_a
,
"scheme"
_a
)
.
def
(
"order"
,
[](
Pyhpbase
&
self
)
.
def
(
"order"
,
[](
Pyhpbase
&
self
)
{
return
self
.
base
.
Order
();
},
order_DS
)
{
return
self
.
base
.
Order
();
},
order_DS
)
...
...
pyinterpol_ng/pyinterpol_ng.cc
View file @
6d179b23
...
@@ -242,7 +242,7 @@ void add_pyinterpol_ng(py::module &msup)
...
@@ -242,7 +242,7 @@ void add_pyinterpol_ng(py::module &msup)
m
.
doc
()
=
pyinterpol_ng_DS
;
m
.
doc
()
=
pyinterpol_ng_DS
;
using
inter_d
=
PyInterpolator
<
double
>
;
using
inter_d
=
PyInterpolator
<
double
>
;
py
::
class_
<
inter_d
>
(
m
,
"PyInterpolator"
,
pyinterpolator_DS
)
py
::
class_
<
inter_d
>
(
m
,
"PyInterpolator"
,
py
::
module_local
(),
py
interpolator_DS
)
.
def
(
py
::
init
<
const
py
::
array
&
,
const
py
::
array
&
,
bool
,
int64_t
,
int64_t
,
double
,
double
,
int
>
(),
.
def
(
py
::
init
<
const
py
::
array
&
,
const
py
::
array
&
,
bool
,
int64_t
,
int64_t
,
double
,
double
,
int
>
(),
initnormal_DS
,
"sky"
_a
,
"beam"
_a
,
"separate"
_a
,
"lmax"
_a
,
"kmax"
_a
,
"epsilon"
_a
,
"ofactor"
_a
=
1.5
,
initnormal_DS
,
"sky"
_a
,
"beam"
_a
,
"separate"
_a
,
"lmax"
_a
,
"kmax"
_a
,
"epsilon"
_a
,
"ofactor"
_a
=
1.5
,
"nthreads"
_a
=
0
)
"nthreads"
_a
=
0
)
...
@@ -253,7 +253,7 @@ void add_pyinterpol_ng(py::module &msup)
...
@@ -253,7 +253,7 @@ void add_pyinterpol_ng(py::module &msup)
.
def
(
"getSlm"
,
&
inter_d
::
pygetSlm
,
getSlm_DS
,
"beam"
_a
)
.
def
(
"getSlm"
,
&
inter_d
::
pygetSlm
,
getSlm_DS
,
"beam"
_a
)
.
def
(
"support"
,
&
inter_d
::
support
);
.
def
(
"support"
,
&
inter_d
::
support
);
using
inter_f
=
PyInterpolator
<
float
>
;
using
inter_f
=
PyInterpolator
<
float
>
;
py
::
class_
<
inter_f
>
(
m
,
"PyInterpolator_f"
,
pyinterpolator_DS
)
py
::
class_
<
inter_f
>
(
m
,
"PyInterpolator_f"
,
py
::
module_local
(),
py
interpolator_DS
)
.
def
(
py
::
init
<
const
py
::
array
&
,
const
py
::
array
&
,
bool
,
int64_t
,
int64_t
,
float
,
float
,
int
>
(),
.
def
(
py
::
init
<
const
py
::
array
&
,
const
py
::
array
&
,
bool
,
int64_t
,
int64_t
,
float
,
float
,
int
>
(),
initnormal_DS
,
"sky"
_a
,
"beam"
_a
,
"separate"
_a
,
"lmax"
_a
,
"kmax"
_a
,
"epsilon"
_a
,
"ofactor"
_a
=
1.5
f
,
initnormal_DS
,
"sky"
_a
,
"beam"
_a
,
"separate"
_a
,
"lmax"
_a
,
"kmax"
_a
,
"epsilon"
_a
,
"ofactor"
_a
=
1.5
f
,
"nthreads"
_a
=
0
)
"nthreads"
_a
=
0
)
...
...
pysharp/pysharp.cc
View file @
6d179b23
...
@@ -274,7 +274,7 @@ void add_pysharp(py::module &msup)
...
@@ -274,7 +274,7 @@ void add_pysharp(py::module &msup)
auto
m
=
msup
.
def_submodule
(
"pysharp"
);
auto
m
=
msup
.
def_submodule
(
"pysharp"
);
m
.
doc
()
=
pysharp_DS
;
m
.
doc
()
=
pysharp_DS
;
py
::
class_
<
py_sharpjob
<
double
>>
(
m
,
"sharpjob_d"
)
py
::
class_
<
py_sharpjob
<
double
>>
(
m
,
"sharpjob_d"
,
py
::
module_local
()
)
.
def
(
py
::
init
<>
())
.
def
(
py
::
init
<>
())
.
def
(
"set_nthreads"
,
&
py_sharpjob
<
double
>::
set_nthreads
,
"nthreads"
_a
)
.
def
(
"set_nthreads"
,
&
py_sharpjob
<
double
>::
set_nthreads
,
"nthreads"
_a
)
.
def
(
"set_gauss_geometry"
,
&
py_sharpjob
<
double
>::
set_gauss_geometry
,
.
def
(
"set_gauss_geometry"
,
&
py_sharpjob
<
double
>::
set_gauss_geometry
,
...
...
setup.py
View file @
6d179b23
...
@@ -17,7 +17,7 @@ include_dirs = ['./src/',
...
@@ -17,7 +17,7 @@ include_dirs = ['./src/',
_deferred_pybind11_include
()]
_deferred_pybind11_include
()]
extra_compile_args
=
[
'--std=c++17'
,
'-march=native'
,
'-ffast-math'
,
'-O3'
]
extra_compile_args
=
[
'--std=c++17'
,
'-march=native'
,
'-ffast-math'
,
'-O3'
]
python_module_link_args
=
[]
python_module_link_args
=
[]
define_macros
=
[]
define_macros
=
[
(
"PKGNAME"
,
pkgname
)
]
if
sys
.
platform
==
'darwin'
:
if
sys
.
platform
==
'darwin'
:
import
distutils.sysconfig
import
distutils.sysconfig
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment