Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise 3rd-order LMM's step size condition for starting values. #532

Merged
merged 2 commits into from
Nov 24, 2015

Conversation

hadjimy
Copy link
Member

@hadjimy hadjimy commented Nov 22, 2015

This is small fix to step size selection for 3rd order LMMs. Basically it allows bigger step sizes to be taken for starting values, unless the additional step size restrictions for 3rd order methods are violated.

@@ -204,8 +205,7 @@ def setup(self,solution):
self.num_ghost = (self.weno_order+1)/2

if self.lim_type == 2 and self.weno_order != 5 and self.kernel_language == 'Python':
raise Exception('Only 5th-order WENO reconstruction is implemented in Python kernels. \
Use Fortran for higher-order WENO.')
raise Exception('Only 5th-order WENO reconstruction is implemented in Python kernels. Use Fortran for higher-order WENO.')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this pull request should change this message.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

ketch added a commit that referenced this pull request Nov 24, 2015
Revise 3rd-order LMM's step size condition for starting values.
@ketch ketch merged commit 73a5b56 into clawpack:master Nov 24, 2015
@ketch ketch removed the in progress label Nov 24, 2015
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.

None yet

2 participants