LCOV - code coverage report
Current view: top level - include/dirackernels - PorousFlowPolyLineSink.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:47:27 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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 POROUSFLOWPOLYLINESINK
       9             : #define POROUSFLOWPOLYLINESINK
      10             : 
      11             : #include "PorousFlowLineSink.h"
      12             : #include "LinearInterpolation.h"
      13             : 
      14             : class PorousFlowPolyLineSink;
      15             : 
      16             : template <>
      17             : InputParameters validParams<PorousFlowPolyLineSink>();
      18             : 
      19             : /**
      20             :  * Approximates a line sink by a sequence of Dirac Points
      21             :  */
      22          30 : class PorousFlowPolyLineSink : public PorousFlowLineSink
      23             : {
      24             : public:
      25             :   PorousFlowPolyLineSink(const InputParameters & parameters);
      26             : 
      27             : protected:
      28             :   /// mass flux = _sink_func as a function of porepressure or temperature
      29             :   LinearInterpolation _sink_func;
      30             : 
      31             :   Real computeQpBaseOutflow(unsigned current_dirac_ptid) const override;
      32             :   void computeQpBaseOutflowJacobian(unsigned jvar,
      33             :                                     unsigned current_dirac_ptid,
      34             :                                     Real & outflow,
      35             :                                     Real & outflowp) const override;
      36             : };
      37             : 
      38             : #endif // POROUSFLOWPOLYLINESINK

Generated by: LCOV version 1.11