Class MeanInterceptLength

Inheritance Relationships

Base Type

Class Documentation

class MeanInterceptLength : private MaterialProperty

A class for computing mean intercept length.

A MeanInterceptLength object is created and used by the compute_MeanInterceptLength() functions.

See also

compute_MeanInterceptLength()

Public Functions

MeanInterceptLength(puma::Workspace *segWS, puma::Cutoff cutoff, int numThreads)

A constructor which takes in the parameters used in calculating the mean intercept length.

Parameters
  • segWS – a segmented workspace containing the domain.

  • voidValue – an integer corresponding to the material ID for the void.

puma::Vec3<double> compute()

computes the mean intercept length using the parameters specified when constructing the object.

Returns

a puma vector containing the mean intercept length in the x, y, and z directions.