XPointBlockCoordSys Class Reference

#include <XPointBlockCoordSys.H>

Inheritance diagram for XPointBlockCoordSys:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 XPointBlockCoordSys (const RealVect &a_origin, const ProblemDomain &a_domain, const int a_block_type)
 Constructor.
virtual ~XPointBlockCoordSys ()
 Destructor.
virtual RealVect realCoord (const RealVect &xi) const
 Returns real coordinate.
virtual RealVect mappedCoord (const RealVect &x) const
 Returns computational coordinate.
virtual Real dXdXi (const RealVect &Xi, int dirX, int dirXi) const
void dXdXi (FArrayBox &dxdXi, const FArrayBox &Xi, int destComp, int dirX, int dirXi, const Box &box) const
virtual Real dX2dXi2 (const RealVect &Xi, int dirX, int dirXi0, int dirXi1) const
virtual void getRBpoloidal (const int dir, FArrayBox &RBpol, FArrayBox &dRBpoldt) const
virtual double getRBtoroidal () const
int blockType () const
IntVect domainSmallEnd () const
Real centralMajorRadius () const
virtual void computeFieldData (const int dir, FArrayBox &BField, FArrayBox &BFieldMag, FArrayBox &BFieldDirl, FArrayBox &gradBFieldMag, FArrayBox &curlBFieldDir, FArrayBox &BFieldDirdotcurlBFieldDir) const
Real lowerMappedCoordinate (int dir) const
Real upperMappedCoordinate (int dir) const

Protected Attributes

ProblemDomain m_domain
Real m_mapped_cell_volume
RealVect m_mapped_face_area
int m_block_type
RealVect m_origin
Real m_alpha


Constructor & Destructor Documentation

XPointBlockCoordSys::XPointBlockCoordSys ( const RealVect a_origin,
const ProblemDomain a_domain,
const int  a_block_type 
)

Constructor.

Constructor with initialization. Input data is read from the parm_parse object, the cellSpacing is computed and the define() member is called.

Parameters:
[in] parm_parse the ParmParse database.
[in] domain the configuration space domain.
[in] ghostVect vector of ghost cells stored for mapping.

virtual XPointBlockCoordSys::~XPointBlockCoordSys (  )  [virtual]

Destructor.


Member Function Documentation

virtual RealVect XPointBlockCoordSys::realCoord ( const RealVect xi  )  const [virtual]

Returns real coordinate.

Returns location $x$ in real-world coordinates of mapped-coordinate location $\xi$.

Parameters:
[in] xi mapped grid coordinate.

Implements NewFourthOrderCoordSys.

virtual RealVect XPointBlockCoordSys::mappedCoord ( const RealVect x  )  const [virtual]

Returns computational coordinate.

Returns location $\xi$ in mapped coordinate space of real-world location $x$.

Parameters:
[in] x physical space coordinate.

Implements NewFourthOrderCoordSys.

virtual Real XPointBlockCoordSys::dXdXi ( const RealVect Xi,
int  dirX,
int  dirXi 
) const [virtual]

Returns the derivatives of the physical coordinates with respect to the computational coordinate. Returns the derivatives of the physical coordinates with respect to the computational coordinates at location $xi$.

Parameters:
[in] xi mapped coordinate.

Implements NewFourthOrderCoordSys.

void XPointBlockCoordSys::dXdXi ( FArrayBox dxdXi,
const FArrayBox Xi,
int  destComp,
int  dirX,
int  dirXi,
const Box box 
) const [virtual]

Fills the destComp component of a_dxdXi with the derivative of x w/ respect to Xi in the dirX direction Fills the destComp component of a_dxdXi with the derivative of x w/ respect to Xi in the dirX direction

Parameters:
[in] Xi mapped coordinates
[in] destComp destination component
[in] dirX physical coordinate to be differentiated
[in] dirXi computational coordinate
[in] box box within which derivatives are computed
[out] dxdXi output derivatives

Reimplemented from NewFourthOrderCoordSys.

virtual Real XPointBlockCoordSys::dX2dXi2 ( const RealVect Xi,
int  dirX,
int  dirXi0,
int  dirXi1 
) const [virtual]

virtual void XPointBlockCoordSys::getRBpoloidal ( const int  dir,
FArrayBox RBpol,
FArrayBox dRBpoldt 
) const [virtual]

virtual double XPointBlockCoordSys::getRBtoroidal (  )  const [inline, virtual]

int XPointBlockCoordSys::blockType (  )  const [inline]

References m_block_type.

IntVect XPointBlockCoordSys::domainSmallEnd (  )  const [inline]

Real XPointBlockCoordSys::centralMajorRadius (  )  const [inline]

References m_origin.

virtual void XPointBlockCoordSys::computeFieldData ( const int  dir,
FArrayBox BField,
FArrayBox BFieldMag,
FArrayBox BFieldDirl,
FArrayBox gradBFieldMag,
FArrayBox curlBFieldDir,
FArrayBox BFieldDirdotcurlBFieldDir 
) const [inline, virtual]

Real XPointBlockCoordSys::lowerMappedCoordinate ( int  dir  )  const [inline]

Real XPointBlockCoordSys::upperMappedCoordinate ( int  dir  )  const [inline]


Member Data Documentation

Referenced by blockType().

Referenced by centralMajorRadius().


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

Generated on Mon Jun 26 03:27:28 2017 for Chombo + EB + MF by  doxygen 1.5.5