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

Go to the source code of this file.

Classes

class  ElementVariablesDifferenceMax
 Finds the largest difference between two variable fields. More...
 

Functions

template<>
InputParameters validParams< ElementVariablesDifferenceMax > ()
 

Function Documentation

Definition at line 24 of file ElementVariablesDifferenceMax.C.

25 {
27 
28  params.addRequiredCoupledVar(
29  "compare_a",
30  "The first variable to evaluate the difference with, performed as \"compare_a - compare_b\"");
31  params.addRequiredCoupledVar("compare_b",
32  "The second variable to evaluate the difference with, "
33  "performed as \"compare_a - compare_b\"");
34 
35  params.addParam<bool>(
36  "furthest_from_zero", false, "Find the difference with the highest absolute value");
37 
38  return params;
39 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
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...
InputParameters validParams< ElementVectorPostprocessor >()