obtaining subgrains Id from specific grains #2243
Answered
by
ralfHielscher
louisMabon
asked this question in
Ask Anything
-
Beta Was this translation helpful? Give feedback.
Answered by
ralfHielscher
Oct 21, 2024
Replies: 2 comments 6 replies
-
Could you try to explain a little bit more in detail what you want to achieve? I do not understand what is a subgrain in your context and how you compute it. Ralf. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I try to understand your code. Alpha_sec_grain = G_a(condi);
Alpha_sec_grain_id = Alpha_sec_grain.id;
Alpha_Sec = grains(Alpha_sec_grain_id); What is the sense of these three lines of code. Will not |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I finally figured out what you want to achieve. I cleaned up your code a bit. The problem is that the last two lines are not MTEX syntax. Those you need to replace by
Your clean code ...