43 #ifndef __Panzer_STK_SurfaceNormals_hpp__
44 #define __Panzer_STK_SurfaceNormals_hpp__
46 #include "PanzerAdaptersSTK_config.hpp"
48 #include "Kokkos_DynRankView.hpp"
49 #include "Phalanx_KokkosDeviceTypes.hpp"
50 #include <unordered_map>
54 namespace panzer_stk {
78 const std::string& sidesetName,
79 const std::string& elementBlockName,
80 std::ostream* out = NULL,
81 std::ostream* pout = NULL);
100 void computeSidesetNodeNormals(std::unordered_map<std::size_t,Kokkos::DynRankView<double,PHX::Device> >& elementToNormalMap,
102 const std::string& sidesetName,
103 const std::string& elementBlockName,
104 std::ostream* out = NULL,
105 std::ostream* pout = NULL);
void computeSidesetNodeNormals(std::unordered_map< unsigned, std::vector< double > > &normals, const Teuchos::RCP< const panzer_stk::STK_Interface > &mesh, const std::string &sidesetName, const std::string &elementBlockName, std::ostream *, std::ostream *pout)
Computes the normals for all nodes associated with a sideset surface.