www.mooseframework.org
RichardsSeffPrimeAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef RICHARDSSEFFPRIMEAUX_H
9 #define RICHARDSSEFFPRIMEAUX_H
10 
11 #include "AuxKernel.h"
12 
13 #include "RichardsSeff.h"
14 
15 // Forward Declarations
17 
18 template <>
19 InputParameters validParams<RichardsSeffPrimeAux>();
20 
24 class RichardsSeffPrimeAux : public AuxKernel
25 {
26 public:
27  RichardsSeffPrimeAux(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeValue();
31 
38 
43  int _wrt1;
44 
50  std::vector<const VariableValue *> _pressure_vals;
51 
53  std::vector<Real> _mat;
54 };
55 
56 #endif // RICHARDSSEFFPRIMEAUX_H
InputParameters validParams< RichardsSeffPrimeAux >()
Base class for effective saturation as a function of porepressure(s) The functions seff...
Definition: RichardsSeff.h:22
std::vector< const VariableValue * > _pressure_vals
the porepressure values (this will be length N where N is the number of arguments that the _seff_UO r...
int _wrt1
AuxKernel calculates d^2(Seff)/dP_wrt1 so wrt1 is the porepressure number to differentiate wrt to...
std::vector< Real > _mat
array of derivtives: This auxkernel returns _mat[_wrt1]
Calculates derivative of effective saturation wrt a specified porepressure.
RichardsSeffPrimeAux(const InputParameters &parameters)
const RichardsSeff & _seff_UO
The user object that defines effective saturation as function of porepressure (or porepressures in th...