used only by MARC/Abaqus
This commit is contained in:
parent
78344c01ac
commit
02fef16b38
31
src/IO.f90
31
src/IO.f90
|
@ -69,21 +69,6 @@ subroutine IO_init
|
||||||
end subroutine IO_init
|
end subroutine IO_init
|
||||||
|
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
|
||||||
!> @brief reads a line from a text file.
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
|
||||||
function IO_read(fileUnit) result(line)
|
|
||||||
|
|
||||||
integer, intent(in) :: fileUnit !< file unit
|
|
||||||
|
|
||||||
character(len=pStringLen) :: line
|
|
||||||
|
|
||||||
|
|
||||||
read(fileUnit,'(a256)',END=100) line
|
|
||||||
|
|
||||||
100 end function IO_read
|
|
||||||
|
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
!> @brief reads an entire ASCII file into an array
|
!> @brief reads an entire ASCII file into an array
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
|
@ -941,6 +926,22 @@ end subroutine IO_warning
|
||||||
|
|
||||||
#if defined(Abaqus) || defined(Marc4DAMASK)
|
#if defined(Abaqus) || defined(Marc4DAMASK)
|
||||||
|
|
||||||
|
|
||||||
|
!--------------------------------------------------------------------------------------------------
|
||||||
|
!> @brief reads a line from a text file.
|
||||||
|
!--------------------------------------------------------------------------------------------------
|
||||||
|
function IO_read(fileUnit) result(line)
|
||||||
|
|
||||||
|
integer, intent(in) :: fileUnit !< file unit
|
||||||
|
|
||||||
|
character(len=pStringLen) :: line
|
||||||
|
|
||||||
|
|
||||||
|
read(fileUnit,'(a256)',END=100) line
|
||||||
|
|
||||||
|
100 end function IO_read
|
||||||
|
|
||||||
|
|
||||||
#ifdef Abaqus
|
#ifdef Abaqus
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
!> @brief extracts string value from key=value pair and check whether key matches
|
!> @brief extracts string value from key=value pair and check whether key matches
|
||||||
|
|
Loading…
Reference in New Issue