Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few minor typos in comments #203

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions palace/drivers/eigensolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,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 @@ -95,7 +95,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 @@ -379,7 +379,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 @@ -467,7 +467,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 @@ -499,7 +499,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