www.mooseframework.org
RichardsSeffPrimePrimeAux.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 "AuxKernel.h"
13 
14 #include "RichardsSeff.h"
15 
16 // Forward Declarations
18 
19 template <>
21 
25 class RichardsSeffPrimePrimeAux : public AuxKernel
26 {
27 public:
28  RichardsSeffPrimePrimeAux(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeValue();
32 
39 
44  int _wrt1;
45 
50  int _wrt2;
51 
57  std::vector<const VariableValue *> _pressure_vals;
58 
60  std::vector<std::vector<Real>> _mat;
61 };
62 
RichardsSeffPrimePrimeAux::_pressure_vals
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...
Definition: RichardsSeffPrimePrimeAux.h:57
RichardsSeff
Base class for effective saturation as a function of porepressure(s) The functions seff,...
Definition: RichardsSeff.h:23
RichardsSeffPrimePrimeAux::_mat
std::vector< std::vector< Real > > _mat
matrix of 2nd derivtives: This auxkernel returns _mat[_wrt1][_wrt2];
Definition: RichardsSeffPrimePrimeAux.h:60
RichardsSeffPrimePrimeAux::RichardsSeffPrimePrimeAux
RichardsSeffPrimePrimeAux(const InputParameters &parameters)
Definition: RichardsSeffPrimePrimeAux.C:34
RichardsSeff.h
RichardsSeffPrimePrimeAux
Calculates derivative of effective saturation wrt specified porepressures.
Definition: RichardsSeffPrimePrimeAux.h:25
validParams< RichardsSeffPrimePrimeAux >
InputParameters validParams< RichardsSeffPrimePrimeAux >()
Definition: RichardsSeffPrimePrimeAux.C:18
RichardsSeffPrimePrimeAux::_seff_UO
const RichardsSeff & _seff_UO
The user object that defines effective saturation as function of porepressure (or porepressures in th...
Definition: RichardsSeffPrimePrimeAux.h:38
RichardsSeffPrimePrimeAux::_wrt2
int _wrt2
AuxKernel calculates d^2(Seff)/dP_wrt1 dP_wrt2 so wrt2 is the porepressure number to differentiate wr...
Definition: RichardsSeffPrimePrimeAux.h:50
RichardsSeffPrimePrimeAux::_wrt1
int _wrt1
AuxKernel calculates d^2(Seff)/dP_wrt1 dP_wrt2 so wrt1 is the porepressure number to differentiate wr...
Definition: RichardsSeffPrimePrimeAux.h:44
RichardsSeffPrimePrimeAux::computeValue
virtual Real computeValue()
Definition: RichardsSeffPrimePrimeAux.C:56