#include <YieldResourceIO_stab1.h>
Public Member Functions | |
bool | read (YieldResource &obj, std::istream &stream, ScaleUtils::IO::DB opts) |
bool | write (const YieldResource &obj, std::ostream &stream, ScaleUtils::IO::DB opts) |
Member Function Documentation
bool read | ( | YieldResource & | obj, |
std::istream & | stream, | ||
ScaleUtils::IO::DB | opts | ||
) |
basic file definition: PART 1: FISSIONABLE NUCLIDE DEFINITION ZA - NUMBER_OF_DATA_SETS - - - PART 2: DATA SET DEFINITION ENERGY - - INTERPOLATION_FLAG - NUM_FISSION_PRODUCTS PART 3: FISSION PRODUCT YIELDS FP_ZA1 FP_YLD1 FP_ZA2 FP_YLD2 FP_ZA3 FP_YLD3 (3 pairs per line) PART 4: LINE OF ZEROES PART 5: LINE OF ZEROES
References YieldParent::add_data(), YieldResource::add_fissionable(), YieldResource::clear(), STab1::Data::cr, STab1::Block::cr, STab1::Data::id, STab1Reader::read(), STab1::Block::set, STab1Reader::stab1, and STab1::Data::val.
bool write | ( | const YieldResource & | obj, |
std::ostream & | stream, | ||
ScaleUtils::IO::DB | opts | ||
) |
References STab1::Data::cr, STab1::Block::cr, YieldParent::energy_at(), kernel_rksuite::f(), YieldResource::fissionable_at(), YieldParent::get_fp_ids(), YieldParent::get_yields(), STab1::Data::id, YieldParent::id(), YieldParent::num_energies(), YieldResource::num_fissionables(), YieldParent::num_fps(), STab1::Block::set, STab1Writer::stab1, STab1::Data::val, and STab1Writer::write().
The documentation for this class was generated from the following files:
- Core/io/YieldResourceIO_stab1.h
- Core/io/YieldResourceIO_stab1.cpp