|
MIDSX 0.1
A x-ray transport code system for dosimetry
|
Class which represents a vector quantity for a surface tally. More...
#include <surface_quantity.h>
Public Types | |
| using | ValueExtractor = std::function<double(const TempSurfaceTallyData&)> |
| ValueExtractor is a function that extracts necessary values from a TempSurfaceTallyData object for a VectorSurfaceQuantity. | |
Public Member Functions | |
| VectorSurfaceQuantity (VectorSurfaceQuantityType type) | |
| Constructor for the VectorSurfaceQuantity class. | |
| VectorSurfaceQuantity | operator+ (VectorSurfaceQuantity &other) const |
| Overloads the + operator for VectorSurfaceQuantity. | |
| void | measure (TempSurfaceTallyData &temp_surface_tally_data) |
| Measures the VectorSurfaceQuantity for a TempSurfaceTallyData object. | |
| VectorSurfaceQuantityType | getType () const |
| Returns the type of the VectorSurfaceQuantity. | |
| VectorValue & | getTotalValues () |
| VectorValue & | getPrimaryValues () |
| VectorValue & | getSingleIncoherentScatterValues () |
| VectorValue & | getSingleCoherentScatterValues () |
| VectorValue & | getMultipleScatterValues () |
Private Attributes | |
| VectorSurfaceQuantityType | type_ |
| bool | totaled_ = false |
| VectorValue | total_values_ |
| VectorValue | primary_values_ |
| VectorValue | single_incoherent_scatter_values_ |
| VectorValue | single_coherent_scatter_values_ |
| VectorValue | multiple_scatter_values_ |
| ValueExtractor | valueExtractor_ |
Class which represents a vector quantity for a surface tally.
Essentially a wrapper around the VectorValue class but is specific to a measurement type
Definition at line 39 of file surface_quantity.h.
| using VectorSurfaceQuantity::ValueExtractor = std::function<double(const TempSurfaceTallyData&)> |
ValueExtractor is a function that extracts necessary values from a TempSurfaceTallyData object for a VectorSurfaceQuantity.
| temp_surface_tally_data | The TempSurfaceTallyData object to extract the value from. |
Definition at line 48 of file surface_quantity.h.
|
explicit |
Constructor for the VectorSurfaceQuantity class.
| type | The type of the VectorSurfaceQuantity to be measured. |
| VectorSurfaceQuantityType VectorSurfaceQuantity::getType | ( | ) | const |
Returns the type of the VectorSurfaceQuantity.
| void VectorSurfaceQuantity::measure | ( | TempSurfaceTallyData & | temp_surface_tally_data | ) |
Measures the VectorSurfaceQuantity for a TempSurfaceTallyData object.
| temp_surface_tally_data | The TempSurfaceTallyData object to measure the VectorSurfaceQuantity for. |
| VectorSurfaceQuantity VectorSurfaceQuantity::operator+ | ( | VectorSurfaceQuantity & | other | ) | const |
Overloads the + operator for VectorSurfaceQuantity.
| other | The VectorSurfaceQuantity to add to this VectorSurfaceQuantity. |
|
private |
Definition at line 93 of file surface_quantity.h.
|
private |
Definition at line 90 of file surface_quantity.h.
|
private |
Definition at line 92 of file surface_quantity.h.
|
private |
Definition at line 91 of file surface_quantity.h.
|
private |
Definition at line 89 of file surface_quantity.h.
|
private |
Definition at line 88 of file surface_quantity.h.
|
private |
Definition at line 87 of file surface_quantity.h.
|
private |
Definition at line 94 of file surface_quantity.h.