download
raw
366 Bytes
import sys
import os
# Ajouter le dossier parent (fluidsim) au chemin Python
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, parent_dir)
# Maintenant vous pouvez importer les fichiers du dossier parent
from run_taylor_green_corrected import sim
print("Import réussi !")
print(f"Simulation chargée: {sim is not None}")

Xet Storage Details

Size:
366 Bytes
·
Xet hash:
efa72052c0337366431d2d2087ad23ef3c5643aa81229ca624dfd16cccd1fc0a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.