An open source method of characteristics neutron transport code.
segment Struct Reference

A segment represents a line segment within a single flat source region along a track. More...

#include <Track.h>

Public Member Functions

 segment ()
 

Public Attributes

double _length
 
Material_material
 
int _region_id
 
int _track_idx
 
int _cmfd_surface_fwd
 
int _cmfd_surface_bwd
 
FP_PRECISION _starting_position [3]
 

Detailed Description

A segment represents a line segment within a single flat source region along a track.

Constructor & Destructor Documentation

◆ segment()

segment::segment ( )
inline

Constructor initializes CMFD surfaces and segment Z-coordinate

Member Data Documentation

◆ _cmfd_surface_bwd

int segment::_cmfd_surface_bwd

The ID for the mesh surface crossed by the Track start point

◆ _cmfd_surface_fwd

int segment::_cmfd_surface_fwd

The ID for the mesh surface crossed by the Track end point

◆ _length

double segment::_length

The length of the segment (cm)

◆ _material

Material* segment::_material

A pointer to the material in which this segment resides

◆ _region_id

int segment::_region_id

The ID for flat source region in which this segment resides

◆ _starting_position

FP_PRECISION segment::_starting_position[3]

The starting point of the segment relative to the FSR centroid

◆ _track_idx

int segment::_track_idx

The ID of the track


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