11 #ifndef _CUBEDSPHERESHELLCS_H_ 12 #define _CUBEDSPHERESHELLCS_H_ 28 #include "NamespaceHeader.H" 48 Real a_height = 1,
Real a_radius = 1);
55 virtual void define(
int a_nResolution,
int a_nLayers = 0,
56 Real a_height = 1,
Real a_radius = 1);
134 int& a_nPanel)
const;
157 int a_srcBlock)
const;
230 #include "NamespaceFooter.H"
Real m_radius
Definition: CubedSphereShellCS.H:225
virtual RealVect blockRemappingGeneral(int a_nDst, const RealVect &a_xiSrc, int a_nSrc) const
Definition: CubedSphereShellCS.H:186
RealVect realCoord(const RealVect &a_X) const
void setFlatMap(bool a_flatMap)
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
void setFlatMap(bool a_flatMap)
Definition: CubedSphereShellCS.H:217
void setVerticalMap(RefCountedPtr< Spline1DMapping > a_map)
Definition: CubedSphereShellCS.H:202
Real m_radius
Definition: CubedSphereShellCS.H:173
void vecTransMatrix(int a_nSourcePanel, int a_nDestPanel, int a_nAlphaIx, int a_nBetaIx, Real a_dDeltaA, Real *a_dAvgT, Real *a_dAlphaGradT, Real *a_dBetaGradT) const
void vecTransMatrix_Pt(int a_nSourcePanel, int a_nDestPanel, Real a_dX, Real a_dY, Real *a_dT) const
void mappedFromCartesian(RealVect &a_xiDst, int a_nDst, Real xx, Real yy, Real zz) const
convert from Cartesian coordinates to mapped coordinate
virtual Vector< RealVect > displacements(const Vector< RealVect > &a_dstCoords, const Vector< int > &a_dstBlocks, const RealVect &a_srcCoords, int a_srcBlock) const
return displacements
void setRadius(Real a_radius)
Definition: CubedSphereShellCS.H:212
void regrid(const DisjointBoxLayout &a_newGrids)
virtual ~CubedSphereShellCS()
void setHeight(Real a_height)
bool m_flatMap
Definition: CubedSphereShellCS.H:176
virtual void blockRemapping(RealVect &a_xi_valid, int &a_n_valid, const RealVect &a_xiSrc, int a_nSrc) const
block mapping conversion function
int m_nResolution
Definition: CubedSphereShellCS.H:164
virtual void define(int a_nResolution, int a_nLayers=0, Real a_height=1, Real a_radius=1)
void setRadius(Real a_radius)
double Real
Definition: REAL.H:33
void cartesianFromMapped(Real &xx, Real &yy, Real &zz, const RealVect &a_xiSrc, int a_nSrc) const
convert from mapped coordinate to Cartesian coordinates
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
virtual const NewCoordSys * getCoordSys(int a_n) const
Return the mapping which corresponds to the block with the given index.
Definition: MultiBlockCoordSys.H:250
virtual interface class encapsulating multi-block mapping API
Definition: MultiBlockCoordSys.H:34
virtual void separateVolFlux(LevelData< FluxBox > &a_flux) const
Have separate volume flux on each block. Normally does nothing, but cubed-sphere coordinate system ne...
CubedSphereShellCSFactory()
Definition: CubedSphereShellCS.H:190
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
VectorTransformation vectorBlockTransformation(int a_nDst, const RealVect &a_xiSrc, int a_nSrc) const
return vector transformation from one block to another at a point.
void cssXiFromLonLat2D(RealVect a_llr, RealVect &a_xi, int &a_nPanel) const
convert from Lon-Lat-R coordinates to CSS computational coordinate
RefCountedPtr< Spline1DMapping > m_verticalMap
Definition: CubedSphereShellCS.H:227
pure-virtual base class defining factory interface for MultiBlockCoordSys
Definition: MultiBlockCoordSys.H:409
Definition: CubedSphereShellCS.H:40
void setHeight(Real a_height)
Definition: CubedSphereShellCS.H:207
RealVect mappedCoord(const RealVect &a_x) const
Real m_height
Definition: CubedSphereShellCS.H:170
bool m_flatMap
Definition: CubedSphereShellCS.H:226
Real m_height
Definition: CubedSphereShellCS.H:224
int m_nLayers
Definition: CubedSphereShellCS.H:167
RefCountedPtr< Spline1DMapping > m_verticalMap
Definition: CubedSphereShellCS.H:179
void setVerticalMap(RefCountedPtr< Spline1DMapping > a_map)
virtual ~CubedSphereShellCSFactory()
Definition: CubedSphereShellCS.H:195
CubedSphereShellCS()
default constructor