-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change writing output from pull to push model
Until now, the unit model exposed information on the structure of its internal state vector slice to the SolutionRecorder via the SolutionExporter interface. The SolutionRecorder then pulls the requested information from the state vector slice using the given structural information (e.g., orderings). This is changed in favor of a push interface. Now, the SolutionExporter writes the requested state vector parts directly into a given buffer. The SolutionRecorder is responsible for allocating enough memory for this operation. To this end, the SolutionExporter still provides some information about the structure, but only to allow allocation of the necessary memory (i.e., it does not provide ordering information). In order to compensate, each unit's SolutionExporter has to write the data in a prescribed standardized ordering: Bulk: Axial/Primary coord - Radial/Secondary coord - Component Particle mobile phase: Particle type - Axial/Primary coord - Radial/Secondary coord - Particle shell - Component Solid phase: Particle type - Axial/Primary coord - Radial/Secondary coord - Particle shell - Bound states Here, the bound states are in component-major format: All bound states of component 0, all bound states of component 1, etc. Bulk-particle flux: Particle type - Axial/Primary coord - Radial/Secondary coord - Component
- Loading branch information
Showing
17 changed files
with
1,042 additions
and
756 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.