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

◆ save_vector()

void pism::TridiagonalSystem::save_vector ( std::ostream &  output,
const std::vector< double > &  v,
unsigned int  system_size,
const std::string &  variable 
)
static

Utility for simple ascii view of a vector (one-dimensional column) quantity.

Give first argument NULL to get standard out. No binary viewer.

Give description string as info argument.

Result should be executable as a Python (SciPy) script.

Does not stop on non-fatal errors.

Definition at line 139 of file ColumnSystem.cc.

References pism::k.

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