-
When using single crystals, we always need to specify dir1 and dir2 What if I don't care about the secondary orientation? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
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 But I also find myself mostly only caring about 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 like to somehow get physics representing an average over all choices of Finally, I have considered in the past if we should make this simpler by supporting |
Beta Was this translation helpful? Give feedback.
-
Opened #156 related to this. |
Beta Was this translation helpful? Give feedback.
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 thedirtol
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…