Files
karl/simulation_config/function_examples.json

74 lines
1.7 KiB
JSON
Executable File

{
"Functions": {
"1Dto1D examples": {
"f1": {
"PiecewiseLinear": {
"xValues": [0, 1.43, 3],
"yValues": [5E-4, 0.002, 0.02],
"prefactor": 1
}
},
"f2": {
"Constant": {
"constant": 1
}
},
"f3": {
"Product": [
{
"Constant": {
"constant": 2
}
},
{
"Constant": {
"constant": 3
}
}
]
},
"f4": {
"PiecewiseLinearFromFile": {
"PathToH5": {
"Type": "RelativeToHomebase",
"RelativePath": "path/relative",
"Filename": "data.h5"
},
"xValuesKey": "/xvalues",
"yValuesKey": "/yvalues",
"prefactor": 1
}
},
"f5": {
"PiecewiseLinearFromFile": {
"PathToH5": {
"Type": "AbsolutPath",
"RelativePath": "/some/absolut/path",
"Filename": "data.h5"
},
"xValuesKey": "/xvalues",
"yValuesKey": "/yvalues",
"prefactor": 1
}
}
},
"3dto1D examples": {
"f1": {
"Constant3D": {
"constant": 2
}
},
"f2": {
"Product": {
"fi": { "Constant": {"constant": 2 }},
"fj": { "Constant": {"constant": 2 }},
"fk": { "PiecewiseLinear": {
"xValues": [0, 1.43, 3],
"yValues": [5E-4, 0.002, 0.02],
"prefactor": 1 }
}
}
}
}
}
}