10 #include "gtest/gtest.h" 14 const double eps = 1.0E-8;
16 TEST(PorousFlowFLACrelpermTest, relperm)
24 TEST(PorousFlowFLACrelpermTest, drelperm)
39 TEST(PorousFlowFLACrelpermTest, d2relperm)
54 TEST(PorousFlowFLACrelpermTest, adrelperm)
57 sat.derivatives() = {};
65 EXPECT_NEAR(adrelperm.value(), relperm, 1.0E-5);
66 EXPECT_NEAR(adrelperm.derivatives()[0], drelperm, 1.0E-5);
Real d2RelativePermeability(Real seff, Real m)
Second derivative of relative permeability with respect to effective saturation.
T relativePermeability(const T &seff, Real m)
Relative permeability as a function of effective saturation.
DualNumber< Real, DNDerivativeType, true > ADReal
Real dRelativePermeability(Real seff, Real m)
Derivative of relative permeability with respect to effective saturation.
TEST(PorousFlowFLACrelpermTest, relperm)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void derivInsert(SemiDynamicSparseNumberArray< Real, libMesh::dof_id_type, NWrapper< N >> &derivs, libMesh::dof_id_type index, Real value)