forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Josef Zwanziger <jzwanzig@gmail.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] Reading binary data. What is the cplex variable?
- Date: Thu, 4 Jun 2009 07:10:07 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xadB+W2+13oD613qNF+UuuThJ5ehmCsyxftVZ0ZWWIfX8WsozO+/CSETpLrFL1U2LI LAJF6ng3nEzO9DW/zaOH95NNbzAD6+GGkJEhQ+0aox6Fup81HWNsai4L8ndcBgzuaQX/ qJjb4LftJ1EE+ZEm1nD1P5RZPlY6W+xnv0vQ0=
Hi,
in GS calculations, cplex = 1. In response function calculations
(non-zero pertcase), cplex = 1 at the gamma point (qpt=(0,0,0)) and
cplex = 2 if qpt/=(0,0,0).
Joe
On Wed, Jun 3, 2009 at 12:18 AM, Rob <spamrefuse@yahoo.com> wrote:
>
>
> Hi,
>
> Every binary file has a header, which has most of the relevant information
> of the
> data that follows.
>
> There is one misterious variable that is relevant, but is not part of the
> binary file:
> it's the "cplex" variable. Its relevant to the data that follows the header.
>
> I assume it's an integer, which can be 0, 1, or 2, depending on whether you
> do
> a GS, or RF calculation.
>
> However, how can one find out about this variable, while reading the binary
> file?
> For now, I just hard code it to be always 1....
>
> Ah, well, indirectly one can find out about cplex. For example, the
> variable "pertcase"
> is always zero for a GS calculation (I presume it's non-zero otherwise).
> But then if cplex is not zero, how can I find out from the binary file?
>
> If someone knows more about this cplex variable, please let me know.
>
> Thanks!
> Rob.
>
> PS: The on-line documentation on the binary header uses "rhoij" and "rhoijp"
> for one and the same variable (see the write instruction and declaration
> insets).
> This is somewhat confusing.
>
>
>
>
--
Josef W. Zwanziger
Professor of Chemistry
Canada Research Chair in NMR Studies of Materials
Director, Nuclear Magnetic Resonance Research Resource (NMR-3)
Dalhousie University
Halifax, NS B3H 4J3 Canada
tel: +1 (902) 494-1960
fax: +1 (902) 494-1867
web: http://jwz.chem.dal.ca
jzwanzig@gmail.com, jzwanzig@dal.ca
- [abinit-forum] Reading binary data. What is the cplex variable?, Rob, 06/03/2009
- Re: [abinit-forum] Reading binary data. What is the cplex variable?, Josef Zwanziger, 06/04/2009
Archive powered by MHonArc 2.6.15.