<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 FACTORY_H
#define FACTORY_H

#include <set>
#include <vector>
#include <time.h>

// MOOSE includes
#include "MooseObject.h"
#include "InputParameters.h"
#include "MooseTypes.h"
#include "ParallelUniqueId.h"

/**
 * Macros
 */
#define stringifyName(name) #name
#define registerObject(name)                          factory.reg<name>(stringifyName(name))
#define registerNamedObject(obj, name)                factory.reg<obj>(name)
#define registerDeprecatedObject(name, time)          factory.regDeprecated<name>(stringifyName(name), time)
#define registerDeprecatedObjectName(obj, name, time) factory.regReplaced<obj>(stringifyName(obj), name, time)

// for backward compatibility
#define registerKernel(name)                        registerObject(name)
#define registerNodalKernel(name)                   registerObject(name)
#define registerBoundaryCondition(name)             registerObject(name)
#define registerAux(name)                           registerObject(name)
#define registerAuxKernel(name)                     registerObject(name)
#define registerMaterial(name)                      registerObject(name)
#define registerPostprocessor(name)                 registerObject(name)
#define registerVectorPostprocessor(name)           registerObject(name)
#define registerInitialCondition(name)              registerObject(name)
#define registerDamper(name)                        registerObject(name)
#define registerDiracKernel(name)                   registerObject(name)
#define registerDGKernel(name)                      registerObject(name)
#define registerInterfaceKernel(name)               registerObject(name)
#define registerExecutioner(name)                   registerObject(name)
#define registerFunction(name)                      registerObject(name)<commit_msg>Forward declare InputParameters<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 FACTORY_H
#define FACTORY_H

#include <set>
#include <vector>
#include <time.h>

// MOOSE includes
#include "MooseObject.h"
#include "MooseTypes.h"

// Forward declarations
class InputParameters;

/**
 * Macros
 */
#define stringifyName(name) #name
#define registerObject(name)                          factory.reg<name>(stringifyName(name))
#define registerNamedObject(obj, name)                factory.reg<obj>(name)
#define registerDeprecatedObject(name, time)          factory.regDeprecated<name>(stringifyName(name), time)
#define registerDeprecatedObjectName(obj, name, time) factory.regReplaced<obj>(stringifyName(obj), name, time)

// for backward compatibility
#define registerKernel(name)                        registerObject(name)
#define registerNodalKernel(name)                   registerObject(name)
#define registerBoundaryCondition(name)             registerObject(name)
#define registerAux(name)                           registerObject(name)
#define registerAuxKernel(name)                     registerObject(name)
#define registerMaterial(name)                      registerObject(name)
#define registerPostprocessor(name)                 registerObject(name)
#define registerVectorPostprocessor(name)           registerObject(name)
#define registerInitialCondition(name)              registerObject(name)
#define registerDamper(name)                        registerObject(name)
#define registerDiracKernel(name)                   registerObject(name)
#define registerDGKernel(name)                      registerObject(name)
#define registerInterfaceKernel(name)               registerObject(name)
#define registerExecutioner(name)                   registerObject(name)
#define registerFunction(name)                      registerObject(name)
{'fraction_non_alphanumeric': 0.1297709923664122, 'fraction_numerical': 0.004840811766896295, 'mean_word_length': 1.9307146753955264, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '6119090', 'n_tokens_mistral': 1209, 'n_tokens_neox': 1136, 'n_words': 269}