www.mooseframework.org
richards
include
userobjects
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
14
class
RichardsDensity
;
15
16
template
<>
17
InputParameters
validParams<RichardsDensity>
();
18
24
class
RichardsDensity
:
public
GeneralUserObject
25
{
26
public
:
27
RichardsDensity
(
const
InputParameters & parameters);
28
29
void
initialize
();
30
void
execute
();
31
void
finalize
();
32
38
virtual
Real
density
(Real p)
const
= 0;
39
45
virtual
Real
ddensity
(Real p)
const
= 0;
46
52
virtual
Real
d2density
(Real p)
const
= 0;
53
};
54
RichardsDensity::finalize
void finalize()
Definition:
RichardsDensity.C:39
RichardsDensity::initialize
void initialize()
Definition:
RichardsDensity.C:29
RichardsDensity::density
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...
RichardsDensity::RichardsDensity
RichardsDensity(const InputParameters ¶meters)
Definition:
RichardsDensity.C:24
validParams< RichardsDensity >
InputParameters validParams< RichardsDensity >()
Definition:
RichardsDensity.C:16
RichardsDensity
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
Definition:
RichardsDensity.h:24
RichardsDensity::ddensity
virtual Real ddensity(Real p) const =0
derivative of fluid density wrt porepressure This must be over-ridden in derived classes to provide a...
RichardsDensity::d2density
virtual Real d2density(Real p) const =0
second derivative of fluid density wrt porepressure This must be over-ridden in derived classes to pr...
RichardsDensity::execute
void execute()
Definition:
RichardsDensity.C:34
Generated on Sat Jan 25 2020 12:04:42 for www.mooseframework.org by
1.8.16