11 #ifndef __Panzer_STK_SurfaceNormals_hpp__
12 #define __Panzer_STK_SurfaceNormals_hpp__
14 #include "PanzerAdaptersSTK_config.hpp"
16 #include "Kokkos_DynRankView.hpp"
17 #include "Phalanx_KokkosDeviceTypes.hpp"
18 #include <unordered_map>
22 namespace panzer_stk {
46 const std::string& sidesetName,
47 const std::string& elementBlockName,
48 std::ostream* out = NULL,
49 std::ostream* pout = NULL);
68 void computeSidesetNodeNormals(std::unordered_map<std::size_t,Kokkos::DynRankView<double,PHX::Device> >& elementToNormalMap,
70 const std::string& sidesetName,
71 const std::string& elementBlockName,
72 std::ostream* out = NULL,
73 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.