gray/tests/06-ITER-startup/__init__.py
Michele Guerini Rocco 6fad08ed7c
add tests
2024-02-09 11:16:17 +01:00

25 lines
626 B
Python

'''
ITER startup scenario at B=5.3T;
analytical profiles;
upper steering mirror (USM), virtual beam, 0D beam parameters;
circular beam, X1 mode/mixed polarisation;
reflection before entering plasma
'''
from .. import TestCase, GrayTest, get_basedir
class X_Mode(GrayTest, TestCase):
'''
X mode at 1st pass, absorption after the reflection
'''
reference = get_basedir(__name__) / 'outputs' / 'x-mode'
class Mixed(GrayTest, TestCase):
'''
Horizontal polarisation at launch (both X, O mode)
'''
reference = get_basedir(__name__) / 'outputs' / 'mixed'
gray_params = {"raytracing.ipol": 1}