Skip to content

if_else_lamellar #639

Answered by rquey
kittygg asked this question in Q&A
Jan 9, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You have to proceed in 2 steps:

  1. Generate the 1st-scale tessellation and export the cell diameq values.
  2. Write a multiscale cell file based on the diameq to specify the morphology at scale 2 in a second run.
neper -T -n 100 -morpho gg -dim 2 -statcell diameq -o 1scale
awk '{if ($1<0.15) print NR,"diameq:1"; else print NR,"lamellar(w=0.05)"}' 1scale.stcell > scale2
neper -T -n 100::from_morpho -morpho "gg::msfile(scale2)" -dim 2 -o 2scale
neper -V 2scale.tess -datacellcol "scaleid(1)" -dataedgerad 0.002 -print 2scale

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kittygg
Comment options

@kittygg
Comment options

Comment options

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