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 55 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 85 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 86 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 87 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 90 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Member Function Documentation

void panzer_stk::CoordMatcher::buildLabels ( )
inlineprivate

Definition at line 61 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 64 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 92 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 101 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 108 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 110 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 120 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 122 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Member Data Documentation

double panzer_stk::CoordMatcher::error_
private

Definition at line 56 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

int panzer_stk::CoordMatcher::index_
private

Definition at line 57 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

bool panzer_stk::CoordMatcher::relative_
private

Definition at line 58 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 59 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.


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