Skip to content

Commit

Permalink
Fix an incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Feb 16, 2024
1 parent 07f1e74 commit dcdd063
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions palace/drivers/eigensolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ EigenSolver::Solve(const std::vector<std::unique_ptr<Mesh>> &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<arpack::ArpackPEPSolver>(spaceop.GetComm(),
Expand All @@ -98,7 +98,7 @@ EigenSolver::Solve(const std::vector<std::unique_ptr<Mesh>> &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::SlepcEigenvalueSolver> slepc;
if (C)
{
Expand Down
6 changes: 3 additions & 3 deletions palace/fem/coefficient.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down Expand Up @@ -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))
{
Expand Down Expand Up @@ -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))
{
Expand Down

0 comments on commit dcdd063

Please sign in to comment.