www.mooseframework.org
Functions
Advection.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("NavierStokesTestApp", Advection)
 
template<>
InputParameters validParams< Advection > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "NavierStokesTestApp"  ,
Advection   
)

◆ validParams< Advection >()

template<>
InputParameters validParams< Advection > ( )

Definition at line 17 of file Advection.C.

18 {
19  InputParameters params = validParams<INSBase>();
20 
21  params.addClassDescription("This class solves the scalar advection equation, "
22  "$\\vec{a}\\cdot\\nabla u = f$ with SUPG stabilization.");
23  params.addParam<FunctionName>("forcing_func", 0, "The forcing function, typically used for MMS.");
24  MooseEnum tau_type("opt mod");
25  params.addRequiredParam<MooseEnum>(
26  "tau_type", tau_type, "The type of stabilization parameter to use.");
27  return params;
28 }
validParams< INSBase >
InputParameters validParams< INSBase >()
Definition: INSBase.C:15