www.mooseframework.org
RdgApp.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #include "RdgApp.h"
9 #include "Moose.h"
10 #include "AppFactory.h"
11 #include "MooseSyntax.h"
12 
13 // BCs
14 #include "AEFVBC.h"
15 
16 // Materials
17 #include "AEFVMaterial.h"
18 
19 // DG kernels
20 #include "AEFVKernel.h"
21 
22 // User objects
24 #include "AEFVSlopeLimitingOneD.h"
27 
28 template <>
29 InputParameters
31 {
32  InputParameters params = validParams<MooseApp>();
33  return params;
34 }
35 
36 RdgApp::RdgApp(InputParameters parameters) : MooseApp(parameters)
37 {
38  Moose::registerObjects(_factory);
39  RdgApp::registerObjects(_factory);
40 
41  Moose::associateSyntax(_syntax, _action_factory);
42  RdgApp::associateSyntax(_syntax, _action_factory);
43 }
44 
46 
47 // External entry point for dynamic application loading
48 extern "C" void
50 {
52 }
53 void
55 {
56  registerApp(RdgApp);
57 }
58 
59 // External entry point for dynamic object registration
60 extern "C" void
61 RdgApp__registerObjects(Factory & factory)
62 {
63  RdgApp::registerObjects(factory);
64 }
65 void
66 RdgApp::registerObjects(Factory & factory)
67 {
68  // DG kernels
69  registerDGKernel(AEFVKernel);
70 
71  // BCs
72  registerBoundaryCondition(AEFVBC);
73 
74  // Materials
75  registerMaterial(AEFVMaterial);
76 
77  // User objects
78  registerUserObject(AEFVSlopeReconstructionOneD);
79  registerUserObject(AEFVSlopeLimitingOneD);
80  registerUserObject(AEFVUpwindInternalSideFlux);
81  registerUserObject(AEFVFreeOutflowBoundaryFlux);
82 }
83 
84 // External entry point for dynamic syntax association
85 extern "C" void
86 RdgApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
87 {
88  RdgApp::associateSyntax(syntax, action_factory);
89 }
90 void
91 RdgApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
92 {
93 }
One-dimensional slope limiting to get the limited slope of cell average variable for the advection eq...
void RdgApp__registerObjects(Factory &factory)
Definition: RdgApp.C:61
One-dimensional piecewise linear slope reconstruction to get the slope of cell average variable for t...
InputParameters validParams< RdgApp >()
Definition: RdgApp.C:30
virtual ~RdgApp()
Definition: RdgApp.C:45
static void registerObjects(Factory &factory)
Definition: RdgApp.C:66
Definition: RdgApp.h:18
A boundary condition object for the advection equation using a cell-centered finite volume method...
Definition: AEFVBC.h:43
RdgApp(InputParameters parameters)
Definition: RdgApp.C:36
A dgkernel for the advection equation using a cell-centered finite volume method. ...
Definition: AEFVKernel.h:42
void RdgApp__registerApps()
Definition: RdgApp.C:49
Upwind numerical flux scheme for the advection equation using a cell-centered finite volume method...
static void registerApps()
Definition: RdgApp.C:54
Free outflow BC based boundary flux user object for the advection equation using a cell-centered fini...
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: RdgApp.C:91
void RdgApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: RdgApp.C:86
A material kernel for the advection equation using a cell-centered finite volume method.
Definition: AEFVMaterial.h:42