#include <Panzer_STK_PeriodicBC_MatchConditions.hpp>
|
| | CoordMatcher (int index) |
| | Constructor where the index is the coordinate axis that will be compared to find matching nodes.
|
| |
| | CoordMatcher (int index, double error) |
| | Construct with an explicit absolute tolerance.
|
| |
| | CoordMatcher (int index, const std::vector< std::string > ¶ms) |
| | Construct with tolerance and "relative" option parsed from strings, as accepted by parseParams().
|
| |
| | CoordMatcher (const CoordMatcher &cm) |
| | Copy constructor.
|
| |
| bool | operator() (const Teuchos::Tuple< double, 3 > &a, const Teuchos::Tuple< double, 3 > &b) const |
| | Returns true if points a and b match, i.e. their coordinates in the compared direction are within tolerance.
|
| |
| std::string | getString () const |
| | Returns a human-readable description of this matcher's compared coordinate and tolerance.
|
| |
| int | getIndex () const |
| | Returns the coordinate axis/direction being compared.
|
| |
| int | getPeriodicDirection () const |
| | Returns the direction (0=x, 1=y) in which the boundary condition is periodic; the direction orthogonal to the compared coordinate. Asserts for a z-direction matcher (3D requires PlaneMatcher instead).
|
| |
| double | getAbsoluteTolerance () const |
| | Returns the absolute matching tolerance.
|
| |
| void | transform (double *ptB, const std::vector< double > ¢roidA) const |
| | Shifts ptB's periodic-direction coordinate to match centroidA's, in place.
|
| |
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.
◆ CoordMatcher() [1/4]
| panzer_stk::CoordMatcher::CoordMatcher |
( |
int |
index | ) |
|
|
inline |
◆ CoordMatcher() [2/4]
| panzer_stk::CoordMatcher::CoordMatcher |
( |
int |
index, |
|
|
double |
error |
|
) |
| |
|
inline |
◆ CoordMatcher() [3/4]
| panzer_stk::CoordMatcher::CoordMatcher |
( |
int |
index, |
|
|
const std::vector< std::string > & |
params |
|
) |
| |
|
inline |
◆ CoordMatcher() [4/4]
| panzer_stk::CoordMatcher::CoordMatcher |
( |
const CoordMatcher & |
cm | ) |
|
|
inline |
◆ buildLabels()
| void panzer_stk::CoordMatcher::buildLabels |
( |
| ) |
|
|
inlineprivate |
◆ parseParams()
| void panzer_stk::CoordMatcher::parseParams |
( |
const std::vector< std::string > & |
params | ) |
|
|
inlineprivate |
◆ operator()()
| bool panzer_stk::CoordMatcher::operator() |
( |
const Teuchos::Tuple< double, 3 > & |
a, |
|
|
const Teuchos::Tuple< double, 3 > & |
b |
|
) |
| const |
|
inline |
◆ getString()
| std::string panzer_stk::CoordMatcher::getString |
( |
| ) |
const |
|
inline |
◆ getIndex()
| int panzer_stk::CoordMatcher::getIndex |
( |
| ) |
const |
|
inline |
◆ getPeriodicDirection()
| int panzer_stk::CoordMatcher::getPeriodicDirection |
( |
| ) |
const |
|
inline |
◆ getAbsoluteTolerance()
| double panzer_stk::CoordMatcher::getAbsoluteTolerance |
( |
| ) |
const |
|
inline |
◆ transform()
| void panzer_stk::CoordMatcher::transform |
( |
double * |
ptB, |
|
|
const std::vector< double > & |
centroidA |
|
) |
| const |
|
inline |
◆ error_
| double panzer_stk::CoordMatcher::error_ |
|
private |
◆ index_
| int panzer_stk::CoordMatcher::index_ |
|
private |
◆ relative_
| bool panzer_stk::CoordMatcher::relative_ |
|
private |
◆ labels_
| char panzer_stk::CoordMatcher::labels_[3] |
|
private |
The documentation for this class was generated from the following file: