MCPcopy Create free account
hub / github.com/Cantera/cantera / appendColumn

Method appendColumn

src/base/Array.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void Array2D::appendColumn(const vector<double>& c)
55{
56 m_ncols++;
57 m_data.resize(m_nrows * m_ncols);
58 for (size_t m = 0; m < m_nrows; m++) {
59 value(m_ncols, m) = c[m];
60 }
61}
62
63void Array2D::appendColumn(const double* const c)
64{

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected