www.mooseframework.org
RichardsSeff.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 RICHARDSSEFF_H
9 #define RICHARDSSEFF_H
10 
11 #include "GeneralUserObject.h"
12 
13 class RichardsSeff;
14 
15 template <>
16 InputParameters validParams<RichardsSeff>();
17 
22 class RichardsSeff : public GeneralUserObject
23 {
24 public:
25  RichardsSeff(const InputParameters & parameters);
26 
27  void initialize();
28  void execute();
29  void finalize();
30 
36  virtual Real seff(std::vector<const VariableValue *> p, unsigned int qp) const = 0;
37 
47  virtual void dseff(std::vector<const VariableValue *> p,
48  unsigned int qp,
49  std::vector<Real> & result) const = 0;
50 
59  // virtual std::vector<std::vector<Real> > d2seff(std::vector<const VariableValue *> p, unsigned
60  // int qp) const = 0;
61  virtual void d2seff(std::vector<const VariableValue *> p,
62  unsigned int qp,
63  std::vector<std::vector<Real>> & result) const = 0;
64 };
65 
66 #endif // RICHARDSSEFF_H
Base class for effective saturation as a function of porepressure(s) The functions seff...
Definition: RichardsSeff.h:22
void initialize()
Definition: RichardsSeff.C:25
virtual void dseff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< Real > &result) const =0
derivative(s) of effective saturation as a function of porepressure(s) at given quadpoint of the elem...
void execute()
Definition: RichardsSeff.C:30
InputParameters validParams< RichardsSeff >()
Definition: RichardsSeff.C:14
RichardsSeff(const InputParameters &parameters)
Definition: RichardsSeff.C:22
void finalize()
Definition: RichardsSeff.C:35
virtual void d2seff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< std::vector< Real >> &result) const =0
second derivative(s) of effective saturation as a function of porepressure(s) at given quadpoint of t...
virtual Real seff(std::vector< const VariableValue * > p, unsigned int qp) const =0
effective saturation as a function of porepressure(s) at given quadpoint of the element ...