Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
panzer_stk::WedgeMatcher Class Reference

#include <Panzer_STK_PeriodicBC_MatchConditions.hpp>

Public Types

enum  MirrorPlane : int { MirrorPlane::XZ_PLANE =0, MirrorPlane::YZ_PLANE =1 }
 

Public Member Functions

 WedgeMatcher (MirrorPlane mp, const std::vector< std::string > &params)
 
 WedgeMatcher (const WedgeMatcher &cm)=default
 
bool operator() (const Teuchos::Tuple< double, 3 > &a, const Teuchos::Tuple< double, 3 > &b) const
 
std::string getString () const
 
int getIndex () const
 
WedgeMatcher::MirrorPlane getMirrorPlane () const
 
bool isThreeD () const
 
double getAbsoluteTolerance () const
 
void transform (double *ptB, const std::vector< double > &centroidA) const
 

Private Attributes

double error_
 
int index0_
 index to compare - 0 for wy (mirrored over yz), 1 for wx (mirrored over xz) More...
 
bool is_three_d_
 Set to true if a 3D problem, set to false if 2D. More...
 

Detailed Description

Match coordinates for a 3D wedge. The wedge must be meshed such that it is mirrored/split over the xz or yz plane. The index is the coordinate index that is compared . If the mirror plane is xz, then index0=1. If the mirror plane is yz, then index0=0. A mirror plane of xz is specified as "wx" in the string parser. A mirror plane of yz is specified as "wy" in the string parser.

Definition at line 293 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Member Enumeration Documentation

Enumerator
XZ_PLANE 
YZ_PLANE 

Definition at line 300 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Constructor & Destructor Documentation

panzer_stk::WedgeMatcher::WedgeMatcher ( MirrorPlane  mp,
const std::vector< std::string > &  params 
)
inline

Definition at line 304 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

panzer_stk::WedgeMatcher::WedgeMatcher ( const WedgeMatcher cm)
default

Member Function Documentation

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

Definition at line 330 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 344 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 354 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

WedgeMatcher::MirrorPlane panzer_stk::WedgeMatcher::getMirrorPlane ( ) const
inline

Definition at line 356 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

bool panzer_stk::WedgeMatcher::isThreeD ( ) const
inline

Definition at line 363 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 365 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

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

Definition at line 367 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

Member Data Documentation

double panzer_stk::WedgeMatcher::error_
private

Definition at line 294 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

int panzer_stk::WedgeMatcher::index0_
private

index to compare - 0 for wy (mirrored over yz), 1 for wx (mirrored over xz)

Definition at line 296 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.

bool panzer_stk::WedgeMatcher::is_three_d_
private

Set to true if a 3D problem, set to false if 2D.

Definition at line 298 of file Panzer_STK_PeriodicBC_MatchConditions.hpp.


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