Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_STK_GatherExodusCellDataToIP.hpp
Go to the documentation of this file.
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_STK_GatherExodusCellDataToIP_decl_HPP__
12#define __PANZER_STK_GatherExodusCellDataToIP_decl_HPP__
13
14#include "Phalanx_config.hpp"
15#include "Phalanx_Evaluator_Macros.hpp"
16#include "Phalanx_MDField.hpp"
17
18#include "Teuchos_ParameterList.hpp"
19
20#include "Panzer_Dimension.hpp"
21#include "Panzer_Traits.hpp"
23
25
26namespace panzer_stk {
27
30template<typename EvalT, typename Traits>
32 : public panzer::EvaluatorWithBaseImpl<Traits>,
33 public PHX::EvaluatorDerived<EvalT, Traits> {
34
35public:
36
47 GatherExodusCellDataToIP(const Teuchos::RCP<const panzer_stk::STK_Interface> & mesh,
48 const std::vector<std::string>& fieldNames,
49 const std::vector<std::string>& exodusNames,
50 const Teuchos::RCP<panzer::IntegrationRule>& integrationRule);
51
52 void postRegistrationSetup(typename Traits::SetupData d,
54
55 void evaluateFields(typename Traits::EvalData d);
56
57private:
58 typedef typename EvalT::ScalarT ScalarT;
60
61 const Teuchos::RCP<const STK_Interface> mesh_;
62 const std::vector<std::string> exodusNames_;
63 std::vector<PHX::MDField<ScalarT,panzer::Cell,panzer::IP>> gatherFields_;
64 std::vector<VariableField*> stkFields_;
65};
66
67}
68
69// **************************************************************
70#endif
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)
std::vector< PHX::MDField< ScalarT, panzer::Cell, panzer::IP > > gatherFields_
const Teuchos::RCP< const STK_Interface > mesh_
panzer_stk::STK_Interface::SolutionFieldType VariableField
stk::mesh::Field< double > SolutionFieldType