// @HEADER // ***************************************************************************** // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // // Copyright 2011 NTESS and the Panzer contributors. // SPDX-License-Identifier: BSD-3-Clause // ***************************************************************************** // @HEADER #ifndef __PANZER_STK_GatherRefCoords_HPP__ #define __PANZER_STK_GatherRefCoords_HPP__ #include "Phalanx_config.hpp" #include "Phalanx_Evaluator_Macros.hpp" #include "Phalanx_MDField.hpp" #include "Teuchos_ParameterList.hpp" #include "Panzer_Dimension.hpp" #include "Panzer_Traits.hpp" #include "Panzer_STK_Interface.hpp" #include "Panzer_Evaluator_WithBaseImpl.hpp" namespace panzer_stk { /** This class is a gather operation from the mesh. It * takes a set of field names and basis objects and * then reads them in from the mesh object. * * The constructor takes a STK_Interface RCP and parameter list * that is required to contain the following two fields * "Field Names" of type Teuchos::RCP > * and "Basis" of type Teuchos::RCP. */ template class GatherRefCoords : public panzer::EvaluatorWithBaseImpl, public PHX::EvaluatorDerived { public: GatherRefCoords(const Teuchos::RCP & mesh, const panzer::BasisIRLayout & basis, const std::string & fieldName); void evaluateFields(typename Traits::EvalData d); private: typedef typename EvalT::ScalarT ScalarT; PHX::MDField coordField_; Teuchos::RCP mesh_; GatherRefCoords(); }; } // ************************************************************** #endif