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

Contains cross sections which are indexed by continuous energy values. More...

#include <Continuous.hpp>

Inheritance diagram for Continuous:
Collaboration diagram for Continuous:

Public Member Functions

 Continuous (const pugi::xml_node &particle_node)
 Constructs continuous energy nuclear data from a particle node of an XML document.
 
MicroscopicCrossSection GetMajorant (const Particle &p) const noexcept override
 Returns the largest cross section that may be found within the current Cell. 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...
 

Detailed Description

Contains cross sections which are indexed by continuous energy values.

Member Function Documentation

◆ GetMajorant()

MicroscopicCrossSection Continuous::GetMajorant ( const Particle p) const
overridevirtualnoexcept

Returns the largest cross section that may be found within the current Cell.

Currently this is the cross section at the majorant temperature in the Cell

Implements Interaction.

◆ GetTotal()

MicroscopicCrossSection Continuous::GetTotal ( const Particle p) const
overridevirtualnoexcept

Returns the total cross section for a given Particle.

This is not guaranteed to be consistent with the sum of all mutually exclusive reactions. The total cross section is meant to be a user-provided quantity to speed up calculations.

Implements Interaction.

◆ Interact()

void Continuous::Interact ( Particle p) const
overridevirtualnoexcept

Interact with a Particle, updating its state.

Implements Interaction.


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