| 1 |
!----------------------------------------------------------------- |
| 2 |
! |
| 3 |
! This file is (or was) part of SPLASH, a visualisation tool |
| 4 |
! for Smoothed Particle Hydrodynamics written by Daniel Price: |
| 5 |
! |
| 6 |
! http://users.monash.edu.au/~dprice/splash |
| 7 |
! |
| 8 |
! SPLASH comes with ABSOLUTELY NO WARRANTY. |
| 9 |
! This is free software; and you are welcome to redistribute |
| 10 |
! it under the terms of the GNU General Public License |
| 11 |
! (see LICENSE file for details) and the provision that |
| 12 |
! this notice remains intact. If you modify this file, please |
| 13 |
! note section 2a) of the GPLv2 states that: |
| 14 |
! |
| 15 |
! a) You must cause the modified files to carry prominent notices |
| 16 |
! stating that you changed the files and the date of any change. |
| 17 |
! |
| 18 |
! Copyright (C) 2005-2014 Daniel Price. All rights reserved. |
| 19 |
! Contact: [email protected] |
| 20 |
! |
| 21 |
!----------------------------------------------------------------- |
| 22 |
|
| 23 |
!--------------------------------------------------------------------------- |
| 24 |
! The mocking plotlib module to fake a real plotting module behaviour |
| 25 |
! in external libraries (libexact) |
| 26 |
!--------------------------------------------------------------------------- |
| 27 |
module plotlib |
| 28 |
implicit none |
| 29 |
public |
| 30 |
|
| 31 |
contains |
| 32 |
|
| 33 |
subroutine plot_pt1(R1,R2,I) |
| 34 |
real :: R1, R2 |
| 35 |
integer :: I |
| 36 |
end subroutine |
| 37 |
|
| 38 |
subroutine plot_swin(R1,R2,R3,R4) |
| 39 |
real :: R1, R2, R3, R4 |
| 40 |
end subroutine |
| 41 |
|
| 42 |
subroutine plot_box(S1,R1,I1,S2,R2,I2) |
| 43 |
real :: R1, R2 |
| 44 |
integer :: I1, I2 |
| 45 |
character(len=*) :: S1, S2 |
| 46 |
end subroutine |
| 47 |
|
| 48 |
subroutine plot_funx(F1,I1,R1,R2,I2) |
| 49 |
real :: R1, R2, F1 |
| 50 |
integer :: I1, I2 |
| 51 |
external F1 |
| 52 |
end subroutine |
| 53 |
|
| 54 |
subroutine plot_label (S1,S2,S3) |
| 55 |
character(len=*) :: S1, S2, S3 |
| 56 |
end subroutine |
| 57 |
|
| 58 |
subroutine plot_line(I,R1,R2) |
| 59 |
real :: R1(:), R2(:) |
| 60 |
integer :: I |
| 61 |
end subroutine |
| 62 |
|
| 63 |
end module plotlib |