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 15 of file EFAVolumeNode.h.

Constructor & Destructor Documentation

◆ EFAVolumeNode() [1/2]

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

Definition at line 15 of file EFAVolumeNode.C.

16  : _node(node), _xi(xi), _eta(eta), _zeta(zeta)
17 {
18 }
EFANode * _node
Definition: EFAVolumeNode.h:24

◆ EFAVolumeNode() [2/2]

EFAVolumeNode::EFAVolumeNode ( const EFAVolumeNode other_vol_node)

Definition at line 20 of file EFAVolumeNode.C.

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

◆ ~EFAVolumeNode()

EFAVolumeNode::~EFAVolumeNode ( )

Definition at line 28 of file EFAVolumeNode.C.

28 {}

Member Function Documentation

◆ getNode()

EFANode * EFAVolumeNode::getNode ( )

Definition at line 31 of file EFAVolumeNode.C.

Referenced by EFAFragment3D::isThirdInteriorFace().

32 {
33  return _node;
34 }
EFANode * _node
Definition: EFAVolumeNode.h:24

◆ getParametricCoordinates()

double EFAVolumeNode::getParametricCoordinates ( unsigned int  i)

Definition at line 37 of file EFAVolumeNode.C.

38 {
39  double coord = -100.0;
40  if (i == 0)
41  coord = _xi;
42  else if (i == 1)
43  coord = _eta;
44  else if (i == 2)
45  coord = _zeta;
46  else
47  EFAError("in getParametricCoordinates: input out of bounds");
48 
49  return coord;
50 }

◆ switchNode()

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

Definition at line 53 of file EFAVolumeNode.C.

54 {
55  if (_node == old_node)
56  _node = new_node;
57 }
EFANode * _node
Definition: EFAVolumeNode.h:24

Member Data Documentation

◆ _eta

double EFAVolumeNode::_eta
private

Definition at line 26 of file EFAVolumeNode.h.

Referenced by getParametricCoordinates().

◆ _node

EFANode* EFAVolumeNode::_node
private

Definition at line 24 of file EFAVolumeNode.h.

Referenced by getNode(), and switchNode().

◆ _xi

double EFAVolumeNode::_xi
private

Definition at line 25 of file EFAVolumeNode.h.

Referenced by getParametricCoordinates().

◆ _zeta

double EFAVolumeNode::_zeta
private

Definition at line 27 of file EFAVolumeNode.h.

Referenced by getParametricCoordinates().


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