Skip to content

Simple table onelab with list of double

Nicolas Marsic requested to merge SimpleTableOnelabWithListOfDouble into master

Hi Christophe,

This is a follow up of merge request !85 (closed) (sending tables via ONELAB).

I now follow the same strategy as in NodeTable and ElementTable, i.e. creating a static list populated by Tabular_PrintElement (where each fprintf is now followed by a .push_back).

The list is initiated in Format_PostHeader and sent via ONELAB in Format_PostFooter.

There are however two little details which I don't know how to treat:

  1. how should we handle FORMAT_VALUE_ONLY, as it involves strings (see line 858)?
  2. I don't understand the role of GetDPNumbers[CurrentName] and GetDPNumbersMap[CurrentName] (see lines 1545 and 1558).

Do you have any suggestions?

Have a nice weekend, Nicolas.

Edited by Nicolas Marsic

Merge request reports