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

Euler 3D examples with a test #444

Merged
merged 11 commits into from
Jul 24, 2014
Merged

Conversation

ketch
Copy link
Member

@ketch ketch commented Jul 17, 2014

This is work by @weslowrie (see #430, which this replaces). It includes:

  • Two 3D Euler examples: Sedov and shocktube
  • A test of the Sedov problem using HDF5.

I made one important change to the Sedov problem setup: it now initializes using cell averages, rather than just checking whether the cell center is inside the initial radius.

weslowrie and others added 7 commits July 3, 2014 16:24
Example script for the 3D Euler equations with dimensional splitting.
This example solves a 1D shocktube problem in a 3D domain.
This is an example script for the 3D Euler equations with dimensional splitting.
A fully 3D Sedov blast problem is solved.
Made formatting changes to make code more readable.
Added an argument to switch between split and unsplit methods, so that this example can be used with the rpt3_euler.f90 and rptt3_euler.f90 files that were recently edited.
Modified code to make it more readable.
* master:
  Add Travis badge to README.
  Add coverage badge to README.
  Update README.md
  Change path for logging configuration
  Remove petclaw's log.config file
  First attempt to use coveralls.io.
  hdf5 reader working (barely).
  More description of test parameters.
  Modify acoustics 2d variable test to be shorter
  Make psystem_2d tests run faster by using shorter time and smaller grid.
  Make 3D acoustics tests run faster by using smaller grid.
  Update version of hashdist that we rely on.
  Eliminate q_or_aux variable.
  Fix clawpack#426 (writing aux with PETSc leads to empty q file).
Initial Sedov problem with cell averages.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling b7f8c4a on ketch:euler_3d_examples into 57e898d on clawpack:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 1117ecc on ketch:euler_3d_examples into 57e898d on clawpack:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 1117ecc on ketch:euler_3d_examples into 57e898d on clawpack:master.

@mandli
Copy link
Member

mandli commented Jul 17, 2014

Looks good to me. I would only say make sure the test does not take more than a couple of seconds.

* master:
  Clean up some of the code and add more doc-strings
  Add normal CLI to quadrants example
  Update CHANGES.md for 5.2.0.
  Fix HashDist to 0.3 tag
  Correct solution.read docstring

Conflicts:
	src/pyclaw/solution.py
@ketch
Copy link
Member Author

ketch commented Jul 24, 2014

Currently the new test is skipped on Travis, since it requires scipy and h5py. But it runs and passes on my machine. I'd like to merge this with the understanding that we'll add scipy to our Travis stack as soon as we have a binary install from hashdist. Then this test will be enabled on Travis. In the meantime, developers should be running tests locally too, especially since the tests are now fast.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.81%) when pulling 215245e on ketch:euler_3d_examples into 6ed9a60 on clawpack:master.

@mandli
Copy link
Member

mandli commented Jul 24, 2014

This all looks fine with me. Do you want to add an issue to remind us to re-enable the test or just include it in the issue for the SciPy stack travis problem?

@ketch
Copy link
Member Author

ketch commented Jul 24, 2014

I added a comment to the Scipy Travis stack issue.

ketch added a commit that referenced this pull request Jul 24, 2014
@ketch ketch merged commit 530d7c0 into clawpack:master Jul 24, 2014
@ketch ketch deleted the euler_3d_examples branch July 24, 2014 20:31
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

4 participants