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

Go to the source code of this file.

Classes

class  VariableTimeIntegrationAux
 An AuxKernel that can be used to integrate a field variable in time using a variety of different integration methods. More...
 

Functions

template<>
InputParameters validParams< VariableTimeIntegrationAux > ()
 

Function Documentation

Definition at line 19 of file VariableTimeIntegrationAux.C.

20 {
22  params.addRequiredCoupledVar("variable_to_integrate", "The variable to be integrated");
23  params.addParam<Real>("coefficient", 1.0, "A simple coefficient");
24  params.addParam<unsigned int>(
25  "order", 2, "The order of global truncation error: midpoint=1, trapazoidal=2, Simpson=3");
26  return params;
27 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< AuxKernel >()
Definition: AuxKernel.C:30
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
This method adds a coupled variable name pair.
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...