blob: 552ac473a912957205010bfe2df1e6b52a00aaa3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env python3
# Copyright 2020 Michael Rowan
#
# This file is part of WarpX.
#
# License: BSD-3-Clause-LBNL
import os
import sys
import yt
yt.funcs.mylog.setLevel(50)
sys.path.insert(1, '../../../../warpx/Regression/Checksum/')
import checksumAPI
# Name of the plotfile
fn = sys.argv[1]
test_name = os.path.split(os.getcwd())[1]
checksumAPI.evaluate_checksum(test_name, fn, rtol=1e-4, do_particles=False)
|