Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_GatherIntegrationCoordinates_decl.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_EVALUATOR_GATHER_INTEGRATION_COORDINATES_DECL_HPP
12#define PANZER_EVALUATOR_GATHER_INTEGRATION_COORDINATES_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
24#include "Panzer_PureBasis.hpp"
25
27
28namespace panzer {
29
33template<typename EvalT, typename TRAITS>
35 : public panzer::EvaluatorWithBaseImpl<TRAITS>,
36 public PHX::EvaluatorDerived<EvalT, TRAITS> {
37public:
38
40
41 void postRegistrationSetup(typename TRAITS::SetupData d,
43
44 void evaluateFields(typename TRAITS::EvalData d);
45
46 static std::string fieldName(int degree);
47
48private:
49 typedef typename EvalT::ScalarT ScalarT;
50
52 std::vector<int>::size_type quadIndex_;
53 PHX::MDField<ScalarT,Cell,Point,Dim> quadCoordinates_;
54
56};
57
58}
59
60// **************************************************************
61#endif
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Gathers coordinates for the quadrature from the workset and stores them in the field manager.
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
PHX::MDField< ScalarT, Cell, Point, Dim > quadCoordinates_