4#ifndef HUMMINGBIRD_MESH_NODE_H_
5#define HUMMINGBIRD_MESH_NODE_H_
90 const Node& node,
const int material_id,
const int source_id,
Bank holding the materials defined in the input file.
Base class for defining a quadrature set.
Bank holding the volumetric sources defined in the input file.
void UpdateScalarFlux(Node &node, const QuadratureBase< Ordinate > angular_quadrature)
Update the scalar flux of a node using the angular quadrature set.
std::vector< double > ComputeNodeSourceFluxes(const Node &node, const int material_id, const int source_id, const MaterialBank &material_bank, const SourceBank &source_bank, const QuadratureBase< Ordinate > &angular_quadrature)
Compute the node source flux values.
double DistanceBetweenNodes(const Node &node_1, const Node &node_2)
Compute the Euclidean distance between two nodes.
A point in the mesh holding its coordinates, boundary info, and flux solution values.
std::vector< double > angular_fluxes
Angular flux values in order of the SN quadrature set.
double x
X-coordinate of the node.
double scalar_flux
Scalar flux on the node.
double z
Z-coordinate of the node.
std::vector< double > source_fluxes
Source flux values in order of the SN quadrature set. These are scratch values: they are overwritten ...
arma::vec3 outward_normal
Outward pointing normal vector. This vector is only relevant if the node is on a boundary.
int bc_id
BC ID to access the boundary condition (BC) bank. ID of 0 is always NONE, meaning the node is interna...
double y
Y-coordinate of the node.
size_t id
Unique identifier for the node.