Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 5, 2024
1 parent 1b7f214 commit e899d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/initialize_from_array/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ or creating a custom distribution.
This example includes a set of utilities for transforming the beam to the fixed-s coordinates of ImpactX.

In this example, a custom beam is specified at fixed t, transformed to fixed s, and
then loaded in ImpactX.
then loaded in ImpactX.
The custom beam is a ring in x-y,
with radius r=2 mm,
radial width :math:`\sigma_r = 5\ \mu`m;
Expand Down
3 changes: 1 addition & 2 deletions examples/initialize_from_array/run_from_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
# -*- coding: utf-8 -*-

import amrex.space3d as amr
from impactx import ImpactX, elements
from impactx import Config, ImpactX, elements
import numpy as np
import transformation_utilities as pycoord
from impactx import Config, ImpactX, elements

on_gpu = Config.have_gpu

Expand Down

0 comments on commit e899d5d

Please sign in to comment.