Skip to content

Commit

Permalink
Moved Device member
Browse files Browse the repository at this point in the history
  • Loading branch information
Heinrich-BR committed Jul 9, 2024
1 parent 6893955 commit dd15564
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/problem/MFEMProblem.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class MFEMProblem : public ExternalProblem
public:
static InputParameters validParams();

mfem::Device _device;

MFEMProblem(const InputParameters & params);
virtual ~MFEMProblem();

Expand Down Expand Up @@ -174,6 +172,8 @@ class MFEMProblem : public ExternalProblem
std::string _input_mesh;
std::string _formulation_name;
int _order;
mfem::Device _device;


hephaestus::Coefficients _coefficients;
hephaestus::InputParameters _solver_options;
Expand Down
2 changes: 1 addition & 1 deletion test/tests/unit/kernels/diffusion_mfem.i
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[Problem]
type = MFEMProblem
use_glvis = true
device = "cuda"
device = "cpu"
[]

[Formulation]
Expand Down

0 comments on commit dd15564

Please sign in to comment.