| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// Panzer: A partial differential equation assembly |
| 4 |
// engine for strongly coupled complex multiphysics systems |
| 5 |
// |
| 6 |
// Copyright 2011 NTESS and the Panzer contributors. |
| 7 |
// SPDX-License-Identifier: BSD-3-Clause |
| 8 |
// ***************************************************************************** |
| 9 |
// @HEADER |
| 10 |
|
| 11 |
#ifndef USER_APP_STK_CLOSURE_MODEL_FACTORY_TEMPLATE_BUILDER_HPP |
| 12 |
#define USER_APP_STK_CLOSURE_MODEL_FACTORY_TEMPLATE_BUILDER_HPP |
| 13 |
|
| 14 |
#include <string> |
| 15 |
#include "Sacado_mpl_apply.hpp" |
| 16 |
#include "Teuchos_RCP.hpp" |
| 17 |
#include "Panzer_Base.hpp" |
| 18 |
#include "user_app_STKClosureModel_Factory.hpp" |
| 19 |
|
| 20 |
namespace user_app { |
| 21 |
|
| 22 |
class STKModelFactory_TemplateBuilder { |
| 23 |
|
| 24 |
public: |
| 25 |
|
| 26 |
template <typename EvalT> |
| 27 |
Teuchos::RCP<panzer::ClosureModelFactoryBase> build() const { |
| 28 |
return Teuchos::rcp( static_cast<panzer::ClosureModelFactoryBase*> |
| 29 |
(new user_app::STKModelFactory<EvalT>) ); |
| 30 |
} |
| 31 |
|
| 32 |
}; |
| 33 |
|
| 34 |
} |
| 35 |
|
| 36 |
#endif |