Canoe
Comprehensive Atmosphere N' Ocean Engine
AffineCoordinate Class Reference

#include <affine_coordinate.hpp>

Inheritance diagram for AffineCoordinate:
[legend]

Public Member Functions

 AffineCoordinate (MeshBlock *pmb, ParameterInput *pin, bool flag)
 Cartesian coordinates constructor. More...
 
void Face1Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
 
void Face2Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
 
void Face3Area (const int k, const int j, const int il, const int iu, AthenaArray< Real > &area) final
 
Real GetFace1Area (const int k, const int j, const int i) final
 
Real GetFace2Area (const int k, const int j, const int i) final
 
Real GetFace3Area (const int k, const int j, const int i) final
 
void VolCenterFace1Area (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
 
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)
 
Real GetCellVolume (const int k, const int j, const int i)
 
void CellMetric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
 
void Face1Metric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
 
void Face2Metric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
 
void Face3Metric (const int k, const int j, const int il, const int iu, AthenaArray< Real > &g, AthenaArray< Real > &g_inv)
 
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 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 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)
 
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)
 

Protected Attributes

Real theta_
 
Real sin_theta_
 
Real cos_theta_
 

Detailed Description

Definition at line 11 of file affine_coordinate.hpp.

Constructor & Destructor Documentation

◆ AffineCoordinate()

AffineCoordinate::AffineCoordinate ( MeshBlock *  pmb,
ParameterInput *  pin,
bool  flag 
)

Cartesian coordinates constructor.

Definition at line 14 of file affine_coordinate.cpp.

Member Function Documentation

◆ Face1Area()

void AffineCoordinate::Face1Area ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  area 
)
final

Definition at line 119 of file affine_coordinate.cpp.

◆ Face2Area()

void AffineCoordinate::Face2Area ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  area 
)
final

Definition at line 129 of file affine_coordinate.cpp.

◆ Face3Area()

void AffineCoordinate::Face3Area ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  area 
)
final

Definition at line 139 of file affine_coordinate.cpp.

◆ GetFace1Area()

Real AffineCoordinate::GetFace1Area ( const int  k,
const int  j,
const int  i 
)
final

Definition at line 152 of file affine_coordinate.cpp.

◆ GetFace2Area()

Real AffineCoordinate::GetFace2Area ( const int  k,
const int  j,
const int  i 
)
final

Definition at line 156 of file affine_coordinate.cpp.

◆ GetFace3Area()

Real AffineCoordinate::GetFace3Area ( const int  k,
const int  j,
const int  i 
)
final

Definition at line 160 of file affine_coordinate.cpp.

◆ VolCenterFace1Area()

void AffineCoordinate::VolCenterFace1Area ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  area 
)
final

Definition at line 169 of file affine_coordinate.cpp.

◆ VolCenterFace2Area()

void AffineCoordinate::VolCenterFace2Area ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  area 
)
final

Definition at line 180 of file affine_coordinate.cpp.

◆ VolCenterFace3Area()

void AffineCoordinate::VolCenterFace3Area ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  area 
)
final

Definition at line 191 of file affine_coordinate.cpp.

◆ CellVolume()

void AffineCoordinate::CellVolume ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  vol 
)

Definition at line 204 of file affine_coordinate.cpp.

◆ GetCellVolume()

Real AffineCoordinate::GetCellVolume ( const int  k,
const int  j,
const int  i 
)

Definition at line 216 of file affine_coordinate.cpp.

◆ CellMetric()

void AffineCoordinate::CellMetric ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  g,
AthenaArray< Real > &  g_inv 
)

Definition at line 222 of file affine_coordinate.cpp.

◆ Face1Metric()

void AffineCoordinate::Face1Metric ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  g,
AthenaArray< Real > &  g_inv 
)

Definition at line 256 of file affine_coordinate.cpp.

◆ Face2Metric()

void AffineCoordinate::Face2Metric ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  g,
AthenaArray< Real > &  g_inv 
)

Definition at line 292 of file affine_coordinate.cpp.

◆ Face3Metric()

void AffineCoordinate::Face3Metric ( const int  k,
const int  j,
const int  il,
const int  iu,
AthenaArray< Real > &  g,
AthenaArray< Real > &  g_inv 
)

Definition at line 328 of file affine_coordinate.cpp.

◆ PrimToLocal2()

void AffineCoordinate::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 
)

Definition at line 376 of file affine_coordinate.cpp.

◆ PrimToLocal3()

void AffineCoordinate::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 
)

Definition at line 447 of file affine_coordinate.cpp.

◆ FluxToGlobal2()

void AffineCoordinate::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 
)

Definition at line 533 of file affine_coordinate.cpp.

◆ FluxToGlobal3()

void AffineCoordinate::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 
)

Definition at line 586 of file affine_coordinate.cpp.

Member Data Documentation

◆ theta_

Real AffineCoordinate::theta_
protected

Definition at line 63 of file affine_coordinate.hpp.

◆ sin_theta_

Real AffineCoordinate::sin_theta_
protected

Definition at line 64 of file affine_coordinate.hpp.

◆ cos_theta_

Real AffineCoordinate::cos_theta_
protected

Definition at line 65 of file affine_coordinate.hpp.


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