A point in the mesh holding its coordinates, boundary info, and flux solution values.
More...
#include <node.h>
|
| size_t | id |
| | Unique identifier for the node.
|
| double | x |
| | X-coordinate of the node.
|
| double | y |
| | Y-coordinate of the node.
|
| double | z |
| | Z-coordinate of the node.
|
| int | bc_id = 0 |
| | BC ID to access the boundary condition (BC) bank. ID of 0 is always NONE, meaning the node is internal to the mesh.
|
| arma::vec3 | outward_normal |
| | Outward pointing normal vector. This vector is only relevant if the node is on a boundary.
|
| double | scalar_flux |
| | Scalar flux on the node.
|
| std::vector< double > | angular_fluxes |
| | Angular flux values in order of the SN quadrature set.
|
| std::vector< double > | source_fluxes |
| | Source flux values in order of the SN quadrature set. These are scratch values: they are overwritten for each element during forcing assembly (see Element::SetNodeSourceFluxes), so on interface nodes they hold the last element's values. Do not read them outside assembly.
|
A point in the mesh holding its coordinates, boundary info, and flux solution values.
Definition at line 26 of file node.h.
◆ angular_fluxes
| std::vector<double> hummingbird::Node::angular_fluxes |
Angular flux values in order of the SN quadrature set.
Definition at line 51 of file node.h.
◆ bc_id
| int hummingbird::Node::bc_id = 0 |
BC ID to access the boundary condition (BC) bank. ID of 0 is always NONE, meaning the node is internal to the mesh.
Definition at line 41 of file node.h.
◆ id
| size_t hummingbird::Node::id |
Unique identifier for the node.
Definition at line 28 of file node.h.
◆ outward_normal
| arma::vec3 hummingbird::Node::outward_normal |
Outward pointing normal vector. This vector is only relevant if the node is on a boundary.
Definition at line 45 of file node.h.
◆ scalar_flux
| double hummingbird::Node::scalar_flux |
Scalar flux on the node.
Definition at line 48 of file node.h.
◆ source_fluxes
| std::vector<double> hummingbird::Node::source_fluxes |
Source flux values in order of the SN quadrature set. These are scratch values: they are overwritten for each element during forcing assembly (see Element::SetNodeSourceFluxes), so on interface nodes they hold the last element's values. Do not read them outside assembly.
Definition at line 57 of file node.h.
| double hummingbird::Node::x |
X-coordinate of the node.
Definition at line 31 of file node.h.
| double hummingbird::Node::y |
Y-coordinate of the node.
Definition at line 34 of file node.h.
| double hummingbird::Node::z |
Z-coordinate of the node.
Definition at line 37 of file node.h.
The documentation for this struct was generated from the following file:
- /home/runner/work/hummingbird/hummingbird/include/mesh/node.h