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::CoordMatcher Class Reference

#include <Panzer_STK_PeriodicBC_MatchConditions.hpp>

Public Member Functions

 CoordMatcher (int index)
 index is the coordinate direction that will be compared to find matching nodes. More...
 
 CoordMatcher (int index, double error)
 
 CoordMatcher (int index, const std::vector< std::string > &params)
 
 CoordMatcher (const CoordMatcher &cm)
 
bool operator() (const Teuchos::Tuple< double, 3 > &a, const Teuchos::Tuple< double, 3 > &b) const
 
std::string getString () const
 
int getIndex () const
 
int getPeriodicDirection () const
 
double getAbsoluteTolerance () const
 
void transform (double *ptB, const std::vector< double > &centroidA) const
 

Private Member Functions

void buildLabels ()
 
void parseParams (const std::vector< std::string > &params)
 

Private Attributes

double error_
 
int index_
 
bool relative_
 
char labels_ [3]
 

Detailed Description

Match coordinates that share the same point on a line that is axis aligned

Definition at line 23 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Constructor & Destructor Documentation

panzer_stk::CoordMatcher::CoordMatcher ( int  index)
inline

index is the coordinate direction that will be compared to find matching nodes.

Definition at line 53 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

panzer_stk::CoordMatcher::CoordMatcher ( int  index,
double  error 
)
inline

Definition at line 54 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

panzer_stk::CoordMatcher::CoordMatcher ( int  index,
const std::vector< std::string > &  params 
)
inline

Definition at line 55 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

panzer_stk::CoordMatcher::CoordMatcher ( const CoordMatcher cm)
inline

Definition at line 58 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Member Function Documentation

void panzer_stk::CoordMatcher::buildLabels ( )
inlineprivate

Definition at line 29 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

void panzer_stk::CoordMatcher::parseParams ( const std::vector< std::string > &  params)
inlineprivate

Definition at line 32 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

bool panzer_stk::CoordMatcher::operator() ( const Teuchos::Tuple< double, 3 > &  a,
const Teuchos::Tuple< double, 3 > &  b 
) const
inline

Definition at line 60 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

std::string panzer_stk::CoordMatcher::getString ( ) const
inline

Definition at line 69 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

int panzer_stk::CoordMatcher::getIndex ( ) const
inline

Definition at line 76 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

int panzer_stk::CoordMatcher::getPeriodicDirection ( ) const
inline

Definition at line 78 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

double panzer_stk::CoordMatcher::getAbsoluteTolerance ( ) const
inline

Definition at line 88 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

void panzer_stk::CoordMatcher::transform ( double *  ptB,
const std::vector< double > &  centroidA 
) const
inline

Definition at line 90 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Member Data Documentation

double panzer_stk::CoordMatcher::error_
private

Definition at line 24 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

int panzer_stk::CoordMatcher::index_
private

Definition at line 25 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

bool panzer_stk::CoordMatcher::relative_
private

Definition at line 26 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

char panzer_stk::CoordMatcher::labels_[3]
private

Definition at line 27 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.


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