Athena++/Atmosphere
Planetary Atmosphere Simulator
Cartesian Class Reference

#include <coordinates.hpp>

Inheritance diagram for Cartesian:
[legend]

Public Member Functions

 Cartesian (MeshBlock *pmb, ParameterInput *pin, bool flag)
 
- Public Member Functions inherited from Coordinates
 Coordinates (MeshBlock *pmb, ParameterInput *pin, bool flag=false)
 
virtual ~Coordinates ()=default
 
virtual void Edge1Length (const int k, const int j, const int il, const int iu, AthenaArray< Real > &len)
 
virtual void Edge2Length (const int k, const int j, const int il, const int iu, AthenaArray< Real > &len)
 
virtual void Edge3Length (const int k, const int j, const int il, const int iu, AthenaArray< Real > &len)
 
virtual Real GetEdge1Length (const int k, const int j, const int i)
 
virtual Real GetEdge2Length (const int k, const int j, const int i)
 
virtual Real GetEdge3Length (const int k, const int j, const int i)
 
virtual void VolCenter1Length (const int k, const int j, const int il, const int iu, AthenaArray< Real > &len)
 
virtual void VolCenter2Length (const int k, const int j, const int il, const int iu, AthenaArray< Real > &len)
 
virtual void VolCenter3Length (const int k, const int j, const int il, const int iu, AthenaArray< Real > &len)
 
virtual void CenterWidth1 (const int k, const int j, const int il, const int iu, AthenaArray< Real > &dx1)
 
virtual void CenterWidth2 (const int k, const int j, const int il, const int iu, AthenaArray< Real > &dx2)
 
virtual void CenterWidth3 (const int k, const int j, const int il, const int iu, AthenaArray< Real > &dx3)
 
virtual void Face1Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area)
 
virtual void Face2Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area)
 
virtual void Face3Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area)
 
virtual Real GetFace1Area (const int k, const int j, const int i)
 
virtual Real GetFace2Area (const int k, const int j, const int i)
 
virtual Real GetFace3Area (const int k, const int j, const int i)
 
virtual void VolCenterFace1Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area)
 
virtual void VolCenterFace2Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area)
 
virtual void VolCenterFace3Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area)
 
virtual void Laplacian (const AthenaArray< Real > &s, AthenaArray< Real > &delta_s, const int il, const int iu, const int jl, const int ju, const int kl, const int ku, const int nl, const int nu)
 
virtual void LaplacianX1 (const AthenaArray< Real > &s, AthenaArray< Real > &delta_s, const int n, const int k, const int j, const int il, const int iu)
 
virtual void LaplacianX1All (const AthenaArray< Real > &s, AthenaArray< Real > &delta_s, const int nl, const int nu, const int kl, const int ku, const int jl, const int ju, const int il, const int iu)
 
virtual void LaplacianX2 (const AthenaArray< Real > &s, AthenaArray< Real > &delta_s, const int n, const int k, const int j, const int il, const int iu)
 
virtual void LaplacianX2All (const AthenaArray< Real > &s, AthenaArray< Real > &delta_s, const int nl, const int nu, const int kl, const int ku, const int jl, const int ju, const int il, const int iu)
 
virtual void LaplacianX3 (const AthenaArray< Real > &s, AthenaArray< Real > &delta_s, const int n, const int k, const int j, const int il, const int iu)
 
virtual void LaplacianX3All (const AthenaArray< Real > &s, AthenaArray< Real > &delta_s, const int nl, const int nu, const int kl, const int ku, const int jl, const int ju, const int il, const int iu)
 
virtual void CellVolume (const int k, const int j, const int il, const int iu, AthenaArray< Real > &vol)
 
virtual Real GetCellVolume (const int k, const int j, const int i)
 
virtual void AddCoordTermsDivergence (const Real dt, const AthenaArray< Real > *flux, const AthenaArray< Real > &prim, const AthenaArray< Real > &bcc, AthenaArray< Real > &u)
 
bool IsPole (int j)
 
Real GetMass () const
 
Real GetSpin () const
 
void Metric (Real x1, Real x2, Real x3, ParameterInput *pin, AthenaArray< Real > &g, AthenaArray< Real > &g_inv, AthenaArray< Real > &dg_dx1, AthenaArray< Real > &dg_dx2, AthenaArray< Real > &dg_dx3)
 
virtual void CellMetric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &gi)
 
virtual void Face1Metric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
 
virtual void Face2Metric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
 
virtual void Face3Metric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
 
virtual void PrimToLocal1 (const int k, const int j, const int il, const int iu, const AthenaArray< Real > &b1_vals, AthenaArray< Real > &prim_left, AthenaArray< Real > &prim_right, AthenaArray< Real > &bx)
 
virtual void PrimToLocal2 (const int k, const int j, const int il, const int iu, const AthenaArray< Real > &b2_vals, AthenaArray< Real > &prim_left, AthenaArray< Real > &prim_right, AthenaArray< Real > &bx)
 
virtual void PrimToLocal3 (const int k, const int j, const int il, const int iu, const AthenaArray< Real > &b3_vals, AthenaArray< Real > &prim_left, AthenaArray< Real > &prim_right, AthenaArray< Real > &bx)
 
