Git Product home page Git Product logo

clawpack / pyclaw Goto Github PK

View Code? Open in Web Editor NEW
155.0 28.0 96.0 14.03 MB

PyClaw is a Python-based interface to the algorithms of Clawpack and SharpClaw. It also contains the PetClaw package, which adds parallelism through PETSc.

Home Page: http://www.clawpack.com/pyclaw

License: BSD 3-Clause "New" or "Revised" License

Shell 0.23% Python 37.73% Fortran 43.51% Makefile 0.22% TeX 0.21% C 16.69% Jupyter Notebook 0.64% Meson 0.76%
pde-solver finite-volume partial-differential-equations hyperbolic-equations weno petsc pde

pyclaw's Issues

Implicit time stepping

Benchmark test case still need to be defined. We are looking for it. It should be defined in ONE or MAXIMUM TWO DAYS. Based on the selected test case the next steps should be defined.

Add a more convenient way to set aux arrays

Setting the aux array is somewhat different from setting q because boundary values must also be set on initialization. Right now the user is required to create a numpy array of the appropriate size and fill it in. Aron suggested providing a simpler interface that would only require the user to provide a function setaux(x, y, dx, dy) that takes arrays of cell centers and dimensions and returns an array of aux values for the cells. Then the grid would have a method that applies this function automatically using the coordinates of the grid. It was agreed that this would be helpful and should be supported, but without removing support for the current approach. The grid could also have a method to impose common "boundary conditions" to generate the ghost cell aux values (zero extrapolation and periodic).

Add support for output of derived quantities

The user will be able to provide a function that accepts q and returns a vector of derived quantities. These two vectors are not necessarily the same size. As a simple example, the user may wish to only output one component of q.
In order to implement this efficiently for parallel runs, it is necessary to create another DA for the derived quantities. The user will be able to specify the frequency of writing both output and checkpoint files separately (the checkpoint files will contain just q).

Write a new tutorial

The tutorial in the docs has not been updated to reflect how PyClaw works now.

Petsc error after implicit time stepping in 1D acoustics run with nose

FAILED (errors=1)
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/petsc-as/documentation/faq.html#valgrind[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: likely location of problem given in stack below
[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------
[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
[0]PETSC ERROR: INSTEAD the line number of the start of the function
[0]PETSC ERROR: is given.
application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0

Automatically disable logging on Shaheen

We have been bitten by this 3 times now. @Ahamadia, what is the best way to do this? Can we check the architecture we're on from inside Python? Or we could move the logging configuration files around in our setup scripts on Shaheen.

Add support for "gauges"

In GeoClaw, one can set up gauges at particular locations, which cause the solution at that location to be written to a file at every timestep.

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.