Panzer
Version of the Day
|
#include <Panzer_STK_PeriodicBC_Parser.hpp>
Public Member Functions | |
PeriodicBC_Parser () | |
const std::vector < Teuchos::RCP< const PeriodicBC_MatcherBase > > & | getMatchers () const |
void | setParameterList (const Teuchos::RCP< Teuchos::ParameterList > &pl) |
Teuchos::RCP < Teuchos::ParameterList > | getNonconstParameterList () |
Teuchos::RCP < Teuchos::ParameterList > | unsetParameterList () |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
Teuchos::RCP < Teuchos::ParameterList > | getValidParameters (int count) const |
Teuchos::RCP< const PeriodicBC_MatcherBase > | buildMatcher (const std::string &buildStr) const |
void | buildMatcher_Tokenize (const std::string &buildStr, std::string &matcher, std::string &bndry1, std::string &bndry2) const |
bool | buildMatcher_Tokenize_withParams (const std::string &buildStr, std::string &matcher, std::vector< std::string > ¶ms, std::string &bndry1, std::string &bndry2) const |
Private Attributes | |
Teuchos::RCP < Teuchos::ParameterList > | storedPL_ |
stored parameter list More... | |
std::vector< Teuchos::RCP < const PeriodicBC_MatcherBase > > | matchers_ |
matchers constructed by "setParameterList" More... | |
const std::string | countStr_ |
const std::string | condPrefix_ |
Additional Inherited Members | |
![]() | |
virtual RCP< const ParameterList > | getParameterList () const |
Read a parameter list to describe the periodic boundary conditions. This object then provides a vector of the PeriodicBC_Matcher objects.
Definition at line 61 of file Panzer_STK_PeriodicBC_Parser.hpp.
panzer_stk_classic::PeriodicBC_Parser::PeriodicBC_Parser | ( | ) |
Definition at line 51 of file Panzer_STK_PeriodicBC_Parser.cpp.
const std::vector< Teuchos::RCP< const PeriodicBC_MatcherBase > > & panzer_stk_classic::PeriodicBC_Parser::getMatchers | ( | ) | const |
Return a vector containing all the periodic boundary conditions.
Definition at line 58 of file Panzer_STK_PeriodicBC_Parser.cpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 63 of file Panzer_STK_PeriodicBC_Parser.cpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 93 of file Panzer_STK_PeriodicBC_Parser.cpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 98 of file Panzer_STK_PeriodicBC_Parser.cpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 105 of file Panzer_STK_PeriodicBC_Parser.cpp.
Teuchos::RCP< Teuchos::ParameterList > panzer_stk_classic::PeriodicBC_Parser::getValidParameters | ( | int | count | ) | const |
Get valid parameters given a count parameter for total number of boundary conditions.
[in] | count | Number of periodic boundary conditions |
Definition at line 124 of file Panzer_STK_PeriodicBC_Parser.cpp.
Teuchos::RCP< const PeriodicBC_MatcherBase > panzer_stk_classic::PeriodicBC_Parser::buildMatcher | ( | const std::string & | buildStr | ) | const |
Build a periodic matcher object given a string.
[in] | buildStr | String specifying the matcher to build. Format: "MatchCondition bndry1;bndry2" |
Definition at line 233 of file Panzer_STK_PeriodicBC_Parser.cpp.
void panzer_stk_classic::PeriodicBC_Parser::buildMatcher_Tokenize | ( | const std::string & | buildStr, |
std::string & | matcher, | ||
std::string & | bndry1, | ||
std::string & | bndry2 | ||
) | const |
Parse a string describing the periodic boundary condition Format: "MatchCondition bndry1;bndry2"
Definition at line 166 of file Panzer_STK_PeriodicBC_Parser.cpp.
bool panzer_stk_classic::PeriodicBC_Parser::buildMatcher_Tokenize_withParams | ( | const std::string & | buildStr, |
std::string & | matcher, | ||
std::vector< std::string > & | params, | ||
std::string & | bndry1, | ||
std::string & | bndry2 | ||
) | const |
Parse a string describing the periodic boundary condition Format: "MatchCondition paramA, paramB, paraC, ... : bndry1;bndry2"
Definition at line 179 of file Panzer_STK_PeriodicBC_Parser.cpp.
|
private |
stored parameter list
Definition at line 118 of file Panzer_STK_PeriodicBC_Parser.hpp.
|
private |
matchers constructed by "setParameterList"
Definition at line 121 of file Panzer_STK_PeriodicBC_Parser.hpp.
|
private |
Definition at line 124 of file Panzer_STK_PeriodicBC_Parser.hpp.
|
private |
Definition at line 125 of file Panzer_STK_PeriodicBC_Parser.hpp.