Skip to content

BoutMesh throws error if ShiftAngle not found#216

Merged
bendudson merged 1 commit intomasterfrom
shiftangle
Aug 23, 2016
Merged

BoutMesh throws error if ShiftAngle not found#216
bendudson merged 1 commit intomasterfrom
shiftangle

Conversation

@bendudson
Copy link
Contributor

If MYG > 0 and TwistShift=true, so ShiftAngle is used, then ShiftAngle
should be defined. Previously it was calculated from zShift
and a warning was printed, but this could be easily missed.

Now an error is thrown unless the options shiftangle_from_zshift
is set to true (in [mesh] section).

This fixes issue #214

If MYG > 0 and TwistShift=true, so ShiftAngle is used, then ShiftAngle
should be defined. Previously it was calculated from zShift
and a warning was printed, but this could be easily missed.

Now an error is thrown unless the options shiftangle_from_zshift
is set to true (in [mesh] section).
@bendudson bendudson merged commit c95e3eb into master Aug 23, 2016
@bendudson bendudson deleted the shiftangle branch August 23, 2016 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant