Skip to content

single crystals dir2 #155

Answered by tkittel
dddijulio asked this question in Q&A
Nov 23, 2023 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

Yeah, this is something I have wondered if I should make more obvious. Of course, the physics WILL depend on the secondary axis, even if you profess to not caring. The exception is materials like pyrolytic graphite (with lcbragg set), where the need to specify dir2 is truly just a nuisance.

But I also find myself mostly only caring about dir1, which is why the dirtol parameter exists.

So while you DO have to specify dir2, if you set "dirtol=180deg" you can put it to some nonsense (anything non-parallel) and get a more or less arbitrary direction for dir2.

Check "dirtol" on https://github.com/mctools/ncrystal/wiki/CfgRefDoc - the 180deg (ab)usage is noted there 🙂

Additionally, if you would…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@tkittel
Comment options

@XuShuqi7
Comment options

@tkittel
Comment options

@tkittel
Comment options

@XuShuqi7
Comment options

Answer selected by dddijulio
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants