Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcars committed Mar 12, 2024
1 parent a59241d commit a791245
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions palace/fem/integ/mixedvecgrad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@

#include "fem/libceed/coefficient.hpp"
#include "fem/libceed/integrator.hpp"
#include "utils/diagnostic.hpp"

PalacePragmaDiagnosticPush
PalacePragmaDiagnosticDisableUnused

#include "fem/qfunctions/hcurl_qf.h"
#include "fem/qfunctions/hcurlhdiv_qf.h"

PalacePragmaDiagnosticPop

namespace palace
{

Expand Down
5 changes: 3 additions & 2 deletions palace/fem/integrator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ namespace palace
class MaterialPropertyCoefficient;

//
// Classes which implement or extend bilinear and linear form integrators.
// In doc strings u refers to the trial function, and v the test function.
// Classes which implement or extend bilinear and linear form integrators. In doc strings u
// refers to the trial function, and v the test function.
//

namespace fem
Expand Down Expand Up @@ -188,6 +188,7 @@ class DivDivMassIntegrator : public BilinearFormIntegrator
// Integrator for a(u, v) = (Q grad u, v) for u in H1 and v in H(curl) or H(div).
class MixedVectorGradientIntegrator : public BilinearFormIntegrator
{
protected:
int trial_map_type = mfem::FiniteElement::UNKNOWN_MAP_TYPE;
int test_map_type = mfem::FiniteElement::UNKNOWN_MAP_TYPE;

Expand Down
2 changes: 1 addition & 1 deletion test/unit/test-libceed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ void RunCeedIntegratorTests(MPI_Comm comm, const std::string &input, int ref_lev
{
BilinearForm a_test(h1_fespace, rt_fespace);
mfem::MixedBilinearForm a_ref(&h1_fespace.Get(), &rt_fespace.Get());
if ((dim == 3 && !bdr_integ) || (dim == 2 && !bdr_integ)) // Only in 2D or 3D
if (!bdr_integ)
{
switch (coeff_type)
{
Expand Down

0 comments on commit a791245

Please sign in to comment.