PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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