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