#include <SchwarzChristoffelRampCS.H>

* Physical-space (z) Computational Space * * ^ ^ * i | ,-+ i | * ,--' | * ,--' \ +-----------+ * +-' ,+ | | * \ ,-' | | * | ,-' alpha | | * +--*'- - - - - - > +--*--------+ - - - > * 0 \hat(xi)_0 *
where
= angle of ramp
= location of corner
where len is the length of the bottom boundary (both the horizontal and following the ramp) in physical space
Public Member Functions | |
| SchwarzChristoffelRampCS (const RealVect &a_dx, const int a_nCellBaseDir0, const Real a_alpha=Pi/6., const Real a_XLeadLength=0.5, const Real a_XRampLength=4.5) | |
| Constructor. | |
| virtual | ~SchwarzChristoffelRampCS () |
| Destructor. | |
| virtual RealVect | realCoord (const RealVect &a_hatXi) const |
| Given coordinate in mapped space, return its location in real space. | |
| virtual RealVect | mappedCoord (const RealVect &a_x) const |
| Given coordinate in real space, return its location in the mapped space. | |
| virtual Real | dXdXi (const RealVect &a_Xi, int a_dirX, int a_dirXi) const |
| Calculate the derivative of each coordinate vector. | |
| Real | rampAngle () const |
| Return the angle of the ramp in radians. | |
| const RealVect & | mappedCorner () const |
| Return the location of the corner point in mapped space. | |
| Real | physicalDomainX0Min () const |
| Return the x-location of lower left domain corner in physical space. | |
Protected Member Functions | |
| RealVect | getPolar (const RealVect &a_Xi) const |
| Get a complex in polar coordinates. | |
Protected Attributes | |
| const Real | m_alpha |
| Ramp angle (0 <= m_alpha < Pi). | |
| const Real | m_c |
| Exponent coefficient. | |
| Real | m_k |
| RealVect | m_XiCorner |
| Corner in mapped space. | |
| SchwarzChristoffelRampCS::SchwarzChristoffelRampCS | ( | const RealVect & | a_dx, | |
| const int | a_nCellBaseDir0, | |||
| const Real | a_alpha = Pi/6., |
|||
| const Real | a_XLeadLength = 0.5, |
|||
| const Real | a_XRampLength = 4.5 | |||
| ) |
Constructor.
| virtual SchwarzChristoffelRampCS::~SchwarzChristoffelRampCS | ( | ) | [virtual] |
Destructor.
Given coordinate in mapped space, return its location in real space.
Implements NewFourthOrderCoordSys.
Given coordinate in real space, return its location in the mapped space.
Implements NewFourthOrderCoordSys.
| Real SchwarzChristoffelRampCS::rampAngle | ( | ) | const [inline] |
| const RealVect & SchwarzChristoffelRampCS::mappedCorner | ( | ) | const [inline] |
| Real SchwarzChristoffelRampCS::physicalDomainX0Min | ( | ) | const [inline] |
Return the x-location of lower left domain corner in physical space.
References m_c, m_k, and m_XiCorner.
Get a complex in polar coordinates.
const Real SchwarzChristoffelRampCS::m_alpha [protected] |
const Real SchwarzChristoffelRampCS::m_c [protected] |
Real SchwarzChristoffelRampCS::m_k [protected] |
Scaling between mapped and physical space
Referenced by physicalDomainX0Min().
RealVect SchwarzChristoffelRampCS::m_XiCorner [protected] |
1.5.5