| 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 PANZER_BCSTRATEGY_DIRICHLET_CONSTANT_HPP |
| 12 |
#define PANZER_BCSTRATEGY_DIRICHLET_CONSTANT_HPP |
| 13 |
|
| 14 |
#include <vector> |
| 15 |
#include <string> |
| 16 |
|
| 17 |
#include "Teuchos_RCP.hpp" |
| 18 |
#include "Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp" |
| 19 |
#include "Panzer_Traits.hpp" |
| 20 |
#include "Panzer_PureBasis.hpp" |
| 21 |
#include "Phalanx_FieldManager.hpp" |
| 22 |
|
| 23 |
namespace user_app { |
| 24 |
|
| 25 |
template <typename EvalT> |
| 26 |
class BCStrategy_Dirichlet_Constant : public panzer::BCStrategy_Dirichlet_DefaultImpl<EvalT> { |
| 27 |
|
| 28 |
public: |
| 29 |
|
| 30 |
BCStrategy_Dirichlet_Constant(const panzer::BC& bc, const Teuchos::RCP<panzer::GlobalData>& global_data); |
| 31 |
|
| 32 |
void setup(const panzer::PhysicsBlock& side_pb, |
| 33 |
const Teuchos::ParameterList& user_data); |
| 34 |
|
| 35 |
void buildAndRegisterEvaluators(PHX::FieldManager<panzer::Traits>& fm, |
| 36 |
const panzer::PhysicsBlock& pb, |
| 37 |
const panzer::ClosureModelFactory_TemplateManager<panzer::Traits>& factory, |
| 38 |
const Teuchos::ParameterList& models, |
| 39 |
const Teuchos::ParameterList& user_data) const; |
| 40 |
|
| 41 |
std::string residual_name; |
| 42 |
Teuchos::RCP<panzer::PureBasis> basis; |
| 43 |
|
| 44 |
}; |
| 45 |
|
| 46 |
} |
| 47 |
|
| 48 |
#include "user_app_BCStrategy_Dirichlet_Constant_impl.hpp" |
| 49 |
|
| 50 |
#endif |