Giter Club home page Giter Club logo

classic's Introduction

PyPI Downloads conda-forge

Please see the documentation for Clawpack at http://www.clawpack.org.

If you are cloning this repository, the following pages may be of particular interest:

classic's People

Contributors

delgadom avatar donnaaboise avatar gradylemoine avatar ketch avatar mandli avatar ortegagingrich avatar rjleveque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

classic's Issues

Add reordered 1D code

The one-dimensional code from 4.6 needs to be reordered and brought in to 5.0 (with replacements of 4.6 routines by PyClaw routines where applicable).

Add Travis CI tests for 2D

The 2D Classic code needs some integration tests. I'm planning to do that myself, but I'm adding the issue to remind myself.

Update comments to reflect new arg lists

With the disappearance of the maxmx/maxmy/maxmz parameters and the reordering of the array indices, a lot of comments documenting subroutine arguments in the Classic code are out of date, especially in claw2 and claw3. These should be updated to reflect the new code. I'm registering this as an issue for the sake of documenting it, but I'm volunteering to do the work myself.

Fix "implicit none" usage

There should be exactly one implicit none in each module at the top. No function in that module should have it, as it is redundant (the module one applies to all functions in the module). I'll send a PR once #9 is in, to avoid merge conflicts.

Fixup setrun.py in examples

Most of the examples/*/setrun.py files are very terse.

Rewrite using the template from amrclaw/examples or apps/fvmbook setrun files to include comments and other options.

add gauges

gauge output should be added to classic codes.

Rename module names, e.g. "precision_module" -> "precision"

I think the _module in all modules name is redundant. I propose to rename:
solution_module -> solution
solver_module -> solver
precision_module -> precision
controller_module -> controller
geometry_module -> geometry

It's easier to type and consistent with other module names. Just like in Python, you also don't append _module to Python module names.

If you agree, I'll send a PR.

Add examples from 4.6 versions

From clawpack-4.x/apps, see http://depts.washington.edu/clawpack/users-4.6/apps.html:

  • acoustics/1d/example1/ as acoustics_1d_example1
  • acoustics/1d/example2/ as acoustics_1d_example2
  • acoustics/2d/example1/ as acoustics_2d_radial
  • advection/1d/example1/ as advection_2d_outflow
  • advection/2d/annulus/ as advection_2d_annulus
  • advection/2d/example1_gauges/ as advection_2d_square
  • advection/2d/swirl/ as advection_2d_swirl
  • burgers/1d/sine2n/ as burgers_1d_sine2n
  • burgers/2d/pwconst/ as burgers_2d_square
  • euler/1d/hump/ as euler_1d_hump

Add basic Travis-CI setup for reordered 5.x code

Travis-CI is running (and failing) on this repository as we have added tests for the new version of the classic code. Should have at least a base .travis.yml file so that it does not report failure all the time.

Implement new aux output argument in Classic

We (meaning I) may as well implement the new run-time parameter asking for one-time output of aux in the new clawutil/data.py (the boolean parameter output_aux_onlyonce). I'd like to hear from @mandli or @ketch about the intended behavior when this parameter is set, so I can implement it in a way consistent with the other Clawpack variants.

change output format to print >4 values per line

This is an issue in classic, amrclaw, and geoclaw where the output routines use a format to print only 4 values (or sometimes 5 or 10) to a line in fort.q and fort.a files.

These should all be cleaned up to a uniform format such as

format(50e26.16)

so there is never danger of lines of output being broken.

See the discussion at clawpack/pyclaw#363, and much follow up on the claw-dev mailing list,
https://groups.google.com/forum/?fromgroups#!searchin/claw-dev/363/claw-dev/arv_a220obI/9cidhzs-3tgJ
where we decided this was a good idea but to put it off to 6.0.

But now I don't see any reason to put it off and we just ran into this issue again.

dt_variable integer vs. logical

In classic you currently need to set
clawdata.dt_variable = 1
whereas in the amr codes it is
clawdata.dt_variable = True
Perhaps fix clawutil/data.py so it accepts either and prints out 1 in the claw.data file?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.