11#ifndef __Panzer_STK_PeriodicBC_Parser_hpp__
12#define __Panzer_STK_PeriodicBC_Parser_hpp__
16#include "Teuchos_ParameterList.hpp"
17#include "Teuchos_ParameterListAcceptor.hpp"
18#include "Teuchos_RCP.hpp"
36 const std::vector<Teuchos::RCP<const PeriodicBC_MatcherBase> > &
72 Teuchos::RCP<const PeriodicBC_MatcherBase>
88 std::string
replaceMatcherType(
const std::string & buildStr,
const std::string & matcherType)
const;
99 std::string & matcher,
100 std::string & bndry1,
101 std::string & bndry2)
const;
116 std::string & matcher,
117 std::vector<std::string> & params,
118 std::string & bndry1,
119 std::string & bndry2)
const;
125 std::vector<Teuchos::RCP<const PeriodicBC_MatcherBase> >
matchers_;
const std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > & getMatchers() const
std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > edgeMatchers_
std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > matchers_
matchers constructed by "setParameterList"
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Returns the valid parameters for a single periodic boundary condition entry (see the count overload b...
PeriodicBC_Parser()
Construct with no parameter list set; call setParameterList() to parse the periodic boundary conditio...
std::pair< std::string, unsigned int > getMatcherTypeAndDim(const std::string &buildStr) const
Teuchos::RCP< const PeriodicBC_MatcherBase > buildMatcher(const std::string &buildStr) const
const bool & useBoundingBoxSearch() const
std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > faceMatchers_
const std::string searchStr_
std::string replaceMatcherType(const std::string &buildStr, const std::string &matcherType) const
const std::string condPrefix_
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
Returns the currently stored parameter list, retaining ownership.
bool buildMatcher_Tokenize_withParams(const std::string &buildStr, std::string &matcher, std::vector< std::string > ¶ms, std::string &bndry1, std::string &bndry2) const
const std::string countStr_
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > &pl)
Sets the parameter list, validates it, and parses it into the matcher vectors returned by getMatchers...
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
Releases and returns the currently stored parameter list.
Teuchos::RCP< Teuchos::ParameterList > storedPL_
stored parameter list
void buildMatcher_Tokenize(const std::string &buildStr, std::string &matcher, std::string &bndry1, std::string &bndry2) const