From dcdd0636f87193f347225545c1ca35a1231d490d Mon Sep 17 00:00:00 2001 From: Sebastian Grimberg Date: Thu, 15 Feb 2024 16:50:14 -0800 Subject: [PATCH] Fix an incorrect comment --- palace/drivers/eigensolver.cpp | 4 ++-- palace/fem/coefficient.hpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/palace/drivers/eigensolver.cpp b/palace/drivers/eigensolver.cpp index f9866d518..3e22cbdb4 100644 --- a/palace/drivers/eigensolver.cpp +++ b/palace/drivers/eigensolver.cpp @@ -82,7 +82,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(), @@ -98,7 +98,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)) {