Development of a python interface for a framework of cross-reference solar-terrestrial physics simulation

Cross-reference simulation combines multiple simulation codes when one code requires data produced by another. To provide an efficient and convenient solution for cross-reference Solar-Terrestrial Physics (STP) simulation, a framework called Code-To-Code Adapter (CoToCoA) Library has been developed. CoToCoA was designed to implement cross-reference simulation with minimal modifications to the simulation codes while maintaining low overhead and currently supports only C and Fortran. To further enhance its usability by integrating CoToCoA with Python, we developed a Python interface. Two development approaches were conducted: (1) direct development of CoToCoA in Python and (2) the use of a library to call C functions of CoToCoA from Python. To evaluate the performance of the Python interfaces, experiments of data transfer methods in CoToCoA were performed. As a result of the evaluation, the library-based implementation showed performance comparable to the native C implementation, while the direct implementation required more additional time. The results show that the Python interface using the library enables efficient data transfer from both C- and Fortran-based STP simulation programs to Python for advanced data analysis and processing. Furthermore, the developed Python interface was applied to low-latency online visualization of magnetohydrodynamics simulation results. The framework has the potential of extension to integration with other Python tools, such as machine-learning or artificial intelligence models.

Link
https://www.semanticscholar.org/paper/88df799cf8b656f78879993341651854390981df
Found by
Semantic Scholar
Authors
Keiichiro Fukazawa, Hai-Chao Zhao, T. Nanri, Y. Miyake, Y. Katoh
Categories
evaluation
Published
2026-09-20
Last seen by the radar
2026-09-22
Citations
0
Influential citations
0
Radar score
26.75 / 100 (how it is scored)
Why it scored so
Matched: evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.1186/s40623-026-02487-8
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar