Skip to content

Commit

Permalink
Further bug fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Jul 14, 2023
1 parent 9327a58 commit cc43db8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion palace/linalg/distrelaxation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "distrelaxation.hpp"

#include <mfem.hpp>
#include <general/forall.hpp>
#include <mfem/general/forall.hpp>
#include "linalg/chebyshev.hpp"
#include "linalg/rap.hpp"

Expand Down
2 changes: 1 addition & 1 deletion palace/linalg/jacobi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "jacobi.hpp"

#include <general/forall.hpp>
#include <mfem/general/forall.hpp>

namespace palace
{
Expand Down
2 changes: 1 addition & 1 deletion palace/linalg/operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "operator.hpp"

#include <general/forall.hpp>
#include <mfem/general/forall.hpp>
#include "linalg/slepc.hpp"
#include "utils/communication.hpp"

Expand Down
8 changes: 5 additions & 3 deletions palace/linalg/rap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "rap.hpp"

#include <general/forall.hpp>
#include <mfem/general/forall.hpp>

namespace palace
{
Expand Down Expand Up @@ -152,6 +152,7 @@ mfem::HypreParMatrix &ParOperator::ParallelAssemble()
{
MFEM_ABORT("Unable to assemble the local operator for parallel assembly of "
"BilinearForm!");
lA = nullptr;
}
#else
MFEM_VERIFY(bfA->HasSpMat(),
Expand Down Expand Up @@ -191,15 +192,16 @@ mfem::HypreParMatrix &ParOperator::ParallelAssemble()
{
lA = &mbfA->SpMat();
}
else if (bfA->HasExt())
else if (mbfA->HasExt())
{
lA = mfem::ceed::CeedOperatorFullAssemble(*bfA);
lA = mfem::ceed::CeedOperatorFullAssemble(*mbfA);
own_lA = true;
}
else
{
MFEM_ABORT("Unable to assemble the local operator for parallel assembly of "
"MixedBilinearForm!");
lA = nullptr;
}
#else
MFEM_VERIFY(
Expand Down
2 changes: 1 addition & 1 deletion palace/linalg/strumpack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ StrumpackSolverBase<StrumpackSolverType>::StrumpackSolverBase(
this->SetCompressionRelTol(lr_tol);
break;
case config::LinearSolverData::CompressionType::NONE:
default:
case config::LinearSolverData::CompressionType::INVALID:
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion palace/linalg/vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <cstdint>
#include <random>
#include <general/forall.hpp>
#include <mfem/general/forall.hpp>

namespace palace
{
Expand Down

0 comments on commit cc43db8

Please sign in to comment.