Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TurTLE
TurTLE
Commits
7e740857
Commit
7e740857
authored
Jan 29, 2020
by
Debarghya Banerjee
Committed by
Cristian Lalescu
Jan 31, 2020
Browse files
update in the M-filter
parent
1b75834c
Pipeline
#68357
passed with stage
in 6 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cpp/kspace.cpp
View file @
7e740857
...
...
@@ -311,7 +311,8 @@ void kspace<be, dt>::general_M_filter(
double
prefactor
=
prefactor0
;
for
(
unsigned
int
tcounter
=
0
;
tcounter
<
2
*
ncomp
(
fc
);
tcounter
++
)
((
rnumber
*
)
a
)[
2
*
ncomp
(
fc
)
*
cindex
+
tcounter
]
*=
(
prefactor
*
(
exp
(
-
0.5
*
pow
((
2.9
*
argument
),(
68.0
*
(
pow
(
ell
,
0.74
)))))
*
sqrt
(
1.0
+
(
pow
((
argument
/
0.06
),
3.8
))
/
(
1.0
+
(
pow
((
argument
/
0.057
),
3.8
))))));
// prefactor * (exp(-0.5*pow((2.9*argument),(68.0*(pow(ell,0.74))))) * sqrt(1.0 + (pow((argument/0.06),3.8))/(1.0 + (pow((argument/0.057),3.8))))));
prefactor
*
(
exp
(
-
1.7
*
argument
))
*
sqrt
(
1.0
+
0.68
*
(
pow
((
argument
/
0.065
),
4.6
))
/
(
1.0
+
(
pow
((
argument
/
0.065
),
4.6
)))));
}
});
}
...
...
Write
Preview
Supports
Markdown
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