minimc 0.5.1
Loading...
Searching...
No Matches
FixedSource Class Reference

Creates and executes a fixed-source calculation. More...

#include <FixedSource.hpp>

Inheritance diagram for FixedSource:
Collaboration diagram for FixedSource:

Public Member Functions

 FixedSource (const pugi::xml_node &root)
 Creates objects necessary for a fixed source calculation.
 
EstimatorSet Solve () override
 Spawn workers to work on chunks of history. More...
 
- Public Member Functions inherited from Driver
 Driver (const pugi::xml_node &root)
 Creates objects necessary for a radiation transport.
 
virtual ~Driver () noexcept
 Virtual destructor (C++ Core Guidelines C.127)
 
virtual EstimatorSet Solve ()=0
 Solves the problem. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Driver
static std::unique_ptr< DriverCreate (const std::filesystem::path &xml_filepath)
 Factory method to create new Driver from XML document. More...
 
- Public Attributes inherited from Driver
const RNG::result_type batchsize
 Total histories for fixed-source; cycle weight for k-eigenvalue (C++ Core Guidelines C.131)
 
- Protected Attributes inherited from Driver
const World world
 Global, read-only description of geometric and material properties.
 
const PerturbationSet perturbations
 All perturbations whose effect on one or more Estimator objects is being estimated.
 
const RNG::result_type seed
 Histories are assigned a seed in [seed, seed + batchsize)
 
const EstimatorSet init_estimator_set
 Initial value of an EstimatorSet used to initialize workers.
 
const size_t threads
 Number of threads dedicated to particle transport.
 

Detailed Description

Creates and executes a fixed-source calculation.

Member Function Documentation

◆ Solve()

EstimatorSet FixedSource::Solve ( )
overridevirtual

Spawn workers to work on chunks of history.

Implements Driver.


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