https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowPiecewiseLinearSink.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
13#include "LinearInterpolation.h"
14
23{
24public:
26
28
29protected:
32
33 virtual Real multiplier() const override;
34
35 virtual Real dmultiplier_dvar(unsigned int pvar) const override;
36};
const InputParameters & parameters() const
Applies a flux sink to a boundary.
virtual Real multiplier() const override
The flux gets multiplied by this quantity.
const LinearInterpolation _sink_func
Piecewise-linear function of porepressure that multiplies the sink flux.
virtual Real dmultiplier_dvar(unsigned int pvar) const override
d(multiplier)/d(Porous flow variable pvar)
Provides either a porepressure or a temperature to derived classes, depending on _involves_fluid defi...