Skip to content

fixed hardcoded array shifting to change depending on ni_chord, so as to avoid...

Kristian Ebstrup Jacobsen requested to merge bugfix_rootcap into master

A hard-coded value of 32 is used for shifting the tip_con array in the RootCap class to ensure that the RootCap blocks are able to be joined to the main surface. This value of 32 coincides with ni_chord = 257, and currently the meshing will fail when ni_chord is different from 257 and using a RootCap.

The value should instead be related to the block size, which in turn is based on ni_chord. This fix effectively changes the hard-coded shifting to shifting based on bsize instead.

Merge request reports