virtual void FluxToGlobal1 (const int k, const int j, const int il, const int iu, const AthenaArray< Real > &cons, const AthenaArray< Real > &bbx, AthenaArray< Real > &flux, AthenaArray< Real > &ey, AthenaArray< Real > &ez)
 
virtual void FluxToGlobal2 (const int k, const int j, const int il, const int iu, const AthenaArray< Real > &cons, const AthenaArray< Real > &bbx, AthenaArray< Real > &flux, AthenaArray< Real > &ey, AthenaArray< Real > &ez)
 
virtual void FluxToGlobal3 (const int k, const int j, const int il, const int iu, const AthenaArray< Real > &cons, const AthenaArray< Real > &bbx, AthenaArray< Real > &flux, AthenaArray< Real > &ey, AthenaArray< Real > &ez)
 
virtual void RaiseVectorCell (Real a_0, Real a_1, Real a_2, Real a_3, int k, int j, int i, Real *pa0, Real *pa1, Real *pa2, Real *pa3)
 
virtual void LowerVectorCell (Real a0, Real a1, Real a2, Real a3, int k, int j, int i, Real *pa_0, Real *pa_1, Real *pa_2, Real *pa_3)
 

Friends

class HydroSourceTerms
 

Additional Inherited Members

- Public Attributes inherited from Coordinates
MeshBlockpmy_block
 
AthenaArray< Realdx1f
 
AthenaArray< Realdx2f
 
AthenaArray< Realdx3f
 
AthenaArray< Realx1f
 
AthenaArray< Realx2f
 
AthenaArray< Realx3f
 
AthenaArray< Realdx1v
 
AthenaArray< Realdx2v
 
AthenaArray< Realdx3v
 
AthenaArray< Realx1v
 
AthenaArray< Realx2v
 
AthenaArray< Realx3v
 
AthenaArray< Realx1s2
 
AthenaArray< Realx1s3
 
AthenaArray< Realx2s1
 
AthenaArray< Realx2s3
 
AthenaArray< Realx3s1
 
AthenaArray< Realx3s2
 
AthenaArray< Realh2f
 
AthenaArray< Realdh2fd1
 
AthenaArray< Realh31f
 
AthenaArray< Realh32f
 
AthenaArray< Realdh31fd1
 
AthenaArray< Realdh32fd2
 
AthenaArray< Realh2v
 
AthenaArray< Realdh2vd1
 
AthenaArray< Realh31v
 
AthenaArray< Realh32v
 
AthenaArray< Realdh31vd1
 
AthenaArray< Realdh32vd2
 
- Protected Attributes inherited from Coordinates
bool coarse_flag
 
Meshpm
 
int il
 
int iu
 
int jl
 
int ju
 
int kl
 
int ku
 
int ng
 
int nc1
 
int nc2
 
int nc3
 
AthenaArray< Realcoord_vol_i_
 
AthenaArray< Realcoord_vol_i1_
 
AthenaArray< Realcoord_vol_i2_
 
AthenaArray< Realcoord_vol_j_
 
AthenaArray< Realcoord_vol_j1_
 
AthenaArray< Realcoord_vol_j2_
 
AthenaArray< Realcoord_vol_k1_
 
AthenaArray< Realcoord_vol_kji_
 
AthenaArray< Realcoord_area1_i_
 
AthenaArray< Realcoord_area1_i1_
 
AthenaArray< Realcoord_area1_j_
 
AthenaArray< Realcoord_area1_j1_
 
AthenaArray< Realcoord_area1_j2_
 
AthenaArray< Realcoord_area1_k1_
 
AthenaArray< Realcoord_area1_kji_
 
AthenaArray< Realcoord_area2_i_
 
AthenaArray< Realcoord_area2_i1_
 
AthenaArray< Realcoord_area2_i2_
 
AthenaArray< Realcoord_area2_j_
 
AthenaArray< Realcoord_area2_j1_
 
AthenaArray< Realcoord_area2_j2_
 
AthenaArray< Realcoord_area2_k1_
 
AthenaArray< Realcoord_area2_kji_
 
AthenaArray< Realcoord_area3_i_
 
AthenaArray< Realcoord_area3_i1_
 
AthenaArray< Realcoord_area3_i2_
 
AthenaArray< Realcoord_area3_j1_
 
AthenaArray< Realcoord_area3_j2_
 
AthenaArray< Realcoord_area3_kji_
 
AthenaArray< Realcoord_area1vc_i_
 
AthenaArray< Realcoord_area1vc_j_
 
AthenaArray< Realcoord_area2vc_i_
 
AthenaArray< Realcoord_area2vc_j_
 
AthenaArray< Realcoord_area3vc_i_
 
AthenaArray< Realcoord_len1_i1_
 
AthenaArray< Realcoord_len1_i2_
 
AthenaArray< Realcoord_len1_j1_
 
AthenaArray< Realcoord_len1_j2_
 
AthenaArray< Realcoord_len1_kji_
 
AthenaArray< Realcoord_len2_i1_
 
AthenaArray< Realcoord_len2_j1_
 
AthenaArray< Realcoord_len2_j2_
 
AthenaArray< Realcoord_len2_kji_
 
AthenaArray< Realcoord_len3_i1_
 
AthenaArray< Realcoord_len3_j1_
 
AthenaArray< Realcoord_len3_j2_
 
AthenaArray< Realcoord_len3_k1_
 
AthenaArray< Realcoord_len3_kji_
 
AthenaArray< Realcoord_width1_i1_
 
AthenaArray< Realcoord_width1_kji_
 
AthenaArray< Realcoord_width2_i1_
 
AthenaArray< Realcoord_width2_j1_
 
AthenaArray< Realcoord_width2_kji_
 
AthenaArray< Realcoord_width3_j1_
 
AthenaArray< Realcoord_width3_j2_
 
AthenaArray< Realcoord_width3_j3_
 
AthenaArray< Realcoord_width3_k1_
 
AthenaArray< Realcoord_width3_ji1_
 
AthenaArray< Realcoord_width3_kji_
 
AthenaArray< Realcoord_src_j1_
 
AthenaArray< Realcoord_src_j2_
 
AthenaArray< Realcoord_src_kji_
 
AthenaArray< Realcoord_src1_i_
 
AthenaArray< Realcoord_src1_j_
 
AthenaArray< Realcoord_src2_i_
 
AthenaArray< Realcoord_src2_j_
 
AthenaArray< Realcoord_src3_j_
 
AthenaArray< Realphy_src1_i_
 
AthenaArray< Realphy_src2_i_
 
AthenaArray< Realmetric_cell_i1_
 
AthenaArray< Realmetric_cell_i2_
 
AthenaArray< Realmetric_cell_j1_
 
AthenaArray< Realmetric_cell_j2_
 
AthenaArray< Realmetric_cell_kji_
 
AthenaArray< Realmetric_face1_i1_
 
AthenaArray< Realmetric_face1_i2_
 
AthenaArray< Realmetric_face1_j1_
 
AthenaArray< Realmetric_face1_j2_
 
AthenaArray< Realmetric_face1_kji_
 
AthenaArray< Realmetric_face2_i1_
 
AthenaArray< Realmetric_face2_i2_
 
AthenaArray< Realmetric_face2_j1_
 
AthenaArray< Realmetric_face2_j2_
 
AthenaArray< Realmetric_face2_kji_
 
AthenaArray< Realmetric_face3_i1_
 
AthenaArray< Realmetric_face3_i2_
 
AthenaArray< Realmetric_face3_j1_
 
AthenaArray< Realmetric_face3_j2_
 
AthenaArray< Realmetric_face3_kji_
 
AthenaArray< Realtrans_face1_i1_
 
AthenaArray< Realtrans_face1_i2_
 
AthenaArray< Realtrans_face1_j1_
 
AthenaArray< Realtrans_face1_ji1_
 
AthenaArray< Realtrans_face1_ji2_
 
AthenaArray< Realtrans_face1_ji3_
 
AthenaArray< Realtrans_face1_ji4_
 
AthenaArray< Realtrans_face1_ji5_
 
AthenaArray< Realtrans_face1_ji6_
 
AthenaArray< Realtrans_face1_ji7_
 
AthenaArray< Realtrans_face1_kji_
 
AthenaArray< Realtrans_face2_i1_
 
AthenaArray< Realtrans_face2_i2_
 
AthenaArray< Realtrans_face2_j1_
 
AthenaArray< Realtrans_face2_ji1_
 
AthenaArray< Realtrans_face2_ji2_
 
AthenaArray< Realtrans_face2_ji3_
 
AthenaArray< Realtrans_face2_ji4_
 
AthenaArray< Realtrans_face2_ji5_
 
AthenaArray< Realtrans_face2_ji6_
 
AthenaArray< Realtrans_face2_kji_
 
AthenaArray< Realtrans_face3_i1_
 
AthenaArray< Realtrans_face3_i2_
 
AthenaArray< Realtrans_face3_j1_
 
AthenaArray< Realtrans_face3_ji1_
 
AthenaArray< Realtrans_face3_ji2_
 
AthenaArray< Realtrans_face3_ji3_
 
AthenaArray< Realtrans_face3_ji4_
 
AthenaArray< Realtrans_face3_ji5_
 
AthenaArray< Realtrans_face3_ji6_
 
AthenaArray< Realtrans_face3_kji_
 
AthenaArray< Realg_
 
AthenaArray< Realgi_
 
Real bh_mass_
 
Real bh_spin_
 

Detailed Description

Definition at line 285 of file coordinates.hpp.

Constructor & Destructor Documentation

◆ Cartesian()

Cartesian::Cartesian ( MeshBlock pmb,
ParameterInput pin,
bool  flag 
)

Definition at line 24 of file cartesian.cpp.

Friends And Related Function Documentation

◆ HydroSourceTerms

friend class HydroSourceTerms
friend

Definition at line 286 of file coordinates.hpp.


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