mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Provide Tally writable_ setter and getters
New member functions openmc::Tally.set_writable and get_writable act on the writable attribute. These are used in the external API with openmc_tally_set_writable and openmc_tally_get_writable functions. Cleaned up some other writeable -> writable typos as well
This commit is contained in:
parent
7a1a424d0f
commit
801f18b357
5 changed files with 20 additions and 18 deletions
|
|
@ -643,7 +643,7 @@ write_tallies()
|
|||
if (!tally.name_.empty()) tally_header += ": " + tally.name_;
|
||||
tallies_out << header(tally_header) << "\n\n";
|
||||
|
||||
if (!tally.writeable_) {
|
||||
if (!tally.writable_) {
|
||||
tallies_out << " Internal\n\n";
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue