diff --git a/include/problem/MFEMProblem.h b/include/problem/MFEMProblem.h index f5ca5cef..b4b922a7 100644 --- a/include/problem/MFEMProblem.h +++ b/include/problem/MFEMProblem.h @@ -32,8 +32,6 @@ class MFEMProblem : public ExternalProblem public: static InputParameters validParams(); - mfem::Device _device; - MFEMProblem(const InputParameters & params); virtual ~MFEMProblem(); @@ -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; diff --git a/test/tests/unit/kernels/diffusion_mfem.i b/test/tests/unit/kernels/diffusion_mfem.i index d3e359bb..250c073a 100644 --- a/test/tests/unit/kernels/diffusion_mfem.i +++ b/test/tests/unit/kernels/diffusion_mfem.i @@ -7,7 +7,7 @@ [Problem] type = MFEMProblem use_glvis = true - device = "cuda" + device = "cpu" [] [Formulation]