<commit_before>/****************************************************************/
/*               DO NOT MODIFY THIS HEADER                      */
/* MOOSE - Multiphysics Object Oriented Simulation Environment  */
/*                                                              */
/*           (c) 2010 Battelle Energy Alliance, LLC             */
/*                   ALL RIGHTS RESERVED                        */
/*                                                              */
/*          Prepared by Battelle Energy Alliance, LLC           */
/*            Under Contract No. DE-AC07-05ID14517              */
/*            With the U. S. Department of Energy               */
/*                                                              */
/*            See COPYRIGHT for full restrictions               */
/****************************************************************/

#include "MaterialUserObject.h"

template<>
InputParameters validParams<MaterialUserObject>()
{
  InputParameters params = validParams<ElementUserObject>();
  return params;
}

MaterialUserObject::MaterialUserObject(const InputParameters & parameters) :
    ElementUserObject(parameters)
{
}

void
MaterialUserObject::execute()
{
  mooseError("MaterialUserObjects must be called explicitly from Materials");
}

void
MaterialUserObject::finalize()
{
  mooseError("MaterialUserObjects must be called explicitly from Materials");
}
<commit_msg>Suppress execute_on parameter and set to custom (#6233)<commit_after>/****************************************************************/
/*               DO NOT MODIFY THIS HEADER                      */
/* MOOSE - Multiphysics Object Oriented Simulation Environment  */
/*                                                              */
/*           (c) 2010 Battelle Energy Alliance, LLC             */
/*                   ALL RIGHTS RESERVED                        */
/*                                                              */
/*          Prepared by Battelle Energy Alliance, LLC           */
/*            Under Contract No. DE-AC07-05ID14517              */
/*            With the U. S. Department of Energy               */
/*                                                              */
/*            See COPYRIGHT for full restrictions               */
/****************************************************************/

#include "MaterialUserObject.h"

template<>
InputParameters validParams<MaterialUserObject>()
{
  InputParameters params = validParams<ElementUserObject>();

  // UOs of this type should not be executed by MOOSE, but only called directly by the user
  params.set<MultiMooseEnum>("execute_on") = "custom";
  params.suppressParameter<MultiMooseEnum>("execute_on");

  return params;
}

MaterialUserObject::MaterialUserObject(const InputParameters & parameters) :
    ElementUserObject(parameters)
{
}

void
MaterialUserObject::execute()
{
  mooseError("MaterialUserObjects must be called explicitly from Materials");
}

void
MaterialUserObject::finalize()
{
  mooseError("MaterialUserObjects must be called explicitly from Materials");
}

{'fraction_non_alphanumeric': 0.16264090177133655, 'fraction_numerical': 0.00966183574879227, 'mean_word_length': 1.7931654676258992, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1878305', 'n_tokens_mistral': 666, 'n_tokens_neox': 620, 'n_words': 177}