Classes | Functions
DGKernel.h File Reference

Go to the source code of this file.


class  DGKernel
 The DGKernel class is responsible for calculating the residuals for various physics on internal sides (edges/faces). More...


InputParameters validParams< DGKernel > ()

Function Documentation

Definition at line 33 of file DGKernel.C.

Referenced by validParams< DGConvection >(), and validParams< DGDiffusion >().

34 {
41  params.addRequiredParam<NonlinearVariableName>(
42  "variable", "The name of the variable that this boundary condition applies to");
43  params.addParam<bool>("use_displaced_mesh",
44  false,
45  "Whether or not this object should use the "
46  "displaced mesh for computation. Note that in "
47  "the case this is true but no displacements "
48  "are provided in the Mesh block the "
49  "undisplaced mesh will still be used.");
50  params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
52  params.declareControllable("enable");
53  params.registerBase("DGKernel");
54  params.addParam<std::vector<AuxVariableName>>(
55  "save_in",
56  "The name of auxiliary variables to save this Kernel's residual contributions to. "
57  " Everything about that variable must match everything about this variable (the "
58  "type, what blocks it's on, etc.)");
59  params.addParam<std::vector<AuxVariableName>>(
60  "diag_save_in",
61  "The name of auxiliary variables to save this Kernel's diagonal Jacobian "
62  "contributions to. Everything about that variable must match everything "
63  "about this variable (the type, what blocks it's on, etc.)");
65  return params;
66 }
InputParameters validParams< BlockRestrictable >()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
InputParameters validParams< MeshChangedInterface >()
InputParameters validParams< MooseObject >()
Definition: MooseObject.C:22
InputParameters validParams< BoundaryRestrictable >()
InputParameters validParams< TwoMaterialPropertyInterface >()
InputParameters validParams< TransientInterface >()