LCOV - code coverage report
Current view: top level - include/materials - PorousFlowMaterial.h (source / functions) Hit Total Coverage
Test: porous_flow Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:47:27 Functions: 0 2 0.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 POROUSFLOWMATERIAL_H
       9             : #define POROUSFLOWMATERIAL_H
      10             : 
      11             : #include "Material.h"
      12             : #include "MaterialData.h"
      13             : #include "PorousFlowDictator.h"
      14             : 
      15             : // Forward Declarations
      16             : class PorousFlowMaterial;
      17             : 
      18             : template <>
      19             : InputParameters validParams<PorousFlowMaterial>();
      20             : 
      21        5454 : class PorousFlowMaterial : public Material
      22             : {
      23             : public:
      24             :   PorousFlowMaterial(const InputParameters & parameters);
      25             : 
      26             : protected:
      27             :   virtual void initStatefulProperties(unsigned int n_points) override;
      28             :   virtual void computeProperties() override;
      29             : 
      30             :   /// whether the derived class holds nodal values
      31             :   const bool _nodal_material;
      32             : 
      33             :   /// The variable names UserObject for the PorousFlow variables
      34             :   const PorousFlowDictator & _dictator;
      35             : 
      36             :   /**
      37             :    * Makes property with name prop_name to be size equal to the
      38             :    * number of nodes in the current element
      39             :    */
      40             :   void sizeNodalProperty(const std::string & prop_name);
      41             : 
      42             :   /**
      43             :    * Makes all supplied properties for this material to be size
      44             :    * equal to the number of nodes in the current element
      45             :    */
      46             :   void sizeAllSuppliedProperties();
      47             : 
      48             :   /**
      49             :    * Find the nearest quadpoint to the node labelled by nodenum
      50             :    * in the current element
      51             :    * @param nodenum the node number in the current element
      52             :    * @return the nearest quadpoint
      53             :    */
      54             :   unsigned nearestQP(unsigned nodenum) const;
      55             : };
      56             : 
      57             : #endif // POROUSFLOWMATERIAL_H

Generated by: LCOV version 1.11