www.mooseframework.org
RichardsDensity.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "GeneralUserObject.h"
13 
20 {
21 public:
23 
25 
26  void initialize();
27  void execute();
28  void finalize();
29 
35  virtual Real density(Real p) const = 0;
36 
42  virtual Real ddensity(Real p) const = 0;
43 
49  virtual Real d2density(Real p) const = 0;
50 };
RichardsDensity(const InputParameters &parameters)
virtual Real ddensity(Real p) const =0
derivative of fluid density wrt porepressure This must be over-ridden in derived classes to provide a...
static InputParameters validParams()
virtual Real density(Real p) const =0
fluid density as a function of porepressure This must be over-ridden in derived classes to provide an...
virtual Real d2density(Real p) const =0
second derivative of fluid density wrt porepressure This must be over-ridden in derived classes to pr...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...