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