<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Robert,<br>
<br>
You are correct, one_dim_axis is not needed when dist_cutoff_mode is
three_dim. This was a "feature" that was first pointed out to us by
Philipp Wissgott and will be fixed in the next release of the code
(which will hopefully be soon). <br>
<br>
For now, you can replace the line in parameters.F90 that reads<br>
<pre> if ( bands_plot.and.(index(bands_plot_mode,'cut').ne.0).and.(one_dim_dir.eq.0) ) &
call io_error('Error: one_dim_axis not recognised')
<font face="Calibri"><big>with
</big></font> if ( bands_plot.and.(index(bands_plot_mode,'cut').ne.0)&
& .and.((bands_plot_dim.ne.3).or.(index(dist_cutoff_mode,'three_dim').eq.0))&
& .and.(one_dim_dir.eq.0) ) &
call io_error('Error: one_dim_axis not recognised')
</pre>
If you do supply a one_dim_axis, the distance used for the cutoff
will be a projected distance along the specified axis.<br>
<br>
Best wishes,<br>
<br>
Arash<br>
<blockquote cite="mid:4D7A7511.9050500@phys.lsu.edu" type="cite">
<pre wrap="">--
Dr Arash A Mostofi
Senior Lecturer and RCUK Fellow
Depts of Materials & Physics
Imperial College London
London SW7 2AZ, United Kingdom
T +44 (0)207 594 8154
F +44 (0)207 594 6757
E <a class="moz-txt-link-abbreviated" href="mailto:a.mostofi@imperial.ac.uk">a.mostofi@imperial.ac.uk</a>
W <a class="moz-txt-link-freetext" href="http://www.cmth.ph.ic.ac.uk/people/a.mostofi">http://www.cmth.ph.ic.ac.uk/people/a.mostofi</a>
</pre>
</blockquote>
<br>
<blockquote cite="mid:4D7A7511.9050500@phys.lsu.edu" type="cite">
<pre wrap="">All,
I'm trying to use the dist_cutoff option with a dist_cutoff_mode of
three_dim, but wannier90 (v 1.2) gives me the error "Error: one_dim_axis
not recognised" because I have not specified one. According to the
user_guide, one_dim_axis is not used when the dis_cutoff_mode is
three_dim. But, with bands_plot and bands_plot_mode=cut, the code in
parameters.F90 (line 652) requires it. With a cut off mode of
three_dim, is the axis required by the rest of the code? A quick search
does not seem to indicate that it is so, but I have not looked very
closely. Also, if I supply a value for one_dim_axis, how will it affect
my results?
Thanks,
Rob Collyer
_______________________________________________
Wannier mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wannier@quantum-espresso.org">Wannier@quantum-espresso.org</a>
<a class="moz-txt-link-freetext" href="http://www.democritos.it/mailman/listinfo/wannier">http://www.democritos.it/mailman/listinfo/wannier</a>
</pre>
</blockquote>
</body>
</html>