Author |
Message |
Topic: If statement for multiples of an integer |
Kalashnikov
Replies: 3
Views: 9005
|
Forum: Plato Posted: Tue Apr 10, 2007 4:28 pm Subject: |
Thank you both very much. |
Topic: If statement for multiples of an integer |
Kalashnikov
Replies: 3
Views: 9005
|
Forum: Plato Posted: Tue Apr 10, 2007 12:08 pm Subject: If statement for multiples of an integer |
Hi
I was hoping someone could offer some advice with the following problem.
I have a loop which executes 8000 times and each time it does, it performs a necessary calculation. However I would li ... |
Topic: Problem calling a function |
Kalashnikov
Replies: 1
Views: 6736
|
Forum: Plato Posted: Mon May 29, 2006 8:34 am Subject: Problem calling a function |
Actually, I think I've now solved the problem.
I changed the header in both the function and its interface to REAL FUNCTION and it seems to be working.
Mikhail Kalashnikov |
Topic: Problem calling a function |
Kalashnikov
Replies: 1
Views: 6736
|
Forum: Plato Posted: Mon May 29, 2006 5:23 am Subject: Problem calling a function |
I'm having difficulty calling the following function:
FUNCTION determinant(jac)RESULT(det)
IMPLICIT NONE
INTEGER,PARAMETER::iwp=SELECTED_REAL_KIND(15)
REAL(iwp),INTENT(IN)::jac( ... |
Topic: Problem calling a subroutine |
Kalashnikov
Replies: 4
Views: 11195
|
Forum: Plato Posted: Mon May 29, 2006 4:40 am Subject: Problem calling a subroutine |
Of course! I should have spotted this.
Thank you very much again!
Mikhail Kalashnikov |
Topic: Problem calling a subroutine |
Kalashnikov
Replies: 4
Views: 11195
|
Forum: Plato Posted: Mon May 29, 2006 4:21 am Subject: Problem calling a subroutine |
Yes, I forgot to mention that after the array KDIAG was declared and allocated, and before it was passed into the routine FKDIAG, all entries were set to zero with the following line:
kdiag=0
In ... |
Topic: Problem calling a subroutine |
Kalashnikov
Replies: 4
Views: 11195
|
Forum: Plato Posted: Sat May 27, 2006 9:06 am Subject: Problem calling a subroutine |
Hi
Me again. Sorry.
Thanks for the advice thus far. Based on your last reply, I have provided interfaces for my subroutines which are passing "assumed shape" arrays and also routines w ... |
|