www.mooseframework.org
Public Member Functions | Private Attributes | List of all members
EFAFaceNode Class Reference

#include <EFAFaceNode.h>

Public Member Functions

 EFAFaceNode (EFANode *node, double xi, double eta)
 
 EFAFaceNode (const EFAFaceNode &other_face_node)
 
 ~EFAFaceNode ()
 
EFANodegetNode ()
 
double getParametricCoordinates (unsigned int i)
 
void switchNode (EFANode *new_old, EFANode *old_node)
 

Private Attributes

EFANode_node
 
double _xi
 
double _eta
 

Detailed Description

Definition at line 15 of file EFAFaceNode.h.

Constructor & Destructor Documentation

◆ EFAFaceNode() [1/2]

EFAFaceNode::EFAFaceNode ( EFANode node,
double  xi,
double  eta 
)

Definition at line 15 of file EFAFaceNode.C.

15 : _node(node), _xi(xi), _eta(eta) {}
double _eta
Definition: EFAFaceNode.h:26
double _xi
Definition: EFAFaceNode.h:25
EFANode * _node
Definition: EFAFaceNode.h:24

◆ EFAFaceNode() [2/2]

EFAFaceNode::EFAFaceNode ( const EFAFaceNode other_face_node)

Definition at line 17 of file EFAFaceNode.C.

18  : _node(other_face_node._node), _xi(other_face_node._xi), _eta(other_face_node._eta)
19 {
20 }
double _eta
Definition: EFAFaceNode.h:26
double _xi
Definition: EFAFaceNode.h:25
EFANode * _node
Definition: EFAFaceNode.h:24

◆ ~EFAFaceNode()

EFAFaceNode::~EFAFaceNode ( )

Definition at line 22 of file EFAFaceNode.C.

22 {}

Member Function Documentation

◆ getNode()

EFANode * EFAFaceNode::getNode ( )

Definition at line 25 of file EFAFaceNode.C.

Referenced by EFAFragment2D::isSecondaryInteriorEdge().

26 {
27  return _node;
28 }
EFANode * _node
Definition: EFAFaceNode.h:24

◆ getParametricCoordinates()

double EFAFaceNode::getParametricCoordinates ( unsigned int  i)

Definition at line 31 of file EFAFaceNode.C.

32 {
33  double coord = -100.0;
34  if (i == 0)
35  coord = _xi;
36  else if (i == 1)
37  coord = _eta;
38  else
39  EFAError("get_getParametricCoordinates input out of bounds");
40 
41  return coord;
42 }
double _eta
Definition: EFAFaceNode.h:26
double _xi
Definition: EFAFaceNode.h:25

◆ switchNode()

void EFAFaceNode::switchNode ( EFANode new_old,
EFANode old_node 
)

Definition at line 45 of file EFAFaceNode.C.

46 {
47  if (_node == old_node)
48  _node = new_node;
49 }
EFANode * _node
Definition: EFAFaceNode.h:24

Member Data Documentation

◆ _eta

double EFAFaceNode::_eta
private

Definition at line 26 of file EFAFaceNode.h.

Referenced by getParametricCoordinates().

◆ _node

EFANode* EFAFaceNode::_node
private

Definition at line 24 of file EFAFaceNode.h.

Referenced by getNode(), and switchNode().

◆ _xi

double EFAFaceNode::_xi
private

Definition at line 25 of file EFAFaceNode.h.

Referenced by getParametricCoordinates().


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