File formats for "interp" or "inject" generators

Sources file

The sources file format is an XML based format which defines a list of sources files associated to an unique ID.
The sources must be defined in a section delimited by the <datasources> tag, inside an <openfluid> tag and must be structured following these rules:

<?xml version="1.0" standalone="yes"?>
    <filesource ID="1" file="source1.dat" />
    <filesource ID="2" file="source2.dat" />    

An associated source data file is a two columns text file, containing a serie of values in time. The first column is the date using the ISO format YYYY-MM-DD'T'HH:MM:SS. The second column is the value itself.

1999-12-31T12:00:00 -1.0
1999-12-31T23:00:00 -5.0
2000-01-01T00:30:00 -15.0
2000-01-01T00:40:00 -5.0
2000-01-01T01:30:00 -15.0

Distribution file

A distribution file is a two column file associating a unit ID (first column) to a source ID (second column).

1 1
2 2
3 1
4 2
5 1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines