11 #ifndef _RTHETAPHICS_H_ 12 #define _RTHETAPHICS_H_ 16 #include "NamespaceHeader.H" 45 const Real a_stretch = 1.,
46 const Real a_rMin = 1.,
47 const Real a_phiMin = Pi/4.);
89 const Real a_rMin = 1.,
90 const Real a_phiMin = Pi/4.);
104 #include "NamespaceFooter.H" RealVect unnormalize(const RealVect &a_hatXi) const
Unnormalized the mapped coordinates.
Mapping from spherical coordinates (Xi) to real coodinates.
Definition: RThetaPhiCS.H:40
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
Virtual base class encapsulating mapped-grid coordinate systems.
Definition: NewFourthOrderCoordSys.H:77
virtual RealVect mappedCoord(const RealVect &a_x) const
Given coordinate in real space, return its location in the mapped space.
RealVect realCoordUN(const RealVect &a_Xi) const
Return location in real space of an unnormalized Coord. from mapped space.
virtual Real dXdXi(const RealVect &a_Xi, int a_dirX, int a_dirXi) const
note that a_Xi is in mapped space.
Real m_rMin
Definition: RThetaPhiCS.H:100
Factory for RThetaPhiCS.
Definition: RThetaPhiCS.H:82
virtual RealVect realCoord(const RealVect &a_hatXi) const
Given coordinate in mapped space, return its location in real space.
Real m_phiMin
Definition: RThetaPhiCS.H:74
pure-virtual base class defining factory interface for CoordSys
Definition: NewCoordSys.H:236
Real m_rMin
Min r (> 0 avoids singularity there)
Definition: RThetaPhiCS.H:73
double Real
Definition: REAL.H:33
Real m_stretch
Stretching in the r direction.
Definition: RThetaPhiCS.H:72
Real m_phiMin
Definition: RThetaPhiCS.H:101
RealVect normalize(const RealVect &a_Xi) const
Normalize the mapped coordinates .
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
RThetaPhiCS(const RealVect &a_dx, const Real a_stretch=1., const Real a_rMin=1., const Real a_phiMin=Pi/4.)
Constructor.
virtual ~RThetaPhiCS()
Destructor.
Virtual base class encapsulating mapped-grid coordinate systems.
Definition: NewCoordSys.H:30
Real m_stretch
Definition: RThetaPhiCS.H:99