www.mooseframework.org
Classes | Functions
Advection.h File Reference

Go to the source code of this file.

Classes

class  Advection
 This class is responsible for solving the scalar advection equation, possibly with a forcing function. More...
 

Functions

template<>
InputParameters validParams< Advection > ()
 

Function Documentation

◆ 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