Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TracerTransportSoftware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Behrens, Prof. Dr. Jörn
TracerTransportSoftware
Commits
bef1078b
Commit
bef1078b
authored
3 years ago
by
Behrens, Prof. Dr. Jörn
Browse files
Options
Downloads
Patches
Plain Diff
bug fixed in stacked VTU cell output
parent
1b1d7198
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
flash2d/src/options-sphere/IO_vtu_stacked.F90
+7
-7
7 additions, 7 deletions
flash2d/src/options-sphere/IO_vtu_stacked.F90
with
7 additions
and
7 deletions
flash2d/src/options-sphere/IO_vtu_stacked.F90
+
7
−
7
View file @
bef1078b
...
...
@@ -441,12 +441,11 @@ SUBROUTINE plot_vtu(p_mesh, c_filename, &
END
IF
! Write the variable belonging to the tetradra.
#if defined VTU_OUTPUT2D || defined VTU_OUTPUTSPH || defined VTU_OUTPUT2D
IF
(
PRESENT
(
i_celldata
)
.AND.
PRESENT
(
p_celldata
))
THEN
#if defined VTU_OUTPUT2D || defined VTU_OUTPUTSPH || defined VTU_OUTPUT2D
DO
i_cnt
=
1
,
i_celldata
CALL
write_vtu_data
(
i_fhandle
,
p_celldata
(
i_cnt
))
END
DO
END
IF
#elif defined VTU_OUTPUTSTC
! at this time we assign the same cell values to the whole column of stacked cells
ALLOCATE
(
r_stcval
(
1
,
i_numberofvtucells
),
stat
=
i_alct
)
...
...
@@ -463,10 +462,11 @@ SUBROUTINE plot_vtu(p_mesh, c_filename, &
p_stcnodedata
(
1
)
%
c_name
=
p_celldata
(
i_cnt
)
%
c_name
p_stcnodedata
(
1
)
%
i_size
=
p_celldata
(
i_cnt
)
%
i_size
p_stcnodedata
(
1
)
%
p_vdata
=>
r_stcval
CALL
write_vtu_data
(
i_fhandle
,
p_
celldata
(
i_cnt
))
CALL
write_vtu_data
(
i_fhandle
,
p_
stcnodedata
(
1
))
END
DO
DEALLOCATE
(
r_stcval
)
#endif
END
IF
! write the end of cell data and the footer.
WRITE
(
i_fhandle
,
*
)
'</CellData>'
...
...
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