Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
8320bcaf
Commit
8320bcaf
authored
Oct 05, 2011
by
Jon Woodring
Browse files
Compiler warnings.
Change-Id: I451e6c8dbcedd0b0065d128470c0b85998d95876
parent
c04bf965
Changes
1
Hide whitespace changes
Inline
Side-by-side
Parallel/vtkWindBladeReader.cxx
View file @
8320bcaf
...
...
@@ -2143,12 +2143,11 @@ void vtkWindBladeReader::LoadBladeData(int timeStep)
// start from a valid index
if
(
turbineID
!=
lastTurbineID
)
{
bladeComponentCount
=
compBlock
[
indx
-
1
];
bladeComponentCount
=
(
int
)
compBlock
[
indx
-
1
];
lastTurbineID
=
turbineID
;
}
// turbineID start from 1, but float array starts from 0
float
angularVelocity
=
this
->
AngularVeloc
->
GetTuple1
(
turbineID
-
1
);
float
lengthOfBlade
=
this
->
BladeLength
->
GetTuple1
(
turbineID
-
1
);
// where blades connect to
hubPnt
[
0
]
=
this
->
XPosition
->
GetValue
(
turbineID
-
1
);
hubPnt
[
1
]
=
this
->
YPosition
->
GetValue
(
turbineID
-
1
);
...
...
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