Skip to content

Combination of options aspratio and morpho #196

Answered by rquey
MarcJos asked this question in Q&A
Discussion options

You must be logged in to vote

-morpho aspratio defines the aspect ratio of the cells. It is used independently of -morpho diameq. The aspect ratios are indeed normalized so that the 3 values multiply to 1 (they are ratios...). The method to get the expected aspect ratios for the cells is to 1/ apply the inverse transformation to the domain, 2/ generate the tessellation into equiaxed cells (as usual) and 3/ apply the aspect-ratio transformation to the whole tessellation. In this way, the domain is as expected and the cells have the expected aspect ratios.

For example, if the domain is the usual unit cube and the aspect ratios are 2:1:0.5, the domain is first scaled to a cube of dimensions 0.5 x 1 x 2, the tessellation …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rquey
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
2 participants