Changes
Page history
Update 3.1 Code basics
authored
Jan 08, 2021
by
Udo Ziegler
Show whitespace changes
Inline
Side-by-side
3-NIRVANA-user-guide/3.1-Code-basics.md
View page @
5b48bfac
...
@@ -63,8 +63,8 @@ determining the coordinate system with canonical coordinates
...
@@ -63,8 +63,8 @@ determining the coordinate system with canonical coordinates
| | geometry | canonical coordinates | metric scale factors |
| | geometry | canonical coordinates | metric scale factors |
| | | (
*x*
,
*y*
,
*z*
) | (
*h*
<sub>
*x*
</sub>
,
*h*
<sub>
*y*
</sub>
(
*x*
),
*h*
<sub>
*z*
</sub>
=
*h*
<sub>
*y*
</sub>
(
*x*
) ⋅
*h*
<sub>
*zy*
</sub>
(
*y*
)) |
| | | (
*x*
,
*y*
,
*z*
) | (
*h*
<sub>
*x*
</sub>
,
*h*
<sub>
*y*
</sub>
(
*x*
),
*h*
<sub>
*z*
</sub>
=
*h*
<sub>
*y*
</sub>
(
*x*
) ⋅
*h*
<sub>
*zy*
</sub>
(
*y*
)) |
| !
[
CART
](
uploads/5f4052ddeef58a9db3b74c9904879e35/CART.png
)
| CARTESIAN | (
*x*
,
*y*
,
*z*
) | (1, 1, 1) |
| !
[
CART
](
uploads/5f4052ddeef58a9db3b74c9904879e35/CART.png
)
| CARTESIAN | (
*x*
,
*y*
,
*z*
) | (1, 1, 1) |
| !
[
image
](
../pic
/CYL.png
)
| CYLINDRICAL | (
*z*
,
*R*
,
*ϕ*
) | (1, 1,
*R*
) |
| !
[
CYL
](
uploads/5a1aea6b07b2ec9aca7f36aac8da0200
/CYL.png
)
| CYLINDRICAL | (
*z*
,
*R*
,
*ϕ*
) | (1, 1,
*R*
) |
| !
[
image
](
../pic
/SPH.png
)
| SPHERICAL | (
*r*
,
*θ*
,
*ϕ*
) | (1,
*r*
,
*r*
⋅ sin
*θ*
) |
| !
[
SPH
](
uploads/00d2f413938859f1cdb3cc8cd0c1ca71
/SPH.png
)
| SPHERICAL | (
*r*
,
*θ*
,
*ϕ*
) | (1,
*r*
,
*r*
⋅ sin
*θ*
) |
The grid is assumed evenly spaced in canonical coordinates with cell
The grid is assumed evenly spaced in canonical coordinates with cell
sizes (or resolutions)
sizes (or resolutions)
...
...
...
...