WarpX
ParticleDiag.H
Go to the documentation of this file.
1 #ifndef WARPX_PARTICLEDIAG_H_
2 #define WARPX_PARTICLEDIAG_H_
3 
5 #include "Utils/WarpXUtil.H"
7 
9 {
10 public:
11  ParticleDiag(std::string diag_name, std::string name, WarpXParticleContainer* pc);
13  std::string getSpeciesName() const { return m_name; }
14  amrex::Vector<int> plot_flags;
15 
16  bool m_do_random_filter = false;
17  bool m_do_uniform_filter = false;
18  bool m_do_parser_filter = false;
19  bool m_do_geom_filter = false;
20  amrex::Real m_random_fraction = 1.0;
22  std::unique_ptr<ParserWrapper<7>> m_particle_filter_parser;
23  amrex::RealBox m_diag_domain;
24 
25 private:
26  std::string m_diag_name;
27  std::string m_name;
28  amrex::Vector< std::string > variables;
30 };
31 
32 #endif // WARPX_PARTICLEDIAG_H_
ParticleDiag(std::string diag_name, std::string name, WarpXParticleContainer *pc)
Definition: ParticleDiag.cpp:8
Definition: ParticleDiag.H:8
std::string m_name
Definition: ParticleDiag.H:27
amrex::RealBox m_diag_domain
Definition: ParticleDiag.H:23
int m_uniform_stride
Definition: ParticleDiag.H:21
bool m_do_parser_filter
Definition: ParticleDiag.H:18
bool m_do_geom_filter
Definition: ParticleDiag.H:19
amrex::Vector< std::string > variables
Definition: ParticleDiag.H:28
std::string m_diag_name
Definition: ParticleDiag.H:26
WarpXParticleContainer * getParticleContainer() const
Definition: ParticleDiag.H:12
amrex::Real m_random_fraction
Definition: ParticleDiag.H:20
WarpXParticleContainer * m_pc
Definition: ParticleDiag.H:29
name
Definition: run_automated.py:204
std::unique_ptr< ParserWrapper< 7 > > m_particle_filter_parser
Definition: ParticleDiag.H:22
bool m_do_uniform_filter
Definition: ParticleDiag.H:17
bool m_do_random_filter
Definition: ParticleDiag.H:16
std::string getSpeciesName() const
Definition: ParticleDiag.H:13
amrex::Vector< int > plot_flags
Definition: ParticleDiag.H:14
Definition: WarpXParticleContainer.H:131