CubedSphereSolidCS Class Reference

#include <CubedSphereSolidCS.H>

Inheritance diagram for CubedSphereSolidCS:

Inheritance graph

List of all members.

Detailed Description

Multiblock coordinate system for cubed sphere shell with variable-thickness spherical layers The CubedSphereSolidCS coordinate system class is a multiblock example that takes place on a 3D spherical region. There are an inner cube and six sectors, each sector centered on a coordinate axis.

From: Diener, Dorband, Schnetter and Tiglio, "Optimized High-Order Derivative and Dissipation Operators Satisfying Summation by Parts, and Applications in Three-dimensional Multi-block Evolutions", J. Sci. Comp. 32:1 (2007) DOI: 10.1007/s10915-006-9123-7

Public Member Functions

 CubedSphereSolidCS ()
 default constructor
 CubedSphereSolidCS (int a_nResolution, Real a_r0=1., Real a_r1=3.)
 constructor with resolution
virtual ~CubedSphereSolidCS ()
virtual void define (int a_nResolution, Real a_r0=1., Real a_r1=3.)
virtual void define (const ProblemDomain &a_levelDomain, const RealVect &a_dx)
void setR0 (Real a_r0)
void setR1 (Real a_r1)
Real getR0 () const
Real getR1 () const
virtual void blockRemapping (RealVect &a_xi_valid, int &a_n_valid, const RealVect &a_xiSrc, int a_nSrc) const
 block mapping conversion function

Protected Member Functions

void defineBoundaries ()

Protected Attributes

int m_nResolution
Real m_r0
Real m_r1

Static Protected Attributes

static const int NUMBLOCKS = 7
static const int XPOS = 0
static const int YPOS = 1
static const int XNEG = 2
static const int YNEG = 3
static const int ZPOS = 4
static const int ZNEG = 5
static const int CENTRAL = 6

Constructor & Destructor Documentation

CubedSphereSolidCS::CubedSphereSolidCS (  ) 

default constructor

CubedSphereSolidCS::CubedSphereSolidCS ( int  a_nResolution,
Real  a_r0 = 1.,
Real  a_r1 = 3. 

constructor with resolution

virtual CubedSphereSolidCS::~CubedSphereSolidCS (  )  [virtual]


Member Function Documentation

virtual void CubedSphereSolidCS::define ( int  a_nResolution,
Real  a_r0 = 1.,
Real  a_r1 = 3. 
) [virtual]

virtual void CubedSphereSolidCS::define ( const ProblemDomain a_levelDomain,
const RealVect a_dx 
) [virtual]

void CubedSphereSolidCS::setR0 ( Real  a_r0  ) 

void CubedSphereSolidCS::setR1 ( Real  a_r1  ) 

Real CubedSphereSolidCS::getR0 (  )  const [inline]

References m_r0.

Real CubedSphereSolidCS::getR1 (  )  const [inline]

References m_r1.

virtual void CubedSphereSolidCS::blockRemapping ( RealVect a_xi_valid,
int &  a_n_valid,
const RealVect a_xiSrc,
int  a_nSrc 
) const [virtual]

block mapping conversion function

given a_xiSrc in block a_nSrc, returns which block (a_n_valid) contains that location in its valid region and its location a_xi_valid in that block's computational coordinate space.

Implements MultiBlockCoordSys.

void CubedSphereSolidCS::defineBoundaries (  )  [protected]

Member Data Documentation

const int CubedSphereSolidCS::NUMBLOCKS = 7 [static, protected]

const int CubedSphereSolidCS::XPOS = 0 [static, protected]

const int CubedSphereSolidCS::YPOS = 1 [static, protected]

const int CubedSphereSolidCS::XNEG = 2 [static, protected]

const int CubedSphereSolidCS::YNEG = 3 [static, protected]

const int CubedSphereSolidCS::ZPOS = 4 [static, protected]

const int CubedSphereSolidCS::ZNEG = 5 [static, protected]

const int CubedSphereSolidCS::CENTRAL = 6 [static, protected]

Referenced by getR0().

Referenced by getR1().

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

Generated on Sun Apr 21 03:27:39 2019 for Chombo + EB + MF by  doxygen 1.5.5