Skip to content

Commit d8b5ace

Browse files
authored
Remove amrex_particles_to_vtp.py (#4564)
This is not necessary now that Paraview supports our binary particle format directly.
1 parent e7482fd commit d8b5ace

File tree

9 files changed

+3
-1970
lines changed

9 files changed

+3
-1970
lines changed

Docs/sphinx_documentation/source/AmrLevel.rst

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,5 @@ There is an option to turn on passively advected particles. In the
181181
(do a ``make realclean first``).
182182
In the inputs file, add the line ``adv.do_tracers = 1``.
183183
When you run the code, within each plotfile directory there will be a
184-
subdirectory called "Tracer".
185-
186-
Copy the files from ``amrex/Tools/Py_util/amrex_particles_to_vtp`` into
187-
the run directory and type, e.g.,
188-
189-
.. highlight:: console
190-
191-
::
192-
193-
python amrex_binary_particles_to_vtp.py plt00000 Tracer
194-
195-
To generate a vtp file you can open with ParaView (Refer to the chapter on :ref:`Chap:Visualization`).
184+
subdirectory called "Tracer". These can be visualized using either yt or
185+
Paraview (refer to the chapter on :ref:`Chap:Visualization`).

Docs/sphinx_documentation/source/Particle.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,9 +695,7 @@ mesh data IO. For example:
695695

696696
will create a plot file called "plt00000" and write the mesh data in :cpp:`output` to it, and then write the particle data in a subdirectory called "particle0". There is also the :cpp:`WriteAsciiFile` method, which writes the particles in a human-readable text format. This is mainly useful for testing and debugging.
697697

698-
The binary file format is currently readable by :cpp:`yt`. In additional, there is a Python conversion script in
699-
``amrex/Tools/Py_util/amrex_particles_to_vtp`` that can convert both the ASCII and the binary particle files to a
700-
format readable by Paraview. See the chapter on :ref:`Chap:Visualization` for more information on visualizing AMReX datasets, including those with particles.
698+
The binary file format is readable by either :cpp:`yt` or :cpp:`Paraview`. See the chapter on :ref:`Chap:Visualization` for more information on visualizing AMReX datasets, including those with particles.
701699

702700
Inputs parameters
703701
=================

Tools/Py_util/amrex_particles_to_vtp/README

Lines changed: 0 additions & 17 deletions
This file was deleted.

Tools/Py_util/amrex_particles_to_vtp/amrex_binary_particles_to_vtp.py

Lines changed: 0 additions & 135 deletions
This file was deleted.

Tools/Py_util/amrex_particles_to_vtp/amrex_particles_to_vtp.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)