Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_OrientationContainer.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_OrientationContainer_hpp__
12 #define __Panzer_OrientationContainer_hpp__
13 
15 
16 namespace panzer {
17 
18 // forward declaration
19 class GlobalIndexer;
20 
29 template <typename Scalar,typename Array,typename LocalOrdinal,typename GlobalOrdinal>
30 class OrientationContainer : public OrientationContainerBase<Scalar,Array> {
32  std::string fieldName_;
33 
34 public:
35 
39  const std::string & fieldName);
40 
41  virtual ~OrientationContainer() {}
42 
51  virtual void getOrientations(const std::string & blockId,
52  const std::vector<std::size_t> & cell_local_ids,
53  Array & orientations) const;
54 
55 };
56 
61 template <typename Scalar,typename Array>
64  const std::string & fieldName);
65 
66 }
67 
69 
70 #endif
Teuchos::RCP< const panzer::OrientationContainerBase< Scalar, Array > > buildOrientationContainer(const Teuchos::RCP< const panzer::GlobalIndexer > &globalIndexer, const std::string &fieldName)
virtual void getOrientations(const std::string &blockId, const std::vector< std::size_t > &cell_local_ids, Array &orientations) const
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
OrientationContainer(const Teuchos::RCP< const panzer::GlobalIndexer > &globalIndexer, const std::string &fieldName)