Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
One-dimensional acoustics
=========================

Solve the (linear) acoustics equations:

.. math:: 
    p_t + K u_x & = 0 \\ 
    u_t + p_x / \rho & = 0.

Here p is the pressure, u is the velocity, K is the bulk modulus,(more...)

src/p/y/pyclaw-HEAD/examples/acoustics_1d_homogeneous/test_acoustics.py   pyclaw(Download)
    tests against known classic, sharpclaw, and high-order weno results """
 
    import acoustics_1d
 
    def verify_expected(expected):