Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Scott Wittenburg
VTK
Commits
826262a8
Commit
826262a8
authored
Dec 23, 2013
by
Utkarsh Ayachit
⛰
Committed by
Code Review
Dec 23, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge topic 'fix_mfix_reader' into master
f6c0f71c
Fixes issue with MFix reader and timesteps.
parents
00e86e74
f6c0f71c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
IO/Geometry/vtkMFIXReader.cxx
IO/Geometry/vtkMFIXReader.cxx
+2
-2
No files found.
IO/Geometry/vtkMFIXReader.cxx
View file @
826262a8
...
...
@@ -2048,7 +2048,7 @@ void vtkMFIXReader::GetTimeSteps()
case
7
:
{
numberOfVariables
=
this
->
NMax
->
GetValue
(
0
);
for
(
int
m
=
0
;
m
<=
this
->
MMAX
;
++
m
)
for
(
int
m
=
1
;
m
<=
this
->
MMAX
;
++
m
)
{
numberOfVariables
+=
this
->
NMax
->
GetValue
(
m
);
}
...
...
@@ -2243,7 +2243,7 @@ void vtkMFIXReader::GetNumberOfVariablesInSPXFiles()
int
skip
=
0
;
for
(
int
j
=
1
;
j
<
this
->
NumberOfSPXFilesUsed
;
j
++
)
{
for
(
int
i
=
0
;
i
<
this
->
VariableNames
->
GetMaxId
()
+
1
;
i
++
)
for
(
int
i
=
0
;
i
<
=
this
->
VariableNames
->
GetMaxId
();
i
++
)
{
if
((
this
->
VariableIndexToSPX
->
GetValue
(
i
)
==
j
)
&&
(
this
->
VariableComponents
->
GetValue
(
i
)
==
1
))
...
...
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