mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Change printing of basis for plotting mode.
This commit is contained in:
parent
f84615e755
commit
e34d8383ef
2 changed files with 15 additions and 9 deletions
|
|
@ -1313,7 +1313,14 @@ contains
|
|||
write(ou,100) "Width:", trim(to_str(pl % width(1))) // &
|
||||
" " // trim(to_str(pl % width(2)))
|
||||
write(ou,100) "Coloring:", trim(to_str(pl % color_by))
|
||||
write(ou,100) "Basis:", trim(to_str(pl % basis))
|
||||
select case (pl % basis)
|
||||
case (PLOT_BASIS_XY)
|
||||
write(ou,100) "Basis:", "xy"
|
||||
case (PLOT_BASIS_XZ)
|
||||
write(ou,100) "Basis:", "xz"
|
||||
case (PLOT_BASIS_YZ)
|
||||
write(ou,100) "Basis:", "yz"
|
||||
end select
|
||||
write(ou,100) "Pixels:", trim(to_str(pl % pixels(1))) // " " // &
|
||||
trim(to_str(pl % pixels(2)))
|
||||
end if
|
||||
|
|
|
|||
|
|
@ -29,15 +29,14 @@ module plot_header
|
|||
type(ObjectColor), allocatable :: colors(:) ! colors of cells/mats
|
||||
end type Plot
|
||||
|
||||
integer :: PLOT_TYPE_SLICE = 1
|
||||
integer :: PLOT_TYPE_POINTS = 2
|
||||
integer, parameter :: PLOT_TYPE_SLICE = 1
|
||||
integer, parameter :: PLOT_TYPE_POINTS = 2
|
||||
|
||||
integer :: PLOT_BASIS_XY = 1
|
||||
integer :: PLOT_BASIS_XZ = 2
|
||||
integer :: PLOT_BASIS_YZ = 3
|
||||
|
||||
integer :: PLOT_COLOR_CELLS = 1
|
||||
integer :: PLOT_COLOR_MATS = 2
|
||||
integer, parameter :: PLOT_BASIS_XY = 1
|
||||
integer, parameter :: PLOT_BASIS_XZ = 2
|
||||
integer, parameter :: PLOT_BASIS_YZ = 3
|
||||
|
||||
integer, parameter :: PLOT_COLOR_CELLS = 1
|
||||
integer, parameter :: PLOT_COLOR_MATS = 2
|
||||
|
||||
end module plot_header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue