$ svn checkout http://kingkong.amath.washington.edu/svn/claw/trunk/claw
See the subdirectory called sageclaw. Right now you can compile the C wrapper, libclaw.a. It comes with a header, libclaw.h. These can be found in the sageclaw/lib and sageclaw/include subdirectories after running
$ make
in the top sageclaw directory. Check the README file for more information.
Now, after learning Fortran, it's back to re-learning Cython!
The foundation for work on the Sageclaw C wrapper and Sage interface for Clawpack is done. This consists of a basic C wrapper of the main 1d subroutine, claw1, along with appropriate makefiles and build routines. The wrapper is compiled in to a static library which is placed in
clawpack/sageclaw/lib and
clawpack/sageclaw/spkg/src/lib
There is also an accompanying header in a respective "include" directory. See the README in clawpack/sageclaw for more information.
Work has begun on the Sage side of the project. I just started a Trac ticket on the Sage Trac server. You can view it right here:
http://trac.sagemath.org/sage_trac/ticket/5462
I'll be posting various patches and eventually an spkg as I make progress on the project. This will consist of writing a Cython wrapper for the C wrapper of the Fortran code. (Can you keep track of that?) Essentially, I'll start with a Cython interface to the compiled library and then begin adding some user-friendly functionality. I'll also eventually be posting some development updates on my blog (cswiercz.wordpress.org).

0 comments:
Post a Comment