<commit_before>#include "PikaApp.h"
#include "Moose.h"
#include "AppFactory.h"

// Modules
#include "PhaseFieldApp.h"
#include "HeatConductionApp.h"

// UserObjects
#include "ChemicalPotentialPropertyUserObject.h"

// Materials
#include "ConstantProperties.h"
#include "PhaseFieldProperties.h"
#include "IceProperties.h"
#include "AirProperties.h"

// Kernels
#include "MaterialTimeDerivative.h"
#include "CoefficientTimeDerivative.h"
#include "PhaseFieldPotential.h"
#include "PhaseTransition.h"
#include "StefanCondition.h"

// InitialConditions
#include "ChemicalPotentialIC.h"

template<>
InputParameters validParams<PikaApp>()
{
  InputParameters params = validParams<MooseApp>();
  return params;
}

PikaApp::PikaApp(const std::string & name, InputParameters parameters) :
    MooseApp(name, parameters)
{
  srand(processor_id());

  Moose::registerObjects(_factory);
  PhaseFieldApp::registerObjects(_factory);
  HeatConductionApp::registerObjects(_factory);
  PikaApp::registerObjects(_factory);

  Moose::associateSyntax(_syntax, _action_factory);
  PhaseFieldApp::associateSyntax(_syntax, _action_factory);
  HeatConductionApp::associateSyntax(_syntax, _action_factory);
  PikaApp::associateSyntax(_syntax, _action_factory);
}

PikaApp::~PikaApp()
{
}

void
PikaApp::registerApps()
{
  registerApp(PikaApp);
}

void
PikaApp::registerObjects(Factory & factory)
{
  // UserObjects
  registerUserObject(ChemicalPotentialPropertyUserObject);

  // Materials
  registerMaterial(ConstantProperties);
  registerMaterial(PhaseFieldProperties);
  registerMaterial(IceProperties);
  registerMaterial(AirProperties);

  // Kernels
  registerKernel(MaterialTimeDerivative);
  registerKernel(CoefficientTimeDerivative);
  registerKernel(PhaseFieldPotential);
  registerKernel(PhaseTransition);
  registerKernel(StefanCondition);

  // InitialConditions
  registerInitialCondition(ChemicalPotentialIC);
<commit_msg>Adding Nicoli, 2011 tensor mobility<commit_after>#include "PikaApp.h"
#include "Moose.h"
#include "AppFactory.h"

// Modules
#include "PhaseFieldApp.h"
#include "HeatConductionApp.h"

// UserObjects
#include "ChemicalPotentialPropertyUserObject.h"

// Materials
#include "ConstantProperties.h"
#include "PhaseFieldProperties.h"
#include "IceProperties.h"
#include "AirProperties.h"
#include "TensorMobilityMaterial.h"

// Kernels
#include "MaterialTimeDerivative.h"
#include "CoefficientTimeDerivative.h"
#include "PhaseFieldPotential.h"
#include "PhaseTransition.h"
#include "StefanCondition.h"
#include "TensorDiffusion.h"

// InitialConditions
#include "ChemicalPotentialIC.h"

template<>
InputParameters validParams<PikaApp>()
{
  InputParameters params = validParams<MooseApp>();
  return params;
}

PikaApp::PikaApp(const std::string & name, InputParameters parameters) :
    MooseApp(name, parameters)
{
  srand(processor_id());

  Moose::registerObjects(_factory);
  PhaseFieldApp::registerObjects(_factory);
  HeatConductionApp::registerObjects(_factory);
  PikaApp::registerObjects(_factory);

  Moose::associateSyntax(_syntax, _action_factory);
  PhaseFieldApp::associateSyntax(_syntax, _action_factory);
  HeatConductionApp::associateSyntax(_syntax, _action_factory);
  PikaApp::associateSyntax(_syntax, _action_factory);
}

PikaApp::~PikaApp()
{
}

void
PikaApp::registerApps()
{
  registerApp(PikaApp);
}

void
PikaApp::registerObjects(Factory & factory)
{
  // UserObjects
  registerUserObject(ChemicalPotentialPropertyUserObject);

  // Materials
  registerMaterial(ConstantProperties);
  registerMaterial(PhaseFieldProperties);
  registerMaterial(IceProperties);
  registerMaterial(AirProperties);
  registerMaterial(TensorMobilityMaterial);

  // Kernels
  registerKernel(MaterialTimeDerivative);
  registerKernel(CoefficientTimeDerivative);
  registerKernel(PhaseFieldPotential);
  registerKernel(PhaseTransition);
  registerKernel(StefanCondition);
  registerKernel(TensorDiffusion);

  // InitialConditions
  registerInitialCondition(ChemicalPotentialIC);

{'fraction_non_alphanumeric': 0.11308926780341023, 'fraction_numerical': 0.0010030090270812437, 'mean_word_length': 7.8841870824053455, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2180102', 'n_tokens_mistral': 1276, 'n_tokens_neox': 1214, 'n_words': 184}