www.mooseframework.org
Enumerations | Functions
ElementVariablesDifferenceMax.C File Reference

Go to the source code of this file.

Enumerations

enum  CollectionOfAllValuesIntoAVector {
  MAXIMUM_DIFFERENCE, MAXIMUM_DIFFERENCE_A_VALUE, MAXIMUM_DIFFERENCE_B_VALUE, MAXIMUM_DIFFERENCE_X,
  MAXIMUM_DIFFERENCE_Y, MAXIMUM_DIFFERENCE_Z, SIZE
}
 

Functions

template<>
InputParameters validParams< ElementVariablesDifferenceMax > ()
 

Enumeration Type Documentation

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 >()