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

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