|
minimc 0.5.1
|
Contains cross sections which are indexed by discrete energy groups. More...
#include <Multigroup.hpp>


Public Member Functions | |
| Multigroup (const pugi::xml_node &particle_node) | |
| Constructs multigroup nuclear data from a particle node of an XML document. More... | |
| MicroscopicCrossSection | GetMajorant (const Particle &p) const noexcept override |
| Returns the total cross section for a given Particle, currently the same as GetTotal(). More... | |
| MicroscopicCrossSection | GetTotal (const Particle &p) const noexcept override |
| Returns the total cross section for a given Particle. More... | |
| void | Interact (Particle &p) const noexcept override |
| Interact with a Particle, updating its state. More... | |
Public Member Functions inherited from Interaction | |
| virtual | ~Interaction () noexcept |
| Virtual destructor (C++ Core Guidelines C.127) | |
| virtual MicroscopicCrossSection | GetMajorant (const Particle &p) const noexcept=0 |
| Returns the majorant cross section for a given Particle. More... | |
| virtual MicroscopicCrossSection | GetTotal (const Particle &p) const noexcept=0 |
| Returns the total cross section for a given Particle. More... | |
| virtual void | Interact (Particle &p) const noexcept=0 |
| Interact with a Particle, updating its state. More... | |
Additional Inherited Members | |
Public Types inherited from Interaction | |
| using | Map = std::map< Particle::Type, std::unique_ptr< const Interaction > > |
| Associates a Particle::Type with a polymorphic pointer to Interaction. | |
Static Public Member Functions inherited from Interaction | |
| static Map | Create (const pugi::xml_node &nuclide_node) |
| Factory method to create multigroup or continuous Interaction from a nuclide node. More... | |
Contains cross sections which are indexed by discrete energy groups.
Groups are integers in [1,G]. Group 1 corresponds to the highest energy. Group G corresponds to the lowest energy.
| Multigroup::Multigroup | ( | const pugi::xml_node & | particle_node | ) |
Constructs multigroup nuclear data from a particle node of an XML document.
Creates cross sections for each Reaction. If no corresponding reaction node is found, it is not added to the map.
| particle_node | The requested particle node in the XML document |
| std::runtime_error | Number of entries is not consistent with number of groups |
|
overridevirtualnoexcept |
Returns the total cross section for a given Particle, currently the same as GetTotal().
Implements Interaction.
|
overridevirtualnoexcept |
Returns the total cross section for a given Particle.
Implements Interaction.
|
overridevirtualnoexcept |
Interact with a Particle, updating its state.
Implements Interaction.