TLUSTY/new/tlusty/modules/impli_module.f90

18 lines
568 B
Fortran
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

MODULE impli_module
!==============================================================================
! TLUSTY 隐式类型声明模块
! 原始文件IMPLIC.FOR
!
! 此模块定义双精度类型别名,用于替代原始的 IMPLICIT REAL*8 声明
!==============================================================================
IMPLICIT NONE
! 定义双精度类型别名
INTEGER, PARAMETER :: dp = KIND(1.0D0)
! 定义逻辑类型别名(对应原 LOGICAL*1
INTEGER, PARAMETER :: log1 = KIND(.TRUE.)
END MODULE impli_module