From d70f023c671549f14dd86a4bec90bfe404f56c96 Mon Sep 17 00:00:00 2001 From: Sebastian Grimberg Date: Fri, 16 Feb 2024 18:04:53 -0800 Subject: [PATCH] Fix typos in comments --- palace/drivers/eigensolver.cpp | 4 ++-- palace/fem/coefficient.hpp | 6 +++--- palace/fem/libceed/operator.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/palace/drivers/eigensolver.cpp b/palace/drivers/eigensolver.cpp index e4e088747..994312e25 100644 --- a/palace/drivers/eigensolver.cpp +++ b/palace/drivers/eigensolver.cpp @@ -81,7 +81,7 @@ EigenSolver::Solve(const std::vector> &mesh) const else if (type == config::EigenSolverData::Type::ARPACK) { #if defined(PALACE_WITH_ARPACK) - Mpi::Print("\nConfiguring ARPACK eigenvalue solver\n"); + Mpi::Print("\nConfiguring ARPACK eigenvalue solver:\n"); if (C) { eigen = std::make_unique(spaceop.GetComm(), @@ -97,7 +97,7 @@ EigenSolver::Solve(const std::vector> &mesh) const else // config::EigenSolverData::Type::SLEPC { #if defined(PALACE_WITH_SLEPC) - Mpi::Print("\nConfiguring SLEPc eigenvalue solver\n"); + Mpi::Print("\nConfiguring SLEPc eigenvalue solver:\n"); std::unique_ptr slepc; if (C) { diff --git a/palace/fem/coefficient.hpp b/palace/fem/coefficient.hpp index 578f9fe03..aebacb3ec 100644 --- a/palace/fem/coefficient.hpp +++ b/palace/fem/coefficient.hpp @@ -380,7 +380,7 @@ class EnergyDensityCoefficient : public mfem::Coefficient, public BdrGridFunctio GetBdrElementNeighborTransformations(T, ip); // For interior faces, compute the value on the side where the speed of light is - // larger (typically should choose the non-vacuum side). + // larger (typically should choose the vacuum side). if (FET.Elem2 && mat_op.GetLightSpeedMin(FET.Elem2->Attribute) > mat_op.GetLightSpeedMax(FET.Elem1->Attribute)) { @@ -469,7 +469,7 @@ class BdrFieldVectorCoefficient : public mfem::VectorCoefficient, GetBdrElementNeighborTransformations(T, ip); // For interior faces, compute the value on the side where the speed of light is - // larger (typically should choose the non-vacuum side). + // larger (typically should choose the vacuum side). if (FET.Elem2 && mat_op.GetLightSpeedMin(FET.Elem2->Attribute) > mat_op.GetLightSpeedMax(FET.Elem1->Attribute)) { @@ -501,7 +501,7 @@ class BdrFieldCoefficient : public mfem::Coefficient, public BdrGridFunctionCoef GetBdrElementNeighborTransformations(T, ip); // For interior faces, compute the value on the side where the speed of light is - // larger (typically should choose the non-vacuum side). + // larger (typically should choose the vacuum side). if (FET.Elem2 && mat_op.GetLightSpeedMin(FET.Elem2->Attribute) > mat_op.GetLightSpeedMax(FET.Elem1->Attribute)) { diff --git a/palace/fem/libceed/operator.cpp b/palace/fem/libceed/operator.cpp index 0201199a2..da0fe2a70 100644 --- a/palace/fem/libceed/operator.cpp +++ b/palace/fem/libceed/operator.cpp @@ -436,7 +436,7 @@ std::unique_ptr CeedOperatorFullAssemble(const Operator & } // Add CSR matrix objects from each thread (HYPRE's hypre_CSRMatrixAdd uses threads - // internally as available). We have to scale the duplcated nonzeros when set = true. + // internally as available). We have to scale the duplicated nonzeros when set = true. auto mat = std::move(loc_mat[0]); std::unique_ptr b_mat; if (set && op.Size() > 1)