mapc2p.py.html | ![]() |
Source file: mapc2p.py | |
Directory: /home/rjl/git/rjleveque/clawpack-4.x/book/chap23/acoustics | |
Converted: Tue Jul 26 2011 at 12:58:58 using clawcode2html | |
This documentation file will not reflect any later changes in the source file. |
def mapc2p(xc,yc): """ specifies the mapping to curvilinear coordinates -- should be consistent with mapc2p.f """ from numpy import abs xp = xc + (abs(yc+.2)+ .8)/2 yp = yc return xp,yp