Skip to content

Commit

Permalink
update tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
rwcarlsen committed Mar 9, 2018
1 parent a76ce3d commit fef675c
Show file tree
Hide file tree
Showing 21 changed files with 29 additions and 361 deletions.
2 changes: 1 addition & 1 deletion framework/src/base/Moose.C
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace Moose
void
registerObjects(Factory & factory)
{
registerObjects(factory, {"MooseApp", factory.app().type()});
registerObjects(factory, {"MooseApp"});
}

void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class DarcyThermoMechApp : public MooseApp
DarcyThermoMechApp(InputParameters parameters);

static void registerApps();
static void registerObjects(Factory & factory);
static void associateSyntax(Syntax & syntax, ActionFactory & action_factory);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ validParams<DarcyThermoMechApp>()
DarcyThermoMechApp::DarcyThermoMechApp(InputParameters parameters) : MooseApp(parameters)
{
Moose::registerObjects(_factory);
Registry::registerObjectsTo(_factory, {type()});
ModulesApp::registerObjects(_factory);
DarcyThermoMechApp::registerObjects(_factory);

Moose::associateSyntax(_syntax, _action_factory);
ModulesApp::associateSyntax(_syntax, _action_factory);
Expand All @@ -40,11 +40,6 @@ DarcyThermoMechApp::registerApps()
registerApp(DarcyThermoMechApp);
}

void
DarcyThermoMechApp::registerObjects(Factory & /*factory*/)
{
}

void
DarcyThermoMechApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
{
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "DarcyPressure.h"

registerMooseObject("DarcyThermoMechApp", DarcyPressure);

template <>
InputParameters
validParams<DarcyPressure>()
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "DarcyPressure.h"

registerMooseObject("DarcyThermoMechApp", DarcyPressure);

template <>
InputParameters
validParams<DarcyPressure>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "PackedColumn.h"

registerMooseObject("DarcyThermoMechApp", PackedColumn);

template <>
InputParameters
validParams<PackedColumn>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "DarcyVelocity.h"

registerMooseObject("DarcyThermoMechApp", DarcyVelocity);

template <>
InputParameters
validParams<DarcyVelocity>()
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "HeatConductionOutflow.h"

registerMooseObject("DarcyThermoMechApp", HeatConductionOutflow);

template <>
InputParameters
validParams<HeatConductionOutflow>()
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "DarcyConvection.h"

registerMooseObject("DarcyThermoMechApp", DarcyConvection);

template <>
InputParameters
validParams<DarcyConvection>()
Expand Down
Loading

0 comments on commit fef675c

Please sign in to comment.