Skip to content

Commit

Permalink
Reenable resetQpProperties warning. (idaholab#8444).
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad authored and rwcarlsen committed Mar 13, 2017
1 parent a7464be commit a17eca9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions framework/include/base/FEProblemBase.h
Expand Up @@ -256,10 +256,10 @@ class FEProblemBase :
virtual void setActiveMaterialProperties(const std::set<unsigned int> & mat_prop_ids, THREAD_ID tid) override;

virtual const std::set<unsigned int> & getActiveMaterialProperties(THREAD_ID tid) override;

virtual bool hasActiveMaterialProperties(THREAD_ID tid) override;

virtual void clearActiveMaterialProperties(THREAD_ID tid) override;
virtual void clearActiveMaterialProperties(THREAD_ID tid) override;

virtual void createQRules(QuadratureType type, Order order, Order volume_order=INVALID_ORDER, Order face_order=INVALID_ORDER);

Expand Down
1 change: 0 additions & 1 deletion framework/include/materials/MaterialPropertyInterface.h
Expand Up @@ -291,7 +291,6 @@ MaterialPropertyInterface::getMaterialProperty(const std::string & name)
{
// Check if the supplied parameter is a valid input parameter key
std::string prop_name = deducePropertyName(name);
std::cout << "Material property " << prop_name << " is being requested by " << _mi_name << "." << std::endl;

// Check if it's just a constant
const MaterialProperty<T> * default_property = defaultMaterialProperty<T>(prop_name);
Expand Down
3 changes: 2 additions & 1 deletion test/tests/materials/discrete/reset_warning.i
Expand Up @@ -12,8 +12,9 @@

[Kernels]
[./diff]
type = Diffusion
type = MatDiffusion
variable = u
prop_name = 'prop'
[../]
[]

Expand Down

0 comments on commit a17eca9

Please sign in to comment.