fixed new IO_stringPos for Abaqus
This commit is contained in:
parent
dad0fdfb85
commit
7d996cfa11
|
@ -1428,7 +1428,7 @@ function IO_continuousIntValues(fileUnit,maxN,lookupName,lookupMap,lookupMaxN)
|
||||||
read(fileUnit,'(A65536)',end=100) line
|
read(fileUnit,'(A65536)',end=100) line
|
||||||
chunkPos = IO_stringPos(line)
|
chunkPos = IO_stringPos(line)
|
||||||
if (verify(IO_stringValue(line,chunkPos,1_pInt),'0123456789') > 0) then ! a non-int, i.e. set names follow on this line
|
if (verify(IO_stringValue(line,chunkPos,1_pInt),'0123456789') > 0) then ! a non-int, i.e. set names follow on this line
|
||||||
do i = 1_pInt,myChunk(1) ! loop over set names in line
|
do i = 1_pInt,chunkPos(1) ! loop over set names in line
|
||||||
do j = 1_pInt,lookupMaxN ! look through known set names
|
do j = 1_pInt,lookupMaxN ! look through known set names
|
||||||
if (IO_stringValue(line,chunkPos,i) == lookupName(j)) then ! found matching name
|
if (IO_stringValue(line,chunkPos,i) == lookupName(j)) then ! found matching name
|
||||||
first = 2_pInt + IO_continuousIntValues(1) ! where to start appending data
|
first = 2_pInt + IO_continuousIntValues(1) ! where to start appending data
|
||||||
|
@ -1446,7 +1446,7 @@ function IO_continuousIntValues(fileUnit,maxN,lookupName,lookupMap,lookupMaxN)
|
||||||
IO_continuousIntValues(1+IO_continuousIntValues(1)) = i
|
IO_continuousIntValues(1+IO_continuousIntValues(1)) = i
|
||||||
enddo
|
enddo
|
||||||
else ! read individual elem nums
|
else ! read individual elem nums
|
||||||
do i = 1_pInt,myChunk(1)
|
do i = 1_pInt,chunkPos(1)
|
||||||
IO_continuousIntValues(1) = IO_continuousIntValues(1) + 1_pInt
|
IO_continuousIntValues(1) = IO_continuousIntValues(1) + 1_pInt
|
||||||
IO_continuousIntValues(1+IO_continuousIntValues(1)) = IO_intValue(line,chunkPos,i)
|
IO_continuousIntValues(1+IO_continuousIntValues(1)) = IO_intValue(line,chunkPos,i)
|
||||||
enddo
|
enddo
|
||||||
|
|
|
@ -33,7 +33,7 @@ fortCmd = "ifort"
|
||||||
compile_fortran = (fortCmd + " -c -fPIC -auto -shared-intel " +
|
compile_fortran = (fortCmd + " -c -fPIC -auto -shared-intel " +
|
||||||
"-I%I -I../lib -free -O1 -fpp -openmp " +
|
"-I%I -I../lib -free -O1 -fpp -openmp " +
|
||||||
"-ftz -diag-disable 5268 " +
|
"-ftz -diag-disable 5268 " +
|
||||||
"-implicitnone -assume byterecl " +
|
"-implicitnone -assume byterecl -stand f08 -standard-semantics " +
|
||||||
"-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4")
|
"-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4")
|
||||||
|
|
||||||
# Abaqus/CAE will generate an input file without parts and assemblies.
|
# Abaqus/CAE will generate an input file without parts and assemblies.
|
||||||
|
|
|
@ -36,7 +36,7 @@ fortCmd = "ifort"
|
||||||
compile_fortran = (fortCmd + " -c -fPIC -auto -shared-intel " +
|
compile_fortran = (fortCmd + " -c -fPIC -auto -shared-intel " +
|
||||||
"-I%I -I../lib -free -O1 -fpp " +
|
"-I%I -I../lib -free -O1 -fpp " +
|
||||||
"-ftz -diag-disable 5268 " +
|
"-ftz -diag-disable 5268 " +
|
||||||
"-implicitnone -assume byterecl " +
|
"-implicitnone -assume byterecl -stand f08 -standard-semantics " +
|
||||||
"-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4")
|
"-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4")
|
||||||
|
|
||||||
# Abaqus/CAE will generate an input file without parts and assemblies.
|
# Abaqus/CAE will generate an input file without parts and assemblies.
|
||||||
|
|
Loading…
Reference in New Issue