www.mooseframework.org
PorousFlowHalfGaussianSink.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef POROUSFLOWHALFGAUSSIANSINK_H
9 #define POROUSFLOWHALFGAUSSIANSINK_H
10 
12 
13 // Forward Declarations
15 
16 template <>
18 
29 {
30 public:
31  PorousFlowHalfGaussianSink(const InputParameters & parameters);
32 
33 protected:
35  const Real _maximum;
36 
38  const Real _sd;
39 
41  const Real _center;
42 
43  virtual Real multiplier() const override;
44 
45  virtual Real dmultiplier_dvar(unsigned int pvar) const override;
46 };
47 
48 #endif // POROUSFLOWHALFGAUSSIANSINK_H
const Real _center
center of the Gaussian sink
const Real _sd
standard deviation of the Gaussian sink
PorousFlowHalfGaussianSink(const InputParameters &parameters)
virtual Real dmultiplier_dvar(unsigned int pvar) const override
d(multiplier)/d(Porous flow variable pvar)
virtual Real multiplier() const override
The flux gets multiplied by this quantity.
Provides either a porepressure or a temperature to derived classes, depending on _involves_fluid defi...
Applies a flux sink to a boundary.
const Real _maximum
maximum of the Gaussian sink
InputParameters validParams< PorousFlowHalfGaussianSink >()