Panzer Version of the Day
Loading...
Searching...
No Matches
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
16namespace panzer {
17
18// forward declaration
19class GlobalIndexer;
20
29template <typename Scalar,typename Array,typename LocalOrdinal,typename GlobalOrdinal>
30class OrientationContainer : public OrientationContainerBase<Scalar,Array> {
31 Teuchos::RCP<const panzer::GlobalIndexer> globalIndexer_;
32 std::string fieldName_;
33
34public:
35
38 OrientationContainer(const Teuchos::RCP<const panzer::GlobalIndexer> & globalIndexer,
39 const std::string & fieldName);
40
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
61template <typename Scalar,typename Array>
62Teuchos::RCP<const panzer::OrientationContainerBase<Scalar,Array> >
63buildOrientationContainer(const Teuchos::RCP<const panzer::GlobalIndexer> & globalIndexer,
64 const std::string & fieldName);
65
66}
67
69
70#endif
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
virtual void getOrientations(const std::string &blockId, const std::vector< std::size_t > &cell_local_ids, Array &orientations) const
Teuchos::RCP< const panzer::OrientationContainerBase< Scalar, Array > > buildOrientationContainer(const Teuchos::RCP< const panzer::GlobalIndexer > &globalIndexer, const std::string &fieldName)