forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Rob <spamrefuse@yahoo.com>
- To: abinit <forum@abinit.org>
- Subject: [abinit-forum] Reading header of binary file: Fortran code question...
- Date: Tue, 2 Jun 2009 01:24:25 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=LoXBEyfqgwG5sBLjLxDLEvI9X2oHad65MtSQuH8EK/5uMM3KzcThtc+HQzr4D7EiL7ZXoGbNhXjNs8Cc7sHh7kasLzmL2NtZ4YmdsaDJ8af3gGCgqYUpaPwylURfNprT+N5HWjbyETp4s0Bo6wVs8sQGzv4ZlYWX+8h6Xp36GcI=;
Hi,
I'm not a fortran code expert (I use C and C++), but I'll get by with my
"common sense". However, the following snippet from the abinit help
documentation looks a bit bizar to me. Can someone explain?
write(unit=unit)(pawrhoij(iatom)%nrhoijsel(1:nspden),iatom=1,natom)
write(unit=unit)((pawrhoij(iatom)%rhoijselect(1:nrhoijsel(ispden),ispden),ispden=1,nspden),iatom=1,natom),&
& ((pawrhoij(iatom)%rhoijp
(1:nrhoijsel(ispden),ispden),ispden=1,nspden),iatom=1,natom)
Especially the sections arount the "%" is difficult for me to understand what
it means.
Rob.
- [abinit-forum] Reading header of binary file: Fortran code question..., Rob, 06/02/2009
- Re: [abinit-forum] Reading header of binary file: Fortran code question..., Anglade Pierre-Matthieu, 06/02/2009
Archive powered by MHonArc 2.6.15.