Struct SurfaceShard
Defined in File surface_response_data.h
Nested Relationships
Nested Types
Struct Documentation
-
struct SurfaceShard
The faces of one stored surface tag that are owned by this rank.
A face is owned by rank
SurfaceFaceOwner(key, P), wherekeyis its centroid key, so every data set read on the same communicator places a given physical face, from either side of an interior surface, on the same rank. Faces are stored in arrival order;indexgives the local face index of each key in key order.Public Functions
-
inline std::uint64_t GetNumFaces() const
-
inline std::uint64_t GetNumFaceNodes(const std::uint64_t face) const
-
std::optional<std::uint64_t> Find(const DiscreteOrdinatesProblemIO::FaceCentroidKey &key) const
Return the local index of the face with
key, if this rank owns it.
Public Members
-
bool interior = false
True when the tag is one side,
<name>_uor<name>_d, of an interior surface; false for a boundary, whatever its name.Recorded by the writer and identical on all ranks.
-
std::vector<std::pair<DiscreteOrdinatesProblemIO::FaceCentroidKey, std::uint64_t>> index
(face key, local face index) pairs sorted by key.
-
std::vector<std::uint64_t> node_offset = {0}
Start offset of each face’s nodes. Its size is the number of faces plus one.
-
std::vector<std::uint64_t> mass_offset = {0}
Start offset of each face’s mass matrix. Its size is the number of faces plus one.
-
std::vector<double> coords
Face node coordinates, three per node.
-
std::vector<double> mass
Face mass matrices, row-major by face node, including the curvilinear measure scale.
-
std::vector<GroupsetValues> groupsets
Values per groupset.
-
struct GroupsetValues
Public Members
-
std::vector<double> mu
Direction cosine with the face normal, ordered by face and direction.
-
std::vector<double> psi
Angular flux, ordered by face, face node, direction, and group.
For an interior tag, the values of the face’s cell; for a boundary tag, the upwind values written by WriteSurfaceAngularFluxes (
upwind_flux), which take the boundary condition for the directions that enter the domain.
-
std::vector<double> mu
-
inline std::uint64_t GetNumFaces() const