LineSource¶
-
class
LineSource: public ProblemBase¶ Subclassed by LineSource_Moment, LineSource_SN
Public Functions
-
double
GetAnalyticalSolution(double x, double y, double t, double sigma_s) override¶ Exact analytical solution for the Line Source Test Case at.
- Return
exact solution at x,y,t,scatteringXS
- Parameters
x: coordinate of exact solutiony: coordinate of exact solutiont: time of the exact solutionsigma_s: scattering cross section of the exact solution
Protected Attributes
-
double
_sigmaS¶ Scattering coefficient.
Private Functions
-
double
HelperIntRho_ptc(double R, double t)¶ Helper Functions to compute the analytic solution for sigma != 0 (See publication: Garret,Hauck; Momentum Closures for Linear Kinetic Transport Equations)
- Parameters
R: distance to origint: time
-
double
HelperRho_ptc(double R, double t)¶ helper to comput analytic line source solution.
- Parameters
R: distance to origint: time
-
double
HelperRho_ptc1(double R, double t)¶ helper to comput analytic line source solution.
- Parameters
R: distance to origint: time
-
double
HelperRho_ptc2(double R, double t)¶ helper to comput analytic line source solution.
- Parameters
R: distance to origint: time
-
double
HelperIntRho_ptc2(double t, double gamma)¶ helper to comput analytic line source solution
- Parameters
t: timegamma: equals R/t
-
double