From 42be199a9b5353bbb84322f4ccc9faa225610177 Mon Sep 17 00:00:00 2001 From: Luca Bertagna Date: Tue, 8 Oct 2024 11:33:16 -0600 Subject: [PATCH] Fix compilation warnings in demoPDEs --- .../evaluators/PHAL_AdvDiffResid_Def.hpp | 104 +++++++++--------- .../evaluators/PHAL_AdvectionResid_Def.hpp | 2 +- .../evaluators/PHAL_HelmholtzResid.hpp | 2 +- .../evaluators/PHAL_HelmholtzResid_Def.hpp | 4 +- .../evaluators/PHAL_JouleHeating_Def.hpp | 4 +- .../evaluators/PHAL_NSBodyForce_Def.hpp | 2 +- .../evaluators/PHAL_NSContinuityResid_Def.hpp | 2 +- .../PHAL_NSContravarientMetricTensor_Def.hpp | 2 +- .../evaluators/PHAL_NSForchheimerTerm_Def.hpp | 2 +- .../PHAL_NSMaterialProperty_Def.hpp | 2 +- .../evaluators/PHAL_NSMomentumResid_Def.hpp | 2 +- .../evaluators/PHAL_NSNeutronEqResid_Def.hpp | 2 +- .../PHAL_NSPermeabilityTerm_Def.hpp | 2 +- src/demoPDEs/evaluators/PHAL_NSRm_Def.hpp | 2 +- src/demoPDEs/evaluators/PHAL_NSTauM_Def.hpp | 2 +- src/demoPDEs/evaluators/PHAL_NSTauT_Def.hpp | 2 +- .../evaluators/PHAL_NSThermalEqResid_Def.hpp | 2 +- src/demoPDEs/evaluators/PHAL_ODEResid_Def.hpp | 2 +- .../evaluators/PHAL_PoissonResid_Def.hpp | 4 +- .../PHAL_ReactDiffSystemResid_Def.hpp | 4 +- src/demoPDEs/evaluators/PHAL_TEProp_Def.hpp | 2 +- .../evaluators/PHAL_ThermalResid_Def.hpp | 2 +- .../problems/Albany_AdvDiffProblem.hpp | 2 +- .../problems/Albany_Helmholtz2DProblem.hpp | 2 +- src/demoPDEs/problems/Albany_NavierStokes.hpp | 2 +- src/demoPDEs/problems/Albany_ODEProblem.hpp | 2 +- .../problems/Albany_ReactDiffSystem.hpp | 2 +- .../Albany_ThermoElectrostaticsProblem.hpp | 2 +- 28 files changed, 81 insertions(+), 85 deletions(-) diff --git a/src/demoPDEs/evaluators/PHAL_AdvDiffResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_AdvDiffResid_Def.hpp index 507f982a1e..26ef9199fb 100644 --- a/src/demoPDEs/evaluators/PHAL_AdvDiffResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_AdvDiffResid_Def.hpp @@ -28,7 +28,7 @@ AdvDiffResid(const Teuchos::ParameterList& p) : UDot (p.get ("QP Time Derivative Variable Name"), p.get >("QP Vector Data Layout") ), Residual (p.get ("Residual Name"), - p.get >("Node Vector Data Layout") ) + p.get >("Node Vector Data Layout") ) { @@ -59,26 +59,26 @@ AdvDiffResid(const Teuchos::ParameterList& p) : vecDim = dims[2]; - a = bf_list->get("Advection a", 1.0); - b = bf_list->get("Advection b", 1.0); - mu = bf_list->get("Viscosity mu", 0.1); - useAugForm = bf_list->get("Use Augmented Form", false); + a = bf_list->get("Advection a", 1.0); + b = bf_list->get("Advection b", 1.0); + mu = bf_list->get("Viscosity mu", 0.1); + useAugForm = bf_list->get("Use Augmented Form", false); formType = bf_list->get("Augmented Form Type", 1); - bool error = true; - if (formType == 1 || formType == 2) - error = false; + bool error = true; + if (formType == 1 || formType == 2) + error = false; TEUCHOS_TEST_FOR_EXCEPTION(error, std::logic_error, "Invalid Augmented Form Type: " << formType << "; valid options are 1 and 2"); - - std::cout << "a, b, mu: " << a << ", " << b << ", " << mu << std::endl; + + std::cout << "a, b, mu: " << a << ", " << b << ", " << mu << std::endl; std::cout << " vecDim = " << vecDim << std::endl; std::cout << " numDims = " << numDims << std::endl; - std::cout << "Augmented Form? " << useAugForm << std::endl; - if (useAugForm == true) - std::cout << " Augmented form type: " << formType << std::endl; + std::cout << "Augmented Form? " << useAugForm << std::endl; + if (useAugForm == true) + std::cout << " Augmented form type: " << formType << std::endl; } @@ -86,7 +86,7 @@ AdvDiffResid(const Teuchos::ParameterList& p) : //********************************************************************** template void AdvDiffResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(U,fm); @@ -103,64 +103,62 @@ template void AdvDiffResid:: evaluateFields(typename Traits::EvalData workset) { - typedef Intrepid2::FunctionSpaceTools FST; - if (useAugForm == false) { //standard form of advection-diffusion equation for (std::size_t cell=0; cell < workset.numCells; ++cell) { for (std::size_t node=0; node < numNodes; ++node) { - for (std::size_t i=0; i void AdvectionResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF, fm); diff --git a/src/demoPDEs/evaluators/PHAL_HelmholtzResid.hpp b/src/demoPDEs/evaluators/PHAL_HelmholtzResid.hpp index 57efb0a0ad..aef6ff2a3e 100644 --- a/src/demoPDEs/evaluators/PHAL_HelmholtzResid.hpp +++ b/src/demoPDEs/evaluators/PHAL_HelmholtzResid.hpp @@ -38,7 +38,7 @@ class HelmholtzResid : public PHX::EvaluatorWithBaseImpl, void evaluateFields(typename Traits::EvalData d); - virtual ScalarT& getValue(const std::string &n) {return ksqr;}; + virtual ScalarT& getValue(const std::string &/* n */) {return ksqr;}; private: diff --git a/src/demoPDEs/evaluators/PHAL_HelmholtzResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_HelmholtzResid_Def.hpp index adf3d6565e..28e82730aa 100644 --- a/src/demoPDEs/evaluators/PHAL_HelmholtzResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_HelmholtzResid_Def.hpp @@ -66,7 +66,7 @@ HelmholtzResid(const Teuchos::ParameterList& p) : //********************************************************************** template void HelmholtzResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF,fm); @@ -86,7 +86,7 @@ postRegistrationSetup(typename Traits::SetupData d, //********************************************************************** template void HelmholtzResid:: -evaluateFields(typename Traits::EvalData workset) +evaluateFields(typename Traits::EvalData /* workset */) { typedef Intrepid2::FunctionSpaceTools FST; typedef Intrepid2::RealSpaceTools RST; diff --git a/src/demoPDEs/evaluators/PHAL_JouleHeating_Def.hpp b/src/demoPDEs/evaluators/PHAL_JouleHeating_Def.hpp index a5354b91c9..5f74b39093 100644 --- a/src/demoPDEs/evaluators/PHAL_JouleHeating_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_JouleHeating_Def.hpp @@ -38,7 +38,7 @@ JouleHeating(Teuchos::ParameterList& p) : // ********************************************************************** template void JouleHeating:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(jouleHeating,fm); @@ -49,7 +49,7 @@ postRegistrationSetup(typename Traits::SetupData d, // ********************************************************************** template void JouleHeating:: -evaluateFields(typename Traits::EvalData workset) +evaluateFields(typename Traits::EvalData /* workset */) { Intrepid2::FunctionSpaceTools::dotMultiplyDataData (jouleHeating.get_view(), potentialFlux.get_view(), potentialGrad.get_view()); diff --git a/src/demoPDEs/evaluators/PHAL_NSBodyForce_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSBodyForce_Def.hpp index ae10118ea0..532cd1eb41 100644 --- a/src/demoPDEs/evaluators/PHAL_NSBodyForce_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSBodyForce_Def.hpp @@ -78,7 +78,7 @@ NSBodyForce(const Teuchos::ParameterList& p) : //********************************************************************** template void NSBodyForce:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { if (bf_type == CONSTANT) { diff --git a/src/demoPDEs/evaluators/PHAL_NSContinuityResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSContinuityResid_Def.hpp index 6c98920b89..8a54747016 100644 --- a/src/demoPDEs/evaluators/PHAL_NSContinuityResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSContinuityResid_Def.hpp @@ -61,7 +61,7 @@ NSContinuityResid(const Teuchos::ParameterList& p) : //********************************************************************** template void NSContinuityResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSContravarientMetricTensor_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSContravarientMetricTensor_Def.hpp index 97ac69e546..82ccdb0e2f 100644 --- a/src/demoPDEs/evaluators/PHAL_NSContravarientMetricTensor_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSContravarientMetricTensor_Def.hpp @@ -39,7 +39,7 @@ NSContravarientMetricTensor(const Teuchos::ParameterList& p) : //********************************************************************** template void NSContravarientMetricTensor:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(coordVec,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSForchheimerTerm_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSForchheimerTerm_Def.hpp index 7fe5aaef6b..fb3c700d6f 100644 --- a/src/demoPDEs/evaluators/PHAL_NSForchheimerTerm_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSForchheimerTerm_Def.hpp @@ -56,7 +56,7 @@ NSForchheimerTerm(const Teuchos::ParameterList& p) : //********************************************************************** template void NSForchheimerTerm:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(V,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSMaterialProperty_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSMaterialProperty_Def.hpp index 6a0fd4d0a2..70621b74b8 100644 --- a/src/demoPDEs/evaluators/PHAL_NSMaterialProperty_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSMaterialProperty_Def.hpp @@ -158,7 +158,7 @@ NSMaterialProperty(Teuchos::ParameterList& p) : // ********************************************************************** template void NSMaterialProperty:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(matprop,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSMomentumResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSMomentumResid_Def.hpp index dc06c0ad6e..d55f2aecac 100644 --- a/src/demoPDEs/evaluators/PHAL_NSMomentumResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSMomentumResid_Def.hpp @@ -76,7 +76,7 @@ NSMomentumResid(const Teuchos::ParameterList& p) : //********************************************************************** template void NSMomentumResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSNeutronEqResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSNeutronEqResid_Def.hpp index 28320e2c3e..339d4d44ba 100644 --- a/src/demoPDEs/evaluators/PHAL_NSNeutronEqResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSNeutronEqResid_Def.hpp @@ -68,7 +68,7 @@ NSNeutronEqResid(const Teuchos::ParameterList& p) : //********************************************************************** template void NSNeutronEqResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSPermeabilityTerm_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSPermeabilityTerm_Def.hpp index 295e03a16a..02ab6756a2 100644 --- a/src/demoPDEs/evaluators/PHAL_NSPermeabilityTerm_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSPermeabilityTerm_Def.hpp @@ -52,7 +52,7 @@ NSPermeabilityTerm(const Teuchos::ParameterList& p) : //********************************************************************** template void NSPermeabilityTerm:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(V,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSRm_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSRm_Def.hpp index ae9666a27f..90ce038e15 100644 --- a/src/demoPDEs/evaluators/PHAL_NSRm_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSRm_Def.hpp @@ -69,7 +69,7 @@ NSRm(const Teuchos::ParameterList& p) : //********************************************************************** template void NSRm:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(pGrad,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSTauM_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSTauM_Def.hpp index bcd336a5d1..4fc5575941 100644 --- a/src/demoPDEs/evaluators/PHAL_NSTauM_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSTauM_Def.hpp @@ -48,7 +48,7 @@ NSTauM(const Teuchos::ParameterList& p) : //********************************************************************** template void NSTauM:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(V,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSTauT_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSTauT_Def.hpp index 6b603153a9..e600341990 100644 --- a/src/demoPDEs/evaluators/PHAL_NSTauT_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSTauT_Def.hpp @@ -51,7 +51,7 @@ NSTauT(const Teuchos::ParameterList& p) : //********************************************************************** template void NSTauT:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(V,fm); diff --git a/src/demoPDEs/evaluators/PHAL_NSThermalEqResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_NSThermalEqResid_Def.hpp index 9dc2318d85..b04cbd6daf 100644 --- a/src/demoPDEs/evaluators/PHAL_NSThermalEqResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_NSThermalEqResid_Def.hpp @@ -94,7 +94,7 @@ NSThermalEqResid(const Teuchos::ParameterList& p) : //********************************************************************** template void NSThermalEqResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF,fm); diff --git a/src/demoPDEs/evaluators/PHAL_ODEResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_ODEResid_Def.hpp index c537aabec6..426141ff9a 100644 --- a/src/demoPDEs/evaluators/PHAL_ODEResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_ODEResid_Def.hpp @@ -36,7 +36,7 @@ ODEResid::ODEResid(Teuchos::ParameterList& p) : //********************************************************************** template void ODEResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& vm) { this->utils.setFieldData(X,vm); diff --git a/src/demoPDEs/evaluators/PHAL_PoissonResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_PoissonResid_Def.hpp index 13b58c3941..f33ffb4bc5 100644 --- a/src/demoPDEs/evaluators/PHAL_PoissonResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_PoissonResid_Def.hpp @@ -41,7 +41,7 @@ PoissonResid(const Teuchos::ParameterList& p, //********************************************************************** template void PHAL::PoissonResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF,fm); @@ -58,7 +58,7 @@ postRegistrationSetup(typename Traits::SetupData d, //********************************************************************** template void PHAL::PoissonResid:: -evaluateFields(typename Traits::EvalData workset) +evaluateFields(typename Traits::EvalData /* workset */) { typedef Intrepid2::FunctionSpaceTools FST; diff --git a/src/demoPDEs/evaluators/PHAL_ReactDiffSystemResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_ReactDiffSystemResid_Def.hpp index b895675f9e..56ea458d4c 100644 --- a/src/demoPDEs/evaluators/PHAL_ReactDiffSystemResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_ReactDiffSystemResid_Def.hpp @@ -107,7 +107,7 @@ ReactDiffSystemResid(const Teuchos::ParameterList& p) : //********************************************************************** template void ReactDiffSystemResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(U,fm); @@ -123,8 +123,6 @@ template void ReactDiffSystemResid:: evaluateFields(typename Traits::EvalData workset) { - typedef Intrepid2::FunctionSpaceTools FST; - for (std::size_t cell=0; cell < workset.numCells; ++cell) { for (std::size_t node=0; node < numNodes; ++node) { for (std::size_t i=0; i void PHAL::TEProp:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(permittivity,fm); diff --git a/src/demoPDEs/evaluators/PHAL_ThermalResid_Def.hpp b/src/demoPDEs/evaluators/PHAL_ThermalResid_Def.hpp index db7de74751..d00606309c 100644 --- a/src/demoPDEs/evaluators/PHAL_ThermalResid_Def.hpp +++ b/src/demoPDEs/evaluators/PHAL_ThermalResid_Def.hpp @@ -115,7 +115,7 @@ ThermalResid(const Teuchos::ParameterList& p, //********************************************************************** template void ThermalResid:: -postRegistrationSetup(typename Traits::SetupData d, +postRegistrationSetup(typename Traits::SetupData /* d */, PHX::FieldManager& fm) { this->utils.setFieldData(wBF, fm); diff --git a/src/demoPDEs/problems/Albany_AdvDiffProblem.hpp b/src/demoPDEs/problems/Albany_AdvDiffProblem.hpp index 50fc23b09e..98f4f9ab06 100644 --- a/src/demoPDEs/problems/Albany_AdvDiffProblem.hpp +++ b/src/demoPDEs/problems/Albany_AdvDiffProblem.hpp @@ -105,7 +105,7 @@ Teuchos::RCP Albany::AdvDiffProblem::constructEvaluators( PHX::FieldManager& fm0, const Albany::MeshSpecsStruct& meshSpecs, - Albany::StateManager& stateMgr, + Albany::StateManager& /* stateMgr */, Albany::FieldManagerChoice fieldManagerChoice, const Teuchos::RCP& responseList) { diff --git a/src/demoPDEs/problems/Albany_Helmholtz2DProblem.hpp b/src/demoPDEs/problems/Albany_Helmholtz2DProblem.hpp index 95e744599d..3033549388 100644 --- a/src/demoPDEs/problems/Albany_Helmholtz2DProblem.hpp +++ b/src/demoPDEs/problems/Albany_Helmholtz2DProblem.hpp @@ -101,7 +101,7 @@ Teuchos::RCP Albany::Helmholtz2DProblem::constructEvaluators( PHX::FieldManager& fm0, const Albany::MeshSpecsStruct& meshSpecs, - Albany::StateManager& stateMgr, + Albany::StateManager& /* stateMgr */, Albany::FieldManagerChoice fieldManagerChoice, const Teuchos::RCP& responseList) { diff --git a/src/demoPDEs/problems/Albany_NavierStokes.hpp b/src/demoPDEs/problems/Albany_NavierStokes.hpp index 8352855a18..466e6b0b69 100644 --- a/src/demoPDEs/problems/Albany_NavierStokes.hpp +++ b/src/demoPDEs/problems/Albany_NavierStokes.hpp @@ -155,7 +155,7 @@ Teuchos::RCP Albany::NavierStokes::constructEvaluators( PHX::FieldManager& fm0, const Albany::MeshSpecsStruct& meshSpecs, - Albany::StateManager& stateMgr, + Albany::StateManager& /* stateMgr */, Albany::FieldManagerChoice fieldManagerChoice, const Teuchos::RCP& responseList) { diff --git a/src/demoPDEs/problems/Albany_ODEProblem.hpp b/src/demoPDEs/problems/Albany_ODEProblem.hpp index 371d0172e1..6832b95d0c 100644 --- a/src/demoPDEs/problems/Albany_ODEProblem.hpp +++ b/src/demoPDEs/problems/Albany_ODEProblem.hpp @@ -98,7 +98,7 @@ Teuchos::RCP Albany::ODEProblem::constructEvaluators( PHX::FieldManager& fm0, const Albany::MeshSpecsStruct& meshSpecs, - Albany::StateManager& stateMgr, + Albany::StateManager& /* stateMgr */, Albany::FieldManagerChoice fieldManagerChoice, const Teuchos::RCP& responseList) { diff --git a/src/demoPDEs/problems/Albany_ReactDiffSystem.hpp b/src/demoPDEs/problems/Albany_ReactDiffSystem.hpp index bd08a14870..8b203c1b02 100644 --- a/src/demoPDEs/problems/Albany_ReactDiffSystem.hpp +++ b/src/demoPDEs/problems/Albany_ReactDiffSystem.hpp @@ -105,7 +105,7 @@ Teuchos::RCP Albany::ReactDiffSystem::constructEvaluators( PHX::FieldManager& fm0, const Albany::MeshSpecsStruct& meshSpecs, - Albany::StateManager& stateMgr, + Albany::StateManager& /* stateMgr */, Albany::FieldManagerChoice fieldManagerChoice, const Teuchos::RCP& responseList) { diff --git a/src/demoPDEs/problems/Albany_ThermoElectrostaticsProblem.hpp b/src/demoPDEs/problems/Albany_ThermoElectrostaticsProblem.hpp index f5bd518596..363e81b7bb 100644 --- a/src/demoPDEs/problems/Albany_ThermoElectrostaticsProblem.hpp +++ b/src/demoPDEs/problems/Albany_ThermoElectrostaticsProblem.hpp @@ -107,7 +107,7 @@ Teuchos::RCP Albany::ThermoElectrostaticsProblem::constructEvaluators( PHX::FieldManager& fm0, const Albany::MeshSpecsStruct& meshSpecs, - Albany::StateManager& stateMgr, + Albany::StateManager& /* stateMgr */, Albany::FieldManagerChoice fieldManagerChoice, const Teuchos::RCP& responseList) {