-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move primary data write support into IODataOrganizer class (#244)
This involves 3 functions that now perform the bulk of the work. First, the (previously standalone) function serialize_soln_for_write is moved into the IOFamily class, as serializeForWrite. Second, two new functions (IODataOrganizer::write and IODataOrganizer::writeSerial) are introduced to handle writing field data that has been registered through the IODataOrganizer class. At the moment these functions are separate b/c they require different input data (i.e., writeSerial needs information, such as the partitioning array, that write does not). They could be unified, potentially by extending IODataOrganizer::initializeSerial to obtain this extra information rather than passing it directly to writeSerial. But, this refactor is left for later.
- Loading branch information
Showing
2 changed files
with
176 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters