https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowCubic.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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 "MooseTypes.h"
13
20{
30Real cubic(Real x, Real x0, Real y0, Real y0p, Real x1, Real y1, Real y1p);
31
41Real dcubic(Real x, Real x0, Real y0, Real y0p, Real x1, Real y1, Real y1p);
42}
const std::vector< double > x
Utility to produce the value and derivative of a cubic function at a point.
Real dcubic(Real x, Real x0, Real y0, Real y0p, Real x1, Real y1, Real y1p)
Derivative of cubic function, f(x), with respect to x.
Real cubic(Real x, Real x0, Real y0, Real y0p, Real x1, Real y1, Real y1p)
Cubic function f(x) that satisfies f(x0) = y0 f'(x0) = y0p f(x1) = y1 f'(x1) = y1p.