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

#include <EFAVolumeNode.h>

Public Member Functions

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

Private Attributes

EFANode_node
 
double _xi
 
double _eta
 
double _zeta
 

Detailed Description

Definition at line 13 of file EFAVolumeNode.h.

Constructor & Destructor Documentation

EFAVolumeNode::EFAVolumeNode ( EFANode node,
double  xi,
double  eta,
double  zeta 
)

Definition at line 13 of file EFAVolumeNode.C.

14  : _node(node), _xi(xi), _eta(eta), _zeta(zeta)
15 {
16 }
EFANode * _node
Definition: EFAVolumeNode.h:22
EFAVolumeNode::EFAVolumeNode ( const EFAVolumeNode other_vol_node)

Definition at line 18 of file EFAVolumeNode.C.

19  : _node(other_vol_node._node),
20  _xi(other_vol_node._xi),
21  _eta(other_vol_node._eta),
22  _zeta(other_vol_node._zeta)
23 {
24 }
EFANode * _node
Definition: EFAVolumeNode.h:22
EFAVolumeNode::~EFAVolumeNode ( )

Definition at line 26 of file EFAVolumeNode.C.

26 {}

Member Function Documentation

EFANode * EFAVolumeNode::getNode ( )

Definition at line 29 of file EFAVolumeNode.C.

Referenced by EFAFragment3D::isThirdInteriorFace().

30 {
31  return _node;
32 }
EFANode * _node
Definition: EFAVolumeNode.h:22
double EFAVolumeNode::getParametricCoordinates ( unsigned int  i)

Definition at line 35 of file EFAVolumeNode.C.

36 {
37  double coord = -100.0;
38  if (i == 0)
39  coord = _xi;
40  else if (i == 1)
41  coord = _eta;
42  else if (i == 2)
43  coord = _zeta;
44  else
45  EFAError("in getParametricCoordinates: input out of bounds");
46 
47  return coord;
48 }
void EFAVolumeNode::switchNode ( EFANode new_old,
EFANode old_node 
)

Definition at line 51 of file EFAVolumeNode.C.

52 {
53  if (_node == old_node)
54  _node = new_node;
55 }
EFANode * _node
Definition: EFAVolumeNode.h:22

Member Data Documentation

double EFAVolumeNode::_eta
private

Definition at line 24 of file EFAVolumeNode.h.

Referenced by getParametricCoordinates().

EFANode* EFAVolumeNode::_node
private

Definition at line 22 of file EFAVolumeNode.h.

Referenced by getNode(), and switchNode().

double EFAVolumeNode::_xi
private

Definition at line 23 of file EFAVolumeNode.h.

Referenced by getParametricCoordinates().

double EFAVolumeNode::_zeta
private

Definition at line 25 of file EFAVolumeNode.h.

Referenced by getParametricCoordinates().


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