Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
2447714b
Commit
2447714b
authored
11 months ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Use reference argument to pass string to loop function
parent
8e8bf0ed
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cluster/cluster.cpp
+1
-1
1 addition, 1 deletion
src/cluster/cluster.cpp
with
1 addition
and
1 deletion
src/cluster/cluster.cpp
+
1
−
1
View file @
2447714b
...
@@ -733,7 +733,7 @@ void cluster(const string& config_file, const string& data_file, const string& o
...
@@ -733,7 +733,7 @@ void cluster(const string& config_file, const string& data_file, const string& o
}
}
int
cluster_jxi488_cycle
(
int
jxi488
,
ScattererConfiguration
*
sconf
,
GeometryConfiguration
*
gconf
,
ScatteringAngles
*
sa
,
C1
*
c1
,
C1_AddOns
*
c1ao
,
C2
*
c2
,
C3
*
c3
,
C4
*
c4
,
C6
*
c6
,
C9
*
c9
,
FILE
*
output
,
string
output_path
,
double
*
gaps
,
double
**
tqse
,
dcomplex
**
tqspe
,
double
**
tqss
,
dcomplex
**
tqsps
,
double
****
zpv
,
double
**
gapm
,
dcomplex
**
gappm
,
double
*
argi
,
double
*
args
,
double
**
gap
,
dcomplex
**
gapp
,
double
**
tqce
,
dcomplex
**
tqcpe
,
double
**
tqcs
,
dcomplex
**
tqcps
,
double
*
duk
,
fstream
&
tppoan
,
double
**
cextlr
,
double
**
cext
,
double
**
cmullr
,
double
**
cmul
,
double
*
gapv
,
double
*
tqev
,
double
*
tqsv
,
double
*
u
,
double
*
us
,
double
*
un
,
double
*
uns
,
double
*
up
,
double
*
ups
,
double
*
unmp
,
double
*
unsmp
,
double
*
upmp
,
double
*
upsmp
,
double
&
scan
,
double
&
cfmp
,
double
&
sfmp
,
double
&
cfsp
,
double
&
sfsp
,
double
sqsfi
,
dcomplex
arg
,
double
wn
,
double
vk
,
Logger
*
logger
)
int
cluster_jxi488_cycle
(
int
jxi488
,
ScattererConfiguration
*
sconf
,
GeometryConfiguration
*
gconf
,
ScatteringAngles
*
sa
,
C1
*
c1
,
C1_AddOns
*
c1ao
,
C2
*
c2
,
C3
*
c3
,
C4
*
c4
,
C6
*
c6
,
C9
*
c9
,
FILE
*
output
,
const
string
&
output_path
,
double
*
gaps
,
double
**
tqse
,
dcomplex
**
tqspe
,
double
**
tqss
,
dcomplex
**
tqsps
,
double
****
zpv
,
double
**
gapm
,
dcomplex
**
gappm
,
double
*
argi
,
double
*
args
,
double
**
gap
,
dcomplex
**
gapp
,
double
**
tqce
,
dcomplex
**
tqcpe
,
double
**
tqcs
,
dcomplex
**
tqcps
,
double
*
duk
,
fstream
&
tppoan
,
double
**
cextlr
,
double
**
cext
,
double
**
cmullr
,
double
**
cmul
,
double
*
gapv
,
double
*
tqev
,
double
*
tqsv
,
double
*
u
,
double
*
us
,
double
*
un
,
double
*
uns
,
double
*
up
,
double
*
ups
,
double
*
unmp
,
double
*
unsmp
,
double
*
upmp
,
double
*
upsmp
,
double
&
scan
,
double
&
cfmp
,
double
&
sfmp
,
double
&
cfsp
,
double
&
sfsp
,
double
sqsfi
,
dcomplex
arg
,
double
wn
,
double
vk
,
Logger
*
logger
)
{
{
int
nxi
=
sconf
->
number_of_scales
;
int
nxi
=
sconf
->
number_of_scales
;
logger
->
log
(
"INFO: running scale iteration "
+
to_string
(
jxi488
)
+
" of "
+
to_string
(
nxi
)
+
".
\n
"
);
logger
->
log
(
"INFO: running scale iteration "
+
to_string
(
jxi488
)
+
" of "
+
to_string
(
nxi
)
+
".
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment