Comments (9)
Happy to help with this one... is there a test case for this?
from pyclaw.
Hi Matt,
Sorry for the slow reply; I was on vacation when you chimed in. There are
several test cases for sharpclaw, so the first thing would be to get a
PyWENO-generated fifth-order kernel working and make sure the tests pass.
Then it should be easy to add other orders. Here's what I think needs to
be done:
- Put the PyWENO-generated code into a new fortran module that does what
reconstruct.py does (i.e., takes q and computes ql, qr -- see also
reconstruct.f90 in pyclaw/src/fortran/1d/sharpclaw). - Modify flux1.f90 (in the same directory) to use the new module instead of
the old one.
I think we'd want to change the code significantly from what PyWENO
generates in order to make it more efficient (or better yet, we should add
PyWENO routines that generate more efficient, though probably less readable
code as an option). But I think the first thing to do is just get it
working.
-David
On Tue, Aug 2, 2011 at 4:38 AM, memmett <
[email protected]>wrote:
Happy to help with this one... is there a test case for this?
Reply to this email directly or view it on GitHub:
#48 (comment)
from pyclaw.
Alrighty, I'll get right on it.
Regarding making it more efficient: PyWENO allows some flexibility in combining several steps (smoothness, weights, reconstruction) into one function call. By combining everything into one function, there might be some redundant computation, but much less data movement. After I get things working I'll try this out.
Matt
from pyclaw.
Hi David,
I'm going to start with the weno5 routine in flux1.f90. Can the other weno5_* routines be re-written to call the plain weno5 routine?
Matt
from pyclaw.
That sounds good. Let's not worry about the other reconstructions (wave,
characteristic, etc.) for now. I want to do them eventually, but we don't
need them for the paper.
-David
On Mon, Aug 15, 2011 at 8:51 PM, memmett <
[email protected]>wrote:
Hi David,
I'm going to start with the weno5 routine in flux1.f90. Can the other
weno5_* routines be re-written to call the plain weno5 routine?Matt
Reply to this email directly or view it on GitHub:
#48 (comment)
from pyclaw.
Do you have a preference for how to select the WENO order? How about a 'weno_order' attribute of SharpClawSolver that defaults to 5?
from pyclaw.
That sounds good to me.
David Ketcheson
Sent from my iphone
On Aug 19, 2011, at 6:07 PM, [email protected] wrote:
Do you have a preference for how to select the WENO order? How about a 'weno_order' attribute of SharpClawSolver that defaults to 5?
Reply to this email directly or view it on GitHub:
#48 (comment)
from pyclaw.
Pull request submitted... will close this issue when the request gets merged.
from pyclaw.
Complete as of cd5daf3.
from pyclaw.
Related Issues (20)
- About the example in Understanding Pyclaw Classes HOT 4
- pyclaw and petclaw failing HOT 5
- Geoclaw animation does not show tsunami wave propagation HOT 2
- add topics HOT 1
- pyclaw output HOT 2
- Basic Installation Instructions HOT 3
- Installation Issues HOT 3
- Inconsistent f2py wrappers HOT 16
- Adjust defaults for classic solver in multiple dimensions
- regression regarding OutputController.get_time? HOT 1
- Issue of running an example HOT 2
- Plotting failure from trying to read num_ghosts in example inputs HOT 16
- Using step_source with sharpclaw solver fails HOT 1
- Issue on importing fortran files to python script by using f2py in clawpack on M1 machine HOT 5
- Typo in Pyclaw Controller Class docs HOT 2
- `test_sedov_and_hdf` fails because it cannot file or directory
- Community Project HOT 2
- Issue with installation HOT 3
- Possible bug in filling ghost cell in stegoton_1d example HOT 1
- error: metadata-generation-failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyclaw.