Fortran style updates.

This commit is contained in:
Patrick Shriwise 2018-10-09 11:56:24 -05:00
parent 539b9c10ec
commit 52aeae2878
2 changed files with 8 additions and 8 deletions

View file

@ -26,13 +26,13 @@ module plot
integer, parameter :: BLUE = 3
interface
subroutine position_rgb(p, pl, rgb, id) bind(C)
import Particle, ObjectPlot, C_INT
type(Particle), intent(inout) :: p
type(ObjectPlot), intent(in) :: pl
integer(C_INT), intent(out) :: rgb(3)
integer(C_INT), intent(out) :: id
end subroutine position_rgb
subroutine position_rgb(p, pl, rgb, id) bind(C)
import Particle, ObjectPlot, C_INT
type(Particle), intent(inout) :: p
type(ObjectPlot), intent(in) :: pl
integer(C_INT), intent(out) :: rgb(3)
integer(C_INT), intent(out) :: id
end subroutine position_rgb
end interface
contains

View file

@ -33,7 +33,7 @@ module plot_header
type(ObjectColor) :: meshlines_color ! Color for meshlines
type(ObjectColor) :: not_found ! color for positions where no cell found
type(ObjectColor) :: colors(MAX_COORD) ! colors of cells/mats
character(MAX_WORD_LEN, kind=C_CHAR) :: path_plot ! path for plot file
character(MAX_WORD_LEN, kind=C_CHAR) :: path_plot ! path for plot file
end type ObjectPlot
! Plot type