Files
karl/include/interactions/vector_field_examples.json
T

52 lines
1.0 KiB
JSON
Executable File

{
"VectorFields": {
"field1": {
"VectorFieldConstant": {
"Constant": {
"vector": [
1,
2,
3
]
}
}
},
"field2": {
"VectorFieldFunctionInZ": {
"zFunction": {
"Constant3D": {
"constant": 2
}
}
}
},
"field3": {
"VectorFieldFromArray": {
"ReadArrayFromFile": {
"PathToH5": {
"Type": "RelativeToHomebase",
"RelativePath": "path/relative",
"Filename": "filename.h5"
},
"Keys": ["/vr", "/vphi", "/vz"]
},
"Radius": 0.045,
"Length": 16
}
}
},
"field4": {
"VectorFieldFromArray": {
"ReadArrayFromFile": {
"PathToH5": {
"Type": "AbsolutePath",
"AbsoluteFolderPath": "/path/absolut",
"Filename": "gilesabe.h5"
},
"Keys": ["/vr", "/vphi", "/vz"]
},
"Radius": 0.045,
"Length": 16
}
}
}