1 #ifndef SRC_EXO3_AFFINE_COORDINATE_HPP_
2 #define SRC_EXO3_AFFINE_COORDINATE_HPP_
5 #include <athena/athena.hpp>
6 #include <athena/coordinates/coordinates.hpp>
15 void Face1Area(
const int k,
const int j,
const int il,
const int iu,
17 void Face2Area(
const int k,
const int j,
const int il,
const int iu,
19 void Face3Area(
const int k,
const int j,
const int il,
const int iu,
21 Real
GetFace1Area(
const int k,
const int j,
const int i)
final;
22 Real
GetFace2Area(
const int k,
const int j,
const int i)
final;
23 Real
GetFace3Area(
const int k,
const int j,
const int i)
final;
31 void CellVolume(
const int k,
const int j,
const int il,
const int iu,
35 void CellMetric(
const int k,
const int j,
const int il,
const int iu,
37 void Face1Metric(
const int k,
const int j,
const int il,
const int iu,
39 void Face2Metric(
const int k,
const int j,
const int il,
const int iu,
41 void Face3Metric(
const int k,
const int j,
const int il,
const int iu,
44 void PrimToLocal2(
const int k,
const int j,
const int il,
const int iu,
48 void PrimToLocal3(
const int k,
const int j,
const int il,
const int iu,
53 void FluxToGlobal2(
const int k,
const int j,
const int il,
const int iu,
57 void FluxToGlobal3(
const int k,
const int j,
const int il,
const int iu,
Real GetCellVolume(const int k, const int j, const int i)
void Face1Area(const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
void PrimToLocal3(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)
void Face3Area(const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
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)
Real GetFace3Area(const int k, const int j, const int i) final
void Face1Metric(const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
void CellMetric(const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
void VolCenterFace1Area(const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
void VolCenterFace3Area(const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
void CellVolume(const int k, const int j, const int il, const int iu, AthenaArray< Real > &vol)
void PrimToLocal2(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)
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)
Real GetFace2Area(const int k, const int j, const int i) final
void Face2Metric(const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
AffineCoordinate(MeshBlock *pmb, ParameterInput *pin, bool flag)
Cartesian coordinates constructor.
void Face3Metric(const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
Real GetFace1Area(const int k, const int j, const int i) final
void Face2Area(const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
void VolCenterFace2Area(const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final