aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/embedded_circle/analysis.py
blob: 257d36afc8de5f6cb7c4dc14deaf89d9eca81092 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/env python

import os
import sys
sys.path.insert(1, '../../../../warpx/Regression/Checksum/')
import checksumAPI

# this will be the name of the plot file
fn = sys.argv[1]

# Get name of the test
test_name = os.path.split(os.getcwd())[1]

# Run checksum regression test
checksumAPI.evaluate_checksum(test_name, fn, rtol=1e-2)