blob: 1563438bd82da61a989a2186c84ad5a49e49a321 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /usr/bin/env python
# Copyright 2021 Modern Electron
# This script checks that the PICMI_inputs_2d.py run more-or-less matches the
# results from the non-PICMI run. The PICMI run is using an external Poisson
# solver that directly solves the Poisson equation using matrix inversion
# rather than the iterative approach from the MLMG solver.
import sys
sys.path.append('../../../../warpx/Regression/Checksum/')
import checksumAPI
my_check = checksumAPI.evaluate_checksum(
'background_mcc', 'Python_background_mcc_plt00050',
do_particles=True, rtol=2.5e-3
)
|