/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     |
    \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
     \\/     M anipulation  |
-------------------------------------------------------------------------------
License
    This file is part of OpenFOAM.

    OpenFOAM is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    for more details.

    You should have received a copy of the GNU General Public License
    along with OpenFOAM.  If Porous_polynomial_k_UQ_t, see <http://www.gnu.org/licenses/>.

Class
    Foam::Porous_polynomial_k_UQMaterialPropertiesModel

Description

SourceFiles
    Porous_polynomial_k_UQMaterialPropertiesModel.H
    Porous_polynomial_k_UQMaterialPropertiesModel.C

\*---------------------------------------------------------------------------*/

#ifndef Porous_polynomial_k_UQMaterialPropertiesModel_H
#define Porous_polynomial_k_UQMaterialPropertiesModel_H

#include "PorousMaterialPropertiesModel.H"

#define bindFun_Porous_polynomial_k_UQ(fun,name) std::bind(&Foam::Porous_polynomial_k_UQMaterialPropertiesModel::fun, this, name)
#define newMapField_Porous_polynomial_k_UQ(name,type,init,update) new MapField(name,type,bindFun_Porous_polynomial_k_UQ(init,name),bindFun_Porous_polynomial_k_UQ(update,name))

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

namespace Foam
{

/*---------------------------------------------------------------------------*\
                     Class Porous_polynomial_k_UQMaterialPropertiesModel Declaration
\*---------------------------------------------------------------------------*/

class Porous_polynomial_k_UQMaterialPropertiesModel
:
public PorousMaterialPropertiesModel
{

 protected:

  //- Start model initialization after parent class
  const Switch startModelInit_;

 public:

  //- Runtime type information
  TypeName("Porous_polynomial_k_UQ");

  // Constructors

  //- Construct from mesh and phase name
  Porous_polynomial_k_UQMaterialPropertiesModel
  (
      const fvMesh& mesh,
      const word& dictName
  );

  //- Destructor
  virtual ~Porous_polynomial_k_UQMaterialPropertiesModel();

  // Member Functions

  //- Initialize the thermal conductivity k
  void init_k(word name);

  //- Update the thermal conductivity k
  void update_k(word name);

};


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

} // End namespace Foam

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#endif

// ************************************************************************* //
