MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
RectangularSurfaceTally Class Reference

Class which represents a rectangular surface tally. More...

#include <surface_tally.h>

Collaboration diagram for RectangularSurfaceTally:

Public Member Functions

 RectangularSurfaceTally (Eigen::Vector3d corner, Eigen::Vector3d edge1, Eigen::Vector3d edge2, const SurfaceQuantityContainer &quantities)
 Constructor for the RectangularSurfaceTally class.
 
- Public Member Functions inherited from SurfaceTally
void processMeasurements (TempSurfaceTallyData &temp_surface_tally_data)
 Processes the measurements for a TempSurfaceTallyData object.
 
SurfaceQuantityContainergetSurfaceQuantityContainer ()
 Gets the SurfaceQuantityContainer object for the surface tally.
 

Private Member Functions

void handleOrthogonalEdges ()
 
void setArea ()
 
void setBasisDotProducts ()
 
bool areEdgesOrthogonal ()
 
double calculateIntersectionParameter (double entrance_cosine) override
 
bool isOutsideOfSurface (const Eigen::Vector3d &intersection_point) override
 

Private Attributes

Eigen::Vector3d corner_
 
Eigen::Vector3d edge1_
 
Eigen::Vector3d edge2_
 
double edge1_dot_edge1_
 
double edge2_dot_edge2_
 

Additional Inherited Members

- Protected Member Functions inherited from SurfaceTally
bool willPassThrough ()
 
double calculateEntranceCosine ()
 
Eigen::Vector3d calculateIntersectionPoint (double t)
 
bool isOutOfRange (double t)
 
- Static Protected Member Functions inherited from SurfaceTally
static bool isPhotonParallelToPlane (double entrance_cosine)
 
- Protected Attributes inherited from SurfaceTally
Eigen::Vector3d norm_
 
TempSurfaceTallyData temp_surface_tally_data_
 
SurfaceQuantityContainer surface_quantities_
 

Detailed Description

Class which represents a rectangular surface tally.

Definition at line 72 of file surface_tally.h.

Constructor & Destructor Documentation

◆ RectangularSurfaceTally()

RectangularSurfaceTally::RectangularSurfaceTally ( Eigen::Vector3d corner,
Eigen::Vector3d edge1,
Eigen::Vector3d edge2,
const SurfaceQuantityContainer & quantities )

Constructor for the RectangularSurfaceTally class.

Parameters
cornerThe vector to the corner of the rectangular surface tally.
edge1The vector along the first edge of the rectangular surface tally.
edge2The vector along the second edge of the rectangular surface tally.
quantitiesThe SurfaceQuantityContainer object for the surface tally.

Member Function Documentation

◆ calculateIntersectionParameter()

double RectangularSurfaceTally::calculateIntersectionParameter ( double entrance_cosine)
overrideprivatevirtual

Implements SurfaceTally.

◆ isOutsideOfSurface()

bool RectangularSurfaceTally::isOutsideOfSurface ( const Eigen::Vector3d & intersection_point)
overrideprivatevirtual

Implements SurfaceTally.

Member Data Documentation

◆ corner_

Eigen::Vector3d RectangularSurfaceTally::corner_
private

Definition at line 84 of file surface_tally.h.

◆ edge1_

Eigen::Vector3d RectangularSurfaceTally::edge1_
private

Definition at line 85 of file surface_tally.h.

◆ edge1_dot_edge1_

double RectangularSurfaceTally::edge1_dot_edge1_
private

Definition at line 87 of file surface_tally.h.

◆ edge2_

Eigen::Vector3d RectangularSurfaceTally::edge2_
private

Definition at line 86 of file surface_tally.h.

◆ edge2_dot_edge2_

double RectangularSurfaceTally::edge2_dot_edge2_
private

Definition at line 88 of file surface_tally.h.


The documentation for this class was generated from the following file: