Peano
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
peano4.toolbox.particles.postprocessing.ParticleVTUReader Namespace Reference

This file contains the ParticleVTUReader class, which hosts methods to extract particle data from .vtu or .pvd files generated by Peano. More...

Data Structures

class  ParticleVTUReader
 Reads in particle fields from a single .vtu file, or all .vtu at a given snapshot time specified in the provided .pvd file. More...
 
class  VTUParticleSet
 Container for particle data. More...
 

Functions

 _clean_attribute_string (str attr)
 Clean up a string intended to be a particle attribute from illegal characters.
 

Detailed Description

This file contains the ParticleVTUReader class, which hosts methods to extract particle data from .vtu or .pvd files generated by Peano.

Function Documentation

◆ _clean_attribute_string()

peano4.toolbox.particles.postprocessing.ParticleVTUReader._clean_attribute_string ( str attr)
protected

Clean up a string intended to be a particle attribute from illegal characters.

Returns

cleaned_attr: str cleaned attribute string.

Definition at line 20 of file ParticleVTUReader.py.