summaryrefslogtreecommitdiff
path: root/PyGan/data/testVVER_proc/vverMIX.py
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /PyGan/data/testVVER_proc/vverMIX.py
Initial commit from Polytechnique Montreal
Diffstat (limited to 'PyGan/data/testVVER_proc/vverMIX.py')
-rw-r--r--PyGan/data/testVVER_proc/vverMIX.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/PyGan/data/testVVER_proc/vverMIX.py b/PyGan/data/testVVER_proc/vverMIX.py
new file mode 100644
index 0000000..cf059cc
--- /dev/null
+++ b/PyGan/data/testVVER_proc/vverMIX.py
@@ -0,0 +1,26 @@
+##############################################################################
+# #
+# Description : PyGan scritp for VVER pin cell simulation with DRAGON5 #
+# Author : L. Fede #
+# Date : 2023 #
+# #
+##############################################################################
+#
+import lifo
+import cle2000
+
+def vverMIX(namMIX,Library):
+ # Lifo
+ myLifo=lifo.new()
+ myLifo.pushEmpty(namMIX, "LCM")
+ myLifo.push(Library)
+ myLifo.lib()
+
+ # Execution
+ mixVVER = cle2000.new('vverMIX',myLifo,1)
+ mixVVER.exec()
+
+ # Recover
+ myLifo.lib()
+ pyMIX = myLifo.node(namMIX)
+ return pyMIX