Class LBSSolverIO
Defined in File lbs_problem_io.h
Class Documentation
-
class LBSSolverIO
Public Static Functions
-
static void WriteAngularFluxes(LBSProblem &lbs_problem, const std::string &file_base, std::optional<const std::reference_wrapper<std::vector<std::vector<double>>>> opt_src = std::nullopt)
Write an angular flux vector to a file.
- Parameters:
lbs_problem – LBS problem
file_base – File name base
per_material – Optional angular flux source vector
-
static void ReadAngularFluxes(LBSProblem &lbs_problem, const std::string &file_base, std::optional<std::reference_wrapper<std::vector<std::vector<double>>>> opt_dest = std::nullopt)
Read an angular flux vector from a file.
- Parameters:
lbs_problem – LBS problem
file_base – File name base
per_material – Optional angular flux destination vector
-
static void WriteFluxMoments(LBSProblem &lbs_problem, const std::string &file_base, std::optional<const std::reference_wrapper<std::vector<double>>> opt_src = std::nullopt)
Write a flux moments vector to a file.
- Parameters:
lbs_problem – LBS problem
file_base – File name base
per_material – Optional flux moments source vector
-
static void ReadFluxMoments(LBSProblem &lbs_problem, const std::string &file_base, bool single_file, std::optional<std::reference_wrapper<std::vector<double>>> opt_dest = std::nullopt)
Read a flux moments vector from a file.
- Parameters:
lbs_problem – LBS problem
file_base – File name base
single_file – Single data file or data file per rank?
per_material – Optional flux moments destination vector
-
static void WriteAngularFluxes(LBSProblem &lbs_problem, const std::string &file_base, std::optional<const std::reference_wrapper<std::vector<std::vector<double>>>> opt_src = std::nullopt)