11 #ifndef _SCHWARZCHRISTOFFELRAMPCS_H_ 12 #define _SCHWARZCHRISTOFFELRAMPCS_H_ 16 #include "NamespaceHeader.H" 64 const int a_nCellBaseDir0,
65 const Real a_alpha = Pi/6.,
66 const Real a_XLeadLength = 0.5,
67 const Real a_XRampLength = 4.5);
114 const int a_nCellBaseDir0,
115 const Real a_alpha = Pi/6.,
116 const Real a_XLeadLength = 0.5,
117 const Real a_XRampLength = 4.0);
169 #include "NamespaceFooter.H" Factory for SchwarzChristoffelRampCS.
Definition: SchwarzChristoffelRampCS.H:109
const int m_nCellBaseDir0
Definition: SchwarzChristoffelRampCS.H:125
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
virtual RealVect mappedCoord(const RealVect &a_x) const
Given coordinate in real space, return its location in the mapped space.
virtual RealVect realCoord(const RealVect &a_hatXi) const
Given coordinate in mapped space, return its location in real space.
virtual ~SchwarzChristoffelRampCS()
Destructor.
Virtual base class encapsulating mapped-grid coordinate systems.
Definition: NewFourthOrderCoordSys.H:77
Real m_k
Definition: SchwarzChristoffelRampCS.H:97
const Real m_XLeadLength
Definition: SchwarzChristoffelRampCS.H:127
Real rampAngle() const
Return the angle of the ramp in radians.
Definition: SchwarzChristoffelRampCS.H:143
const Real m_c
Exponent coefficient.
Definition: SchwarzChristoffelRampCS.H:96
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.
Conformal Schwarz-Christoffel mapping of a ramp.
Definition: SchwarzChristoffelRampCS.H:59
pure-virtual base class defining factory interface for CoordSys
Definition: NewCoordSys.H:236
double Real
Definition: REAL.H:33
RealVect m_XiCorner
Corner in mapped space.
Definition: SchwarzChristoffelRampCS.H:99
virtual Real dXdXi(const RealVect &a_Xi, int a_dirX, int a_dirXi) const
Calculate the derivative of each coordinate vector.
RealVect getPolar(const RealVect &a_Xi) const
Get a complex in polar coordinates.
const RealVect & mappedCorner() const
Return the location of the corner point in mapped space.
Definition: SchwarzChristoffelRampCS.H:153
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Real physicalDomainX0Min() const
Return the x-location of lower left domain corner in physical space.
Definition: SchwarzChristoffelRampCS.H:164
const Real m_alpha
Ramp angle (0 <= m_alpha < Pi)
Definition: SchwarzChristoffelRampCS.H:95
const Real m_XRampLength
Definition: SchwarzChristoffelRampCS.H:128
const Real m_alpha
Definition: SchwarzChristoffelRampCS.H:126
Virtual base class encapsulating mapped-grid coordinate systems.
Definition: NewCoordSys.H:30