Dear all,
I am creating a user element and I want to print some information while executing an input file in feap. In several postings there is the hint to use 'mprint', but either I am using it totaly wrong, or it does not work in my installed feap.
What I did:
I included the debugs.h in my user element fortran code.
I declared a real*8 named testoutput(3,3).
I placed
testoutput(1,1)=1.0;
testoutput(2,1)=2.0;
testoutput(3,1)=3.0;
testoutput(1,2)=4.0;
testoutput(2,2)=5.0;
testoutput(3,2)=6.0;
testoutput(1,3)=7.0;
testoutput(2,3)=8.0;
testoutput(3,3)=9.0;
if(debug) then
call mprint(testoutput,3,3,3,'S_element')
print *, 'testoutputaaaaaaaaaaaaaaaaaaa'
write(*,*) 'tessssssssssssssst'
endif
in several places in my code. For example at the end of the isw=3 option and additional right after declaring all the variables. (I also tested the example of Prof Taylor in another thread with 'real*8 c(6,7)' and 'call mprint(c,6,7,6,'C")' )
I used 'make' to re-implement my user element in the correct directory withour any errors.
My input file ends with:
(...)
END !end of data input
order
1
BATCh
debug
DT,,0.05
tran,back
LOOP,,6
LOOP,,5
TIME
TANG,,1
NEXT
PLOT,RANG,0.1,0.9
PLOT,WIPE
PLOT,CONT,1 ! Temperature contours
NEXT
END
inte
stop
After running my feap input file in a unix shell there is additional information, but the things that i want to output are missing. I also took a look at the logfile and the outputfile in the directory of the input file to look for some outputs that i thought to create.
I am using feap 8.4 with gcc on ubuntu 14.04
What do I do wrong?