Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Feb 19, 2024
1 parent 8b72b22 commit 6c7d418
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions palace/drivers/eigensolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,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 @@ -97,7 +97,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
2 changes: 1 addition & 1 deletion palace/fem/libceed/operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ std::unique_ptr<hypre::HypreCSRMatrix> 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<hypre::HypreCSRMatrix> b_mat;
if (set && op.Size() > 1)
Expand Down

0 comments on commit 6c7d418

Please sign in to comment.