MsSpec-DFM/New_libraries/DFM_library/CALCULATORS_LIBRARY/call_calc_8.f90

51 lines
1.2 KiB
Fortran
Raw Normal View History

2022-02-02 16:19:10 +01:00
!
!=======================================================================
!
MODULE CALL_CALC_8
!
USE ACCURACY_REAL
USE CALCULATORS_8
USE OUT_VALUES_8
!
! This module calls the subroutines of calculator 8 whenever necessary
!
CONTAINS
!
!=======================================================================
!
SUBROUTINE USE_CALC_8(X)
!
!
!
! Input parameters:
!
! * X : dimensionless factor --> X = q / (2 * k_F)
!
!
!
!
! Author : D. Sébilleau
!
! Last modified : 23 Oct 2020
!
!
IMPLICIT NONE
!
REAL (WP) :: X
!
! Computing the shear viscosity
!
IF(I_VI == 1) THEN !
CALL CALC_VIS(X) !
END IF !
!
! Computing the diffusion coefficient
!
IF(I_DI == 1) THEN !
CALL CALC_DIF !
END IF !
!
END SUBROUTINE USE_CALC_8
!
END MODULE CALL_CALC_8