Skip to content

Commit

Permalink
fix spell from updated codespell (AMReX-Astro#2854)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored May 24, 2024
1 parent f7309fc commit 158d4b0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .codespell-ignore-words
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ nd
ue
bion
aas
checkin
2 changes: 1 addition & 1 deletion Docs/source/Hydrodynamics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ behavior:
Compute Primitive Variables
---------------------------

We compute the primtive variables from the conserved variables.
We compute the primitive variables from the conserved variables.

- :math:`\rho, \rho e`: directly copy these from the conserved state
vector
Expand Down
2 changes: 1 addition & 1 deletion Docs/source/Verification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ test problem. A hot sphere is centered at the origin in a spherical
geometry. The spectrum from this sphere follows a Planck
distribution. The ambient medium is at a much lower temperature. A
frequency-dependent opacity makes the domain optically thin for high
frequecies and optically thick for low frequency. At long times, the
frequencies and optically thick for low frequency. At long times, the
solution will be a combination of the blackbody radiation from the
ambient medium plus the radiation that propagated from the hot sphere.
An analytic solution exists :cite:`graziani:2008` which gives the
Expand Down
10 changes: 5 additions & 5 deletions Source/hydro/Castro_hydro.H
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
amrex::Array4<amrex::Real> const& srcQ);

///
/// the actual work routine that does the conversion of conserved to primtiive
/// the actual work routine that does the conversion of conserved to primitive
/// variables.
///
/// @param bx the box to operate over
Expand Down Expand Up @@ -350,7 +350,7 @@
/// @param idir coordinate direction (0 = x, 1 = y, 2 = z)
/// @param q_arr the primitive variable state
/// @param flatn_arr flattening coefficient
/// @param dq slope of the primtiive variables
/// @param dq slope of the primitive variables
/// @param qm left interface state, e.g., q_{i-1/2,j,k,L}
/// @param qp right interface state, e.g., q_{i-1/2,j,k,R}
///
Expand Down Expand Up @@ -603,7 +603,7 @@
amrex::Real cdtdx_t1, amrex::Real cdtdx_t2);

///
/// Reconstruct the primtive state as parabola, integrate under them,
/// Reconstruct the primitive state as parabola, integrate under them,
/// and perform the characteristic tracing to get the interface states.
/// This is for the CTU hydrodynamics scheme.
///
Expand Down Expand Up @@ -634,7 +634,7 @@
const amrex::Real dt);

///
/// Reconstruct the primtive state as pieceeise linear, integrate under them,
/// Reconstruct the primitive state as pieceeise linear, integrate under them,
/// and perform the characteristic tracing to get the interface states.
/// This is for the CTU hydrodynamics scheme.
///
Expand Down Expand Up @@ -665,7 +665,7 @@
const amrex::Real dt);

///
/// Reconstruct the primtive state as parabola, integrate under them,
/// Reconstruct the primitive state as parabola, integrate under them,
/// and perform the characteristic tracing to get the interface states.
/// This is for the CTU radiation hydrodynamics scheme.
///
Expand Down

0 comments on commit 158d4b0

Please sign in to comment.