replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Function DFLOTJ.
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Function DFLOTJ.

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Jim



Joined: 21 Jul 2006
Posts: 24
Location: USA

PostPosted: Tue Feb 01, 2011 8:03 pm    Post subject: Function DFLOTJ. Reply with quote

I came across the function DFLOTJ in some code and did a web search where this intrinsic function performs conversion from one data type to another, i.e. DFLOTJ converts INTEGER*4 to REAL*8.

I am getting "Error 29, call to missing routine: _DFLOTJ". Here's the code which uses DFLOTJ.

NP = 11
NL = 10
NN = 2
NP1 = NP-1
NP2 = NP+1
DL = 2.00D0/DFLOTJ(NL)
NML2 = NL/2
IR = NML2+1
ETA(IR) = 0.00
DO 10 I=1,NML2
L = I+IR
M = IR-I
ETA(L) = I*DL
ETA(M) =-I*DL
10 CONTINUE
NMP1 = NUMNP - 1
NMP2 = NUMNP+1
IF(NEN.EQ.2) GO TO 20
DL = 1.0D00/DFLOTJ(NMP1)
DO 30 I=1,NUMNP,2
RS = I-1
SR = NUMEL
ZTA(I) = DSQRT(RS/SR)
30 CONTINUE
DO 40 I=2,NMP1,2
ZTA(I) = (ZTA(I+1) + ZTA(I-1))/2.0D 00
40 CONTINUE
GO TO 50
20 CONTINUE
DO 60 I=1,NUMNP
RS = I-1
ZTA(I) = RS/DFLOTJ(NUMEL)

Sad
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2402
Location: Yateley, Hants, UK

PostPosted: Tue Feb 01, 2011 9:07 pm    Post subject: Reply with quote

Jim,

Use the intrinsic function DFLOAT. You might get away with FLOAT - or even just use mixed type in the statement and let FTN95 sort it out ....

Eddie
Back to top
View user's profile Send private message
Jim



Joined: 21 Jul 2006
Posts: 24
Location: USA

PostPosted: Tue Feb 01, 2011 11:35 pm    Post subject: Reply with quote

Thanks! That worked.

Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group