Search found 3 matches
- Sun Jan 31, 2016 11:07 pm
- Forum: The CASINO program
- Topic: Something about ewald fortran code
- Replies: 4
- Views: 15472
Re: Something about ewald fortran code
Hi Yecheng, I remembered that Steve Lionel - otherwise known as Doctor Fortran - had a nice article on this sort of thing which has some further details: https://software.intel.com/en-us/blogs/2009/03/31/doctor-fortran-in-ive-come-here-for-an-argument Cheers, Mike Hi Mike, Nice to meet you again! I...
- Sun Jan 31, 2016 10:57 pm
- Forum: The CASINO program
- Topic: Something about ewald fortran code
- Replies: 4
- Views: 15472
Re: Something about ewald fortran code
Hi Yecheng, Referring to an element of a contiguous array is one way of passing array arguments in Fortran, which results in the called subroutine receiving the array starting at the element in question, not just the element. The call you quote is equivalent to: call ewald_2d(ie-1,vecji(1:4,1:ie-1)...
- Fri Jan 29, 2016 2:42 am
- Forum: The CASINO program
- Topic: Something about ewald fortran code
- Replies: 4
- Views: 15472
Something about ewald fortran code
Dear all, I am new here. I try to understand the CASINO code related to ewald summation, but I confused about one question. The demenstion of vecji in subroutine ewald_2d code and some called ewald_2d is different.: SUBROUTINE SUBROUTINE ewald_2d(n,vecji,pote,field) IMPLICIT NONE INTEGER,INTENT(in) ...