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 6d988da commit 8cb0852
Showing 1 changed file with 3 additions and 3 deletions.
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 8cb0852

Please sign in to comment.