#include <MultiZoneDepleter.h>

Performs one step of irradiation (potentially many substeps) for many materials, with a fixed transition matrix which resides on each material. More...

Public Member Functions

 MultiZoneDepleter ()
 Constructor. More...
 
 ~MultiZoneDepleter ()
 Destructor. More...
 
void set_solver (SP_Solver solver)
 
void set_comm (Standard::Communicator *comm)
 
void set_materials (SP_MaterialMap mats)
 
const MaterialMapmaterials () const
 
MaterialMapmaterials ()
 
SP_MaterialMap sp_materials ()
 
void add_step (double)
 
size_t nsteps () const
 
void allocate_step ()
 
void set_dt (double)
 
double dt () const
 
void unset_constraint ()
 
void set_power_constraint (double, double bg_power=0)
 
void set_flux_constraint (double, double bg_flux=0, double bg_volume=0)
 
void set_substep_dtrel (const Vec_Dbl &)
 
void set_basis_ids (const Vec_Int &)
 
void set_constraint_its_max (size_t)
 
void set_constraint_its_tol (double)
 
double constraint_hist (double) const
 
bool has_constraint () const
 
Vec_Dbl scaling_factors () const
 
void clear ()
 Clears data (same as constructor) but leaves solver and comm. More...
 
bool update (const ScaleUtils::IO::DB &data)
 Updates data from dc (same end result as setters). More...
 
bool execute ()
 Execute this module. More...
 
const ScaleUtils::IO::DB & status () const
 

Protected Member Functions

virtual void allreduce (Vec_Dbl &x) const
 
virtual void pre_transmute ()
 
virtual double global_scaling_factor (size_t s, size_t itran)
 
virtual void transmute (size_t s, size_t itran)
 
virtual void post_transmute ()
 

Protected Attributes

Standard::Communicator * b_comm
 
SP_Solver b_solver
 
SP_MaterialMap b_mats
 
ScaleUtils::IO::UP_DB b_status
 
bool b_has_constraint
 
double b_dt
 
double b_bg
 
double b_bg_volume
 
double b_constraint
 
Material::FluxParameter b_constraint_type
 
Vec_Dbl b_trel
 
Vec_Dbl b_scaling
 
size_t b_constraint_its_max
 
double b_constraint_its_tol
 
std::set< int > b_basis_ids
 
std::vector< bool > b_is_basis
 

Detailed Description

Performs one step of irradiation (potentially many substeps) for many materials, with a fixed transition matrix which resides on each material.

Examples:
exNEAMS.cpp, tstMultiZoneDepleter.cpp, tstParallelDepletion.cpp, tstSolver_cram.cpp, and tstSolver_matrex.cpp.

Constructor & Destructor Documentation

Constructor.

References MultiZoneDepleter::clear().

Destructor.

References MultiZoneDepleter::b_status.

Member Function Documentation

void set_comm ( Standard::Communicator *  comm)
const MaterialMap & materials ( ) const
MaterialMap & materials ( )
SP_MaterialMap sp_materials ( )
size_t nsteps ( ) const
void allocate_step ( )
void set_flux_constraint ( double  flux,
double  bg_flux = 0,
double  bg_volume = 0 
)
void set_substep_dtrel ( const Vec_Dbl substep_dtrel)
void set_basis_ids ( const Vec_Int basis_ids)
void set_constraint_its_max ( size_t  its_max)
void set_constraint_its_tol ( double  its_tol)
double constraint_hist ( double  trel) const
Vec_Dbl scaling_factors ( ) const
void allreduce ( Vec_Dbl x) const
protectedvirtual
void transmute ( size_t  s,
size_t  itran 
)
protectedvirtual
void post_transmute ( )
protectedvirtual

Member Data Documentation

Standard::Communicator* b_comm
protected
std::vector<bool> b_is_basis
protected

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