Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
cdo
Commits
505f58ca
Commit
505f58ca
authored
6 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused variable len.
parent
151c4e6a
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/fieldccplx.cc
+0
-4
0 additions, 4 deletions
src/fieldccplx.cc
with
0 additions
and
4 deletions
src/fieldccplx.cc
+
0
−
4
View file @
505f58ca
...
...
@@ -30,7 +30,6 @@ farcmulcplx(Field *field, const double rconst[2])
if
(
nwpv
!=
2
)
nwpv
=
1
;
size_t
gridsize
=
gridInqSize
(
grid
);
size_t
len
=
nwpv
*
gridInqSize
(
grid
);
// z1 x z2 = (x1x2 - y1y2) + i(x1y2 + x2y1)
for
(
size_t
i
=
0
;
i
<
gridsize
;
i
++
)
...
...
@@ -54,7 +53,6 @@ farcdivcplx(Field *field, const double rconst[2])
if
(
nwpv
!=
2
)
nwpv
=
1
;
size_t
gridsize
=
gridInqSize
(
grid
);
size_t
len
=
nwpv
*
gridInqSize
(
grid
);
// z1 / z2 = (x1x2 + y1y2) / (x2x2 + y2y2) + i (y1x2 - x1y2) / (x2x2 + y2y2)
for
(
size_t
i
=
0
;
i
<
gridsize
;
i
++
)
...
...
@@ -79,7 +77,6 @@ farcaddcplx(Field *field, const double rconst[2])
if
(
nwpv
!=
2
)
nwpv
=
1
;
size_t
gridsize
=
gridInqSize
(
grid
);
size_t
len
=
nwpv
*
gridInqSize
(
grid
);
for
(
size_t
i
=
0
;
i
<
gridsize
;
i
++
)
{
...
...
@@ -100,7 +97,6 @@ farcsubcplx(Field *field, const double rconst[2])
if
(
nwpv
!=
2
)
nwpv
=
1
;
size_t
gridsize
=
gridInqSize
(
grid
);
size_t
len
=
nwpv
*
gridInqSize
(
grid
);
for
(
size_t
i
=
0
;
i
<
gridsize
;
i
++
)
{
...
...
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