mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Adding entry to statepoint documentation.
This commit is contained in:
parent
a0de07bf70
commit
b4cf42b092
2 changed files with 5 additions and 1 deletions
|
|
@ -108,6 +108,9 @@ The current version of the statepoint file format is 17.0.
|
|||
interpolation. Only used for 'energyfunction' filters.
|
||||
- **y** (*double[]*) -- Interpolant values for energyfunction
|
||||
interpolation. Only used for 'energyfunction' filters.
|
||||
- **interpolation** (*int*) -- Interpolation type. One of
|
||||
(1 - linear-linear or 2 - log-log). Only used for 'energyfunction'
|
||||
filters.
|
||||
|
||||
**/tallies/derivatives/derivative <id>/**
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,8 @@ void EnergyFunctionFilter::to_statepoint(hid_t filter_group) const
|
|||
Filter::to_statepoint(filter_group);
|
||||
write_dataset(filter_group, "energy", energy_);
|
||||
write_dataset(filter_group, "y", y_);
|
||||
write_attribute<int>(filter_group, "interpolation", static_cast<int>(interpolation_));
|
||||
write_attribute<int>(
|
||||
filter_group, "interpolation", static_cast<int>(interpolation_));
|
||||
}
|
||||
|
||||
std::string EnergyFunctionFilter::text_label(int bin) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue