Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ext-piot_p
src
Commits
4e4db832
Commit
4e4db832
authored
Aug 25, 2022
by
adelmann
🎗
Browse files
Remove unused variable
parent
cc64231b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/Classic/Solvers/GreenWakeFunction.cpp
src/Classic/Solvers/GreenWakeFunction.cpp
+1
-2
No files found.
src/Classic/Solvers/GreenWakeFunction.cpp
View file @
4e4db832
...
...
@@ -458,7 +458,6 @@ void GreenWakeFunction::setWakeFromFile(int NBin_m, double spacing) {
std
::
string
name
;
char
temp
[
256
];
int
Np
;
double
dummy
;
gsl_fft_real_wavetable
*
real
;
gsl_fft_real_workspace
*
work
;
std
::
ifstream
fs
;
...
...
@@ -499,7 +498,7 @@ void GreenWakeFunction::setWakeFromFile(int NBin_m, double spacing) {
// read the wakefunction
for
(
int
i
=
0
;
i
<
Np
;
i
++
)
{
if
(
!
fs
.
eof
())
{
fs
>>
dist
[
i
]
>>
wake
[
i
];
// >> dummy;
fs
>>
dist
[
i
]
>>
wake
[
i
];
}
if
(
fs
.
eof
())
{
throw
GeneralClassicException
(
"GreenWakeFunction::setWakeFromFile"
,
...
...
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