Skip to content

Commit 098146c

Browse files
committed
Fix typos
1 parent 2bcd715 commit 098146c

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

.github/workflows/spack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
# Note that each spack version needs it's own registry
15+
# Note that each spack version needs its own registry
1616
SPACK_VERSION: develop
1717
REGISTRY: ghcr.io/awslabs/palace
1818
GITHUB_USER: ${{ github.actor }}
@@ -49,7 +49,7 @@ jobs:
4949
ref: develop
5050
buildcache: true
5151
color: true
52-
# This seems unecessary, but otherwise we clone into ./spack
52+
# This seems unnecessary, but otherwise we clone into ./spack
5353
# This then would override the spack local repo dir, and break CI
5454
path: spack-path
5555

docs/src/config/domains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ with
126126
`"Index" [None]` : Index of this probe, used in postprocessing output files.
127127

128128
`"Center" [None]` : Floating point array of length equal to the model spatial dimension
129-
specfiying the coordinates of this probe in mesh length units.
129+
specifying the coordinates of this probe in mesh length units.

docs/src/developer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The following conventions also apply:
3232

3333
## Static analysis
3434

35-
During the `cmake` configuration step, definining the variables `ANALYZE_SOURCES_CLANG_TIDY`
35+
During the `cmake` configuration step, defining the variables `ANALYZE_SOURCES_CLANG_TIDY`
3636
and `ANALYZE_SOURCES_CPPCHECK` to `ON` will turn on static analysis using
3737
[`clang-tidy`](https://clang.llvm.org/extra/clang-tidy/) and
3838
[`cppcheck`](https://cppcheck.sourceforge.io/), respectively, during the build step. This
@@ -61,7 +61,7 @@ Timing facilities are provided by the `Timer` and `BlockTimer` classes.
6161
Creating a block as `BlockTimer b(idx)` where `idx` is a category like `CONSTRUCT`, `SOLVE`,
6262
etc. will record time so long as `b` is in scope; however, timing may be interrupted by
6363
creation of another `BlockTimer` object. It will resume whenever the new block is destroyed.
64-
Only one category is timed at once. This enables functions can declare how calls within them
64+
Only one category is timed at once. This enables functions to declare how calls within them
6565
are timed without needing to know how timing may be done by the calling function.
6666

6767
The `BlockTimer` implementation relies upon a static member object of the `Timer` class,

docs/src/examples/spheres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ uses the computed field energies, the capacitance can also be calculated by dire
9191
integrating the charge on a boundary surface and dividing by the excitation voltage. The
9292
configuration file for this example contains this information under
9393
[`config["Boundaries"]["Postprocessing"]["SurfaceFlux"]`](../config/boundaries.md#boundaries%5B%22Postprocessing%22%5D%5B%22SurfaceFlux%22%5D).
94-
The resulting capacitances are written to `postpro/surface-C.csv`:
94+
The resulting capacitances are written to `postpro/terminal-C.csv`:
9595

9696
```
9797
i, C[1] (F), C[2] (F)

docs/src/guide/problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In particular, lumped ports with nonzero resistance in the model will trigger co
2929
and quality factor calculations based on input-output (I-O) line coupling loss: By
3030
specifying resistive lumped ports in the model, the mode coupling quality factors will be
3131
computed as ``Q_{ml} = \omega_m/\kappa_{ml}``. The output file `port-Q.csv` will be created
32-
in the output directory containing these mode qualty factor contributions. For bulk and
32+
in the output directory containing these mode quality factor contributions. For bulk and
3333
interface dielectric loss calculations, which are not unique to the eigenmode simulation
3434
type, see the sections [Domain postprocessing](postprocessing.md#Domain-postprocessing) and
3535
[Boundary postprocessing](postprocessing.md#Boundary-postprocessing) of this guide.

docs/src/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ and run:
2424
spack install palace
2525
```
2626

27-
More information about about the available configuration options and dependencies can be
28-
found using `spack info palace`.
27+
More information about the available configuration options and dependencies can
28+
be found using `spack info palace`.
2929

3030
## Build using Singularity/Apptainer
3131

@@ -177,8 +177,8 @@ If the installation path of OpenBLAS is non-standard or is not found by default,
177177
set using the `OPENBLAS_DIR` or `OPENBLASROOT` environment variables, or added to
178178
`CMAKE_PREFIX_PATH` when calling CMake.
179179

180-
It is recommended in most cases to use a serial BLAS and LAPACK builds (not multithreaded),
181-
as the standard parallelization in approach in *Palace* is to use pure MPI parallelism.
180+
It is recommended in most cases to use serial BLAS and LAPACK builds (not multithreaded),
181+
as the standard parallelization approach in *Palace* is to use pure MPI parallelism.
182182

183183
## Dependencies
184184

palace/fem/coefficient.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ BdrSurfaceFluxCoefficient<SurfaceFlux::POWER>::GetLocalFlux(mfem::ElementTransfo
267267
// Uses the neighbor element on a user specified side to compute a single-sided value for
268268
// potentially discontinuous solutions for an interior boundary element. The four cases
269269
// correspond to a generic interface vs. specializations for metal-air, metal-substrate,
270-
// and subtrate-air interfaces following:
270+
// and substrate-air interfaces following:
271271
// J. Wenner et al., Surface loss simulations of superconducting coplanar waveguide
272272
// resonators, Appl. Phys. Lett. (2011).
273273
template <InterfaceDielectric Type>

palace/models/postoperator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class PostOperator
173173
// measurements. Conceptually, its members could be a part of this class, like the
174174
// ParaView fields and functions above. It has been separated out for code readability. To
175175
// achieve this, it is has a pointer back to its "parent" PostOperator class and is a
176-
// friend class so it can access the the private measurement_cache and references of the
176+
// friend class so it can access the private measurement_cache and references of the
177177
// system from fem_op.
178178
friend PostOperatorCSV<solver_t>;
179179

test/unit/test-config.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ TEST_CASE("Config Boundary Ports", "[config]")
4747
auto it_bool = boundary_ex_bool.lumpedport.begin();
4848
for (; it_int != boundary_ex_bool.lumpedport.end(); it_int++, it_bool++)
4949
{
50-
CHECK(it_bool->first == it_int->first); // Order is same as indicies are
50+
CHECK(it_bool->first == it_int->first); // Order is same as indices are
5151
CHECK(it_bool->second.excitation == it_int->second.excitation);
5252
}
5353
}
@@ -219,4 +219,4 @@ TEST_CASE("Config Driven Solver", "[config]")
219219
config::DrivenSolverData driven_solver;
220220
CHECK_THROWS(config::DrivenSolverData().SetUp(*config.find(c)));
221221
}
222-
}
222+
}

test/unit/test-libceed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ auto Initialize(MPI_Comm comm, const std::string &input, int ref_levels, bool am
6262
pmesh->UniformRefinement();
6363
}
6464

65-
// Perform nonconforming AMR (two levels of refinement with no hanging node restritions).
65+
// Perform nonconforming AMR (two levels of refinement with no hanging node restrictions).
6666
if (amr)
6767
{
6868
pmesh->RandomRefinement(0.5);

0 commit comments

Comments
 (0)