Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ save_system()

void pism::TridiagonalSystem::save_system ( std::ostream &  output,
unsigned int  system_size 
) const

View the tridiagonal system A x = b to an output stream, both A as a full matrix and b as a vector.

Save the system to a stream using the ASCII MATLAB (Octave) format. Virtual to allow saving more info in derived classes.

Definition at line 179 of file ColumnSystem.cc.

References m_prefix, m_rhs, save_matrix(), and save_vector().

Referenced by pism::columnSystemCtx::reportColumnZeroPivotErrorMFile(), pism::energy::enthSystemCtx::save_system(), and save_system_with_solution().