<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               */
/****************************************************************/

#ifndef PROBLEM_H
#define PROBLEM_H

//#include "Output.h"
#include "ParallelUniqueId.h"
#include "InputParameters.h"
//#include "MaterialProperty.h"
#include "Function.h"
#include "MooseMesh.h"
#include "SubProblemInterface.h"

// libMesh
#include "libmesh_common.h"
#include "equation_systems.h"
#include "quadrature.h"
#include "elem.h"
#include "node.h"
#include "nonlinear_implicit_system.h"

class MooseVariable;
class Output;
class Material;

class Problem;

template<>
InputParameters validParams<Problem>();

class Problem
{
public:
  Problem(const std::string & name, InputParameters parameters);
  virtual ~Problem();

  virtual EquationSystems & es() = 0;
  virtual Problem * parent() = 0;

  /**
   * Get reference to all-purpose parameters
   */
  Parameters & parameters() { return _pars; }

  // Variables /////
  virtual bool hasVariable(const std::string & var_name) = 0;
  virtual MooseVariable & getVariable(THREAD_ID tid, const std::string & var_name) = 0;

  virtual void initialSetup() {};
  virtual void timestepSetup() {};
<commit_msg>Changing return type of parameters helper in Problem.h based on user request Ticket #000<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               */
/****************************************************************/

#ifndef PROBLEM_H
#define PROBLEM_H

//#include "Output.h"
#include "ParallelUniqueId.h"
#include "InputParameters.h"
//#include "MaterialProperty.h"
#include "Function.h"
#include "MooseMesh.h"
#include "SubProblemInterface.h"

// libMesh
#include "libmesh_common.h"
#include "equation_systems.h"
#include "quadrature.h"
#include "elem.h"
#include "node.h"
#include "nonlinear_implicit_system.h"

class MooseVariable;
class Output;
class Material;

class Problem;

template<>
InputParameters validParams<Problem>();

class Problem
{
public:
  Problem(const std::string & name, InputParameters parameters);
  virtual ~Problem();

  virtual EquationSystems & es() = 0;
  virtual Problem * parent() = 0;

  /**
   * Get reference to all-purpose parameters
   */
  InputParameters & parameters() { return _pars; }

  // Variables /////
  virtual bool hasVariable(const std::string & var_name) = 0;
  virtual MooseVariable & getVariable(THREAD_ID tid, const std::string & var_name) = 0;

  virtual void initialSetup() {};
  virtual void timestepSetup() {};

{'fraction_non_alphanumeric': 0.16607951685958733, 'fraction_numerical': 0.009310518369401107, 'mean_word_length': 2.00453514739229, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7369119', 'n_tokens_mistral': 1030, 'n_tokens_neox': 961, 'n_words': 279}