PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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().