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
DiscSurfaceTally Class Reference

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

#include <surface_tally.h>

Collaboration diagram for DiscSurfaceTally:

Public Member Functions

 DiscSurfaceTally (Eigen::Vector3d center, Eigen::Vector3d norm, double radius, const SurfaceQuantityContainer &quantities)
 Constructor for the DiscSurfaceTally 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 setArea ()
 
double calculateIntersectionParameter (double entrance_cosine) override
 
bool isOutsideOfSurface (const Eigen::Vector3d &intersection_point) override
 

Private Attributes

Eigen::Vector3d center_
 
double radius_
 

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 disc surface tally.

Definition at line 48 of file surface_tally.h.

Constructor & Destructor Documentation

◆ DiscSurfaceTally()

DiscSurfaceTally::DiscSurfaceTally ( Eigen::Vector3d center,
Eigen::Vector3d norm,
double radius,
const SurfaceQuantityContainer & quantities )

Constructor for the DiscSurfaceTally class.

Parameters
centerThe center of the disc.
normThe normal vector of the disc. Points in direction of desired traversal.
radiusThe radius of the disc.
quantitiesThe SurfaceQuantityContainer object for the surface tally.

Member Function Documentation

◆ calculateIntersectionParameter()

double DiscSurfaceTally::calculateIntersectionParameter ( double entrance_cosine)
overrideprivatevirtual

Implements SurfaceTally.

◆ isOutsideOfSurface()

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

Implements SurfaceTally.

Member Data Documentation

◆ center_

Eigen::Vector3d DiscSurfaceTally::center_
private

Definition at line 60 of file surface_tally.h.

◆ radius_

double DiscSurfaceTally::radius_
private

Definition at line 61 of file surface_tally.h.


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