Page 1 of 1

nglobal

Posted: Wed Sep 14, 2016 7:44 pm
by dingpan
Hi Francois,

In my calculation, I need to access certain states.
In the source code, there are two equivalent methods:

1) In "SlaterDet::compute_density"
const int nn = ctxt_.mycol() * c_.nb() + n;

2) In "MDWavefunctionStepper::ekin_eh"
const int nglobal = sd->c().j(0,n);

It seems along a process row, each process has only one block.
Is it right?
Thank you!

Best regards,
Ding

Re: nglobal

Posted: Tue Sep 20, 2016 7:23 pm
by fgygi
Hi Ding,
Yes, this is correct, there is only one block per process.
Francois