Panzer Version of the Day
Loading...
Searching...
No Matches
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.
 
 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

◆ CoordMatcher() [1/4]

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.

◆ CoordMatcher() [2/4]

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

Definition at line 86 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ CoordMatcher() [3/4]

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

Definition at line 87 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ CoordMatcher() [4/4]

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

Definition at line 90 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Member Function Documentation

◆ buildLabels()

void panzer_stk::CoordMatcher::buildLabels ( )
inlineprivate

Definition at line 61 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ parseParams()

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

Definition at line 64 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ operator()()

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.

◆ getString()

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

Definition at line 101 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ getIndex()

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

Definition at line 108 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ getPeriodicDirection()

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

Definition at line 110 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ getAbsoluteTolerance()

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

Definition at line 120 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ transform()

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

◆ error_

double panzer_stk::CoordMatcher::error_
private

Definition at line 56 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ index_

int panzer_stk::CoordMatcher::index_
private

Definition at line 57 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ relative_

bool panzer_stk::CoordMatcher::relative_
private

Definition at line 58 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

◆ labels_

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: