mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Updated testing harness and input_set for MG tests and added first MG test: test_mg_basic
This commit is contained in:
parent
640409c412
commit
9141e2a00f
6 changed files with 571 additions and 3 deletions
17
tests/test_mg_basic/test_mg_basic.py
Normal file
17
tests/test_mg_basic/test_mg_basic.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import TestHarness, PyAPITestHarness
|
||||
import openmc
|
||||
|
||||
|
||||
class MGBasicTestHarness(PyAPITestHarness):
|
||||
def _build_inputs(self):
|
||||
super(MGBasicTestHarness, self)._build_inputs()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = MGBasicTestHarness('statepoint.10.*', False, mg=True)
|
||||
harness.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue