Skip to content

This MooseApp code plugin contains a set of MooseObjects providing the [Stages] input file blocks.

License

Notifications You must be signed in to change notification settings

jmeier/moose-codeplugin-stages

Repository files navigation

Stages mooseapp-code-plugin

This MooseApp code plugin contains a set of MooseObjects providing the [Stages] input file blocks.

Setup for Users

If you want to use this code-plugin in your MooseApp, follow these steps:

  • Clone this repository as git-submodule in a sub-folder in ./contrib/ of your MooseApp. Assuming you are in the root directory of your MooseApp this could be done with the following command:

    git submodule add https://github.com/jmeier/moose-codeplugin-stages.git contrib/stages
  • In your MooseApp Makefile, insert the following line directly above the line include $(FRAMEWORK_DIR)/app.mk (if you have multiple code plugins, you need this line only once):

    include $(wildcard $(CURDIR)/contrib/*/codeplugin.mk)
  • Edit your MooseApp main .C-file (located in ./src/base/; the file named xyzApp.C where xyz is the name of your app)

    • at the top where all the includes are, add:

      #include "StagesRegistrar.h"
    • insert the following line at the end of method xyzApp::registerAll(Factory & f, ActionFactory & af, Syntax & s):

      StagesRegistrar::registerAll(s);

      The method should now look like this:

      install.png

  • Compile your MooseApp.

About

This MooseApp code plugin contains a set of MooseObjects providing the [Stages] input file blocks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published