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 13 of file EFAFaceNode.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file EFAFaceNode.C.

13 : _node(node), _xi(xi), _eta(eta) {}
double _eta
Definition: EFAFaceNode.h:24
double _xi
Definition: EFAFaceNode.h:23
EFANode * _node
Definition: EFAFaceNode.h:22
EFAFaceNode::EFAFaceNode ( const EFAFaceNode other_face_node)

Definition at line 15 of file EFAFaceNode.C.

16  : _node(other_face_node._node), _xi(other_face_node._xi), _eta(other_face_node._eta)
17 {
18 }
double _eta
Definition: EFAFaceNode.h:24
double _xi
Definition: EFAFaceNode.h:23
EFANode * _node
Definition: EFAFaceNode.h:22
EFAFaceNode::~EFAFaceNode ( )

Definition at line 20 of file EFAFaceNode.C.

20 {}

Member Function Documentation

EFANode * EFAFaceNode::getNode ( )

Definition at line 23 of file EFAFaceNode.C.

Referenced by EFAFragment2D::isSecondaryInteriorEdge().

24 {
25  return _node;
26 }
EFANode * _node
Definition: EFAFaceNode.h:22
double EFAFaceNode::getParametricCoordinates ( unsigned int  i)

Definition at line 29 of file EFAFaceNode.C.

30 {
31  double coord = -100.0;
32  if (i == 0)
33  coord = _xi;
34  else if (i == 1)
35  coord = _eta;
36  else
37  EFAError("get_getParametricCoordinates input out of bounds");
38 
39  return coord;
40 }
double _eta
Definition: EFAFaceNode.h:24
double _xi
Definition: EFAFaceNode.h:23
void EFAFaceNode::switchNode ( EFANode new_old,
EFANode old_node 
)

Definition at line 43 of file EFAFaceNode.C.

44 {
45  if (_node == old_node)
46  _node = new_node;
47 }
EFANode * _node
Definition: EFAFaceNode.h:22

Member Data Documentation

double EFAFaceNode::_eta
private

Definition at line 24 of file EFAFaceNode.h.

Referenced by getParametricCoordinates().

EFANode* EFAFaceNode::_node
private

Definition at line 22 of file EFAFaceNode.h.

Referenced by getNode(), and switchNode().

double EFAFaceNode::_xi
private

Definition at line 23 of file EFAFaceNode.h.

Referenced by getParametricCoordinates().


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