WarpedCS Class Reference

#include <WarpedCS.H>

Inheritance diagram for WarpedCS:

Inheritance graph
[legend]

List of all members.


Detailed Description

"warped" Coordinate mapping (non-constant Jacobian)

Public Member Functions

 WarpedCS (const RealVect &a_dX, const RealVect &a_scale, const Real a_rtol=RTOL, const Real a_atol=ATOL, const int a_imax=100)
 constructor
virtual ~WarpedCS ()
RealVect realCoord (const RealVect &a_Xi) const
 given coordinate in mapped space, return its location in real space
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
 note that a_Xi is in mapped space.
virtual void setTime (const Real &a_time) const
 Sets the time for moving grids and adjusts m_scale.
void scale (const RealVect &a_scale)
 initialize scale

Protected Member Functions

Real g (const Real xi, const RealVect &x) const

Protected Attributes

RealVect m_scale
 The 'c'.
const RealVect m_staticScale
Real m_rtol
Real m_atol
int m_imax
const Real m_twoPi
int m_rootDir

Constructor & Destructor Documentation

WarpedCS::WarpedCS ( const RealVect a_dX,
const RealVect a_scale,
const Real  a_rtol = RTOL,
const Real  a_atol = ATOL,
const int  a_imax = 100 
)

constructor

virtual WarpedCS::~WarpedCS (  )  [virtual]

Destructor.


Member Function Documentation

RealVect WarpedCS::realCoord ( const RealVect a_Xi  )  const [virtual]

given coordinate in mapped space, return its location in real space

Implements NewFourthOrderCoordSys.

RealVect WarpedCS::mappedCoord ( const RealVect a_x  )  const [virtual]

given coordinate in real space, return its location in the mapped space

Implements NewFourthOrderCoordSys.

virtual Real WarpedCS::dXdXi ( const RealVect a_Xi,
int  a_dirX,
int  a_dirXi 
) const [virtual]

note that a_Xi is in mapped space.

Implements NewFourthOrderCoordSys.

virtual void WarpedCS::setTime ( const Real a_time  )  const [virtual]

Sets the time for moving grids and adjusts m_scale.

Reimplemented from NewCoordSys.

void WarpedCS::scale ( const RealVect a_scale  ) 

initialize scale

Real WarpedCS::g ( const Real  xi,
const RealVect x 
) const [protected]


Member Data Documentation

RealVect WarpedCS::m_scale [mutable, protected]

The 'c'.

const RealVect WarpedCS::m_staticScale [protected]

Preserves initial scale argument given to constructor for moving grids

Real WarpedCS::m_rtol [protected]

Real WarpedCS::m_atol [protected]

int WarpedCS::m_imax [protected]

const Real WarpedCS::m_twoPi [protected]

int WarpedCS::m_rootDir [mutable, protected]


The documentation for this class was generated from the following file:

Generated on Wed Aug 16 03:27:29 2017 for Chombo + EB + MF by  doxygen 1.5.5