Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
panzer_stk::PeriodicBC_Matcher< Matcher > Class Template Reference

#include <Panzer_STK_PeriodicBC_Matcher.hpp>

Inheritance diagram for panzer_stk::PeriodicBC_Matcher< Matcher >:
Inheritance graph
[legend]

Public Member Functions

 PeriodicBC_Matcher (const std::string &left, const std::string &right, const Matcher &matcher, const std::string type="coord")
 
 PeriodicBC_Matcher (const PeriodicBC_Matcher &src)
 
Teuchos::RCP< std::vector
< std::pair< std::size_t,
std::size_t > > > 
getMatchedPair (const STK_Interface &mesh, const Teuchos::RCP< const std::vector< std::pair< std::size_t, std::size_t > > > &currentState=Teuchos::null) const
 
std::string getString () const
 
std::string getType () const
 
- Public Member Functions inherited from panzer_stk::PeriodicBC_MatcherBase
virtual ~PeriodicBC_MatcherBase ()
 

Private Member Functions

 PeriodicBC_Matcher ()
 

Private Attributes

std::string left_
 
std::string right_
 
Matcher matcher_
 
std::string type_
 

Detailed Description

template<typename Matcher>
class panzer_stk::PeriodicBC_Matcher< Matcher >

Default implementation class for the periodic boundary conditions. This simply takes a Matcher object as the coordinate matching operation. For details on the Matcher see the CoordMatcher struct.

Definition at line 173 of file Panzer_STK_PeriodicBC_Matcher.hpp.

Constructor & Destructor Documentation

template<typename Matcher >
panzer_stk::PeriodicBC_Matcher< Matcher >::PeriodicBC_Matcher ( const std::string &  left,
const std::string &  right,
const Matcher &  matcher,
const std::string  type = "coord" 
)
inline

Definition at line 175 of file Panzer_STK_PeriodicBC_Matcher.hpp.

template<typename Matcher >
panzer_stk::PeriodicBC_Matcher< Matcher >::PeriodicBC_Matcher ( const PeriodicBC_Matcher< Matcher > &  src)
inline

Definition at line 177 of file Panzer_STK_PeriodicBC_Matcher.hpp.

template<typename Matcher >
panzer_stk::PeriodicBC_Matcher< Matcher >::PeriodicBC_Matcher ( )
private

Member Function Documentation

template<typename Matcher >
Teuchos::RCP<std::vector<std::pair<std::size_t,std::size_t> > > panzer_stk::PeriodicBC_Matcher< Matcher >::getMatchedPair ( const STK_Interface mesh,
const Teuchos::RCP< const std::vector< std::pair< std::size_t, std::size_t > > > &  currentState = Teuchos::null 
) const
inlinevirtual

Simply returns a vector of pairs that match the IDs owned by this processor to their matching IDs on the periodic boundary.

Returns
A vector of pairs. The first entry in the pair is the global node ID of a node used on this processor. The second is the global node ID (not necessarily on this processor) that replaces it.

Implements panzer_stk::PeriodicBC_MatcherBase.

Definition at line 191 of file Panzer_STK_PeriodicBC_Matcher.hpp.

template<typename Matcher >
std::string panzer_stk::PeriodicBC_Matcher< Matcher >::getString ( ) const
inlinevirtual

Return a one line string that describes this periodic boundary condition.

Implements panzer_stk::PeriodicBC_MatcherBase.

Definition at line 201 of file Panzer_STK_PeriodicBC_Matcher.hpp.

template<typename Matcher >
std::string panzer_stk::PeriodicBC_Matcher< Matcher >::getType ( ) const
inlinevirtual

Return a one line string that describes the type of periodic boundary condition.

Implements panzer_stk::PeriodicBC_MatcherBase.

Definition at line 210 of file Panzer_STK_PeriodicBC_Matcher.hpp.

Member Data Documentation

template<typename Matcher >
std::string panzer_stk::PeriodicBC_Matcher< Matcher >::left_
private

Definition at line 218 of file Panzer_STK_PeriodicBC_Matcher.hpp.

template<typename Matcher >
std::string panzer_stk::PeriodicBC_Matcher< Matcher >::right_
private

Definition at line 219 of file Panzer_STK_PeriodicBC_Matcher.hpp.

template<typename Matcher >
Matcher panzer_stk::PeriodicBC_Matcher< Matcher >::matcher_
private

Definition at line 221 of file Panzer_STK_PeriodicBC_Matcher.hpp.

template<typename Matcher >
std::string panzer_stk::PeriodicBC_Matcher< Matcher >::type_
private

Definition at line 223 of file Panzer_STK_PeriodicBC_Matcher.hpp.


The documentation for this class was generated from the following file: