Struct SurfaceResponse
Defined in File surface_response_data.h
Struct Documentation
-
struct SurfaceResponse
The surface response of one boundary or interior surface.
Public Functions
-
inline double Total() const
The response carried across the surface along its normal:
outgoing + incoming.
Public Members
-
std::string name
The surface as requested: a boundary name, or an interior surface name, bare (
X) or with the side tag that sets its normal (X_uorX_d).
-
SurfaceKind kind = SurfaceKind::BOUNDARY
-
double outgoing = 0.0
Contribution of the directions with positive cosine with the surface normal.
For an interior surface, the normal is the outward normal of the selected side,
X_u(the positive axis) forXandX_uandX_d(the negative axis) forX_d, and these directions leave the cell of that side. For a boundary, the normal is the outward normal and these are the outflow directions.
-
double incoming = 0.0
Contribution of the directions with negative cosine with the normal.
For an interior surface, these leave the cell of the other side and cross back. For a boundary, they are the inflow directions: the forward boundary-condition value (a forward boundary source; 0 for a vacuum boundary) against the adjoint cell value.
-
inline double Total() const