mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 22:15:35 -06:00
Simulator programs and utilities for automatic differentiation.
Functions csrmatrix_write_stream() and vector_write_stream() subsume the output responsibilities of csrmatrix_write() and vector_write(), respectively, but do not deal with opening or closing streams. This allows, e.g., a call such as csrmatrix_write_stream(A, stderr); for debugging purposes. Re-implement csrmatrix_write() and vector_write() in terms of csrmatrix_write_stream() and vector_write_stream(), respectively. |
||
---|---|---|
src |