Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
Xavier Garrido
CAMEL
Commits
a7f46ffb
Commit
a7f46ffb
authored
Jun 05, 2019
by
Xavier Garrido
Browse files
use temperature of CMB from Class
parent
9041755c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/camel/Astro/cib_interface.cc
src/camel/Astro/cib_interface.cc
+2
-2
No files found.
src/camel/Astro/cib_interface.cc
View file @
a7f46ffb
...
...
@@ -45,7 +45,7 @@ namespace cib {
cib
::
zeros
(
_gnu_
,
_nfreq_
);
const
double
h_p
=
6.62607004e-34
;
const
double
k_B
=
1.38064852e-23
;
const
double
T_cmb
=
2.725
;
const
double
T_cmb
=
_klass_
->
Tcmb
()
;
for
(
size_t
i
=
0
;
i
<
_nu_
.
size
();
i
++
)
{
const
double
x
=
h_p
*
_nu_
[
i
]
/
k_B
/
T_cmb
;
_gnu_
[
i
]
=
x
*
((
std
::
exp
(
x
)
+
1
)
/
(
std
::
exp
(
x
)
-
1
))
-
4
;
...
...
@@ -123,7 +123,7 @@ namespace cib {
cib
::
array3d
y_ll
;
_compute_y_ell_
(
y_ll
);
const
double
T_cmb
=
2.725
;
const
double
T_cmb
=
_klass_
->
Tcmb
()
;
cib
::
array1d
Kcmb_MJy
=
{
244.1
,
371.74
,
483.69
,
287.45
,
58.04
,
2.27
,
1.
};
cib
::
zeros
(
cl_cib_
,
_nfreq_
,
_nfreq_
,
_nell_
);
...
...
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