Something wrong of Miller calculation for HCP structure

19 views
Skip to first unread message

Ryan Stone

unread,
Aug 23, 2019, 4:45:19 AM8/23/19
to MTEX
Hi:
For MTEX 5.1.1., I have a HCP structure with lattice parameters a=2.664, c=4.9469.
Then if I run the code: vector3d(Miller(0,0,0,1, CS1, 'uvw'))
ans = vector3d (show methods, plot)
 size: 1 x 1
  x       y       z
  0       0 1.64897
This is wrong.

Then, if I run the code: vector3d(Miller(0,0,1, CS1, 'uvw'))
ans = vector3d (show methods, plot)
 size: 1 x 1
  x      y      z
  0      0 4.9469
This is right.

No such a problem for plane normals, but only for directions.
Is this a bug?

Ralf Hielscher

unread,
Aug 23, 2019, 8:37:03 AM8/23/19
to mtex...@googlegroups.com
Dear Ryan,

your first notation uses four digit Miller indices UVTW which relates to the 3 digit Miller indices by the formulae

U = 2*u - v, V = 2*v - u, T = - (u+v), W = 3*w

Hence [0001] is 1/3 of the length of [001]

Ralf.
--
If you want to reduce the number of emails you get through this forum login to https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mtexmail/3c04ea84-01ea-4082-9f24-4bef27eb164e%40googlegroups.com.


--
********************************************************************
Ralf Hielscher                   Tel: +371-531-38556
Fakultät für Mathematik               +371-531-22200 (Sekr.)
Technische Universität Chemnitz  Fax: +371-531-22109
Reichenhainer Str. 39            E-mail: ralf.hi...@mathematik.tu-chemnitz.de
D-09126 Chemnitz                 http://www.tu-chemnitz.de/~rahi
********************************************************************
Reply all
Reply to author
Forward
0 new messages