|
ASPECT
|

Static Public Member Functions | |
| static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
| static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::SimulatorAccess< dim > | |
| static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
Private Member Functions | |
| std::vector< typename Particles::ParticleHandler< dim >::particle_iterator_range > | get_neighboring_particle_ranges (const typename Triangulation< dim >::active_cell_iterator &cell, const typename Particles::ParticleHandler< dim > &particle_handler) |
Private Attributes | |
| bool | KDE_per_particle |
| unsigned int | granularity |
| double | bandwidth |
| Particle::ParticlePDF< dim >::KernelFunction | kernel_function |
| std::unique_ptr< GridTools::Cache< dim > > | grid_cache |
A postprocessor that generates a point-density function describing the distribution of particles within cells. The point-density function is generated using a Kernel Density Estimator. The postprocessor calculates standard deviation and max/min of the point-density functions per cell.
Definition at line 43 of file particle_distribution_statistics.h.
|
overridevirtual |
Initialize function. Called once at the beginning of the model.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Evaluate the solution for some particle statistics.
Implements aspect::Postprocess::Interface< dim >.
|
overridevirtual |
Let the postprocessor manager know about the other postprocessors this one depends on. Specifically, the particles postprocessor.
Reimplemented from aspect::Postprocess::Interface< dim >.
|
static |
Declare the parameters this class takes through input files.
|
overridevirtual |
Read the parameters this class declares from the parameter file.
Reimplemented from aspect::Plugins::InterfaceBase.
|
private |
This function returns a vector containing the particle_iterator_ranges of the cells neighboring the supplied cell. This is used to sum the kernel function using particles across cell boundaries.
| cell | The cell to find neighboring cell's particles for. |
| particle_handler | The particle handler of the current particle manager |
|
private |
If KDE_per_particle is true, the point-density function is defined at the position of every particle in the cell. If it is false, the point-density-function is defined on a regular grid throughout the cell.
Definition at line 83 of file particle_distribution_statistics.h.
|
private |
The granularity variable determines the number of points at which the point-density function is defined within each cell. For example, a value of 2 means that the point-density function is defined at \(2\times 2=4\) points in 2D. This variable only applies if KDE_per_particle is false.
Definition at line 92 of file particle_distribution_statistics.h.
|
private |
The bandwidth variable scales the point-density function. Choosing an appropriate bandwidth is important because a bandwidth value which is too low or too high can result in oversmoothing or undersmoothing of the point-density function. Oversmoothing or undersmoothing results in a function which represents the underlying data less accurately.
Definition at line 102 of file particle_distribution_statistics.h.
|
private |
kernel_function is an internal variable to keep track of which kernel function was read from the .prm file.
Definition at line 108 of file particle_distribution_statistics.h.
|
private |
Cached information that stores information about the grid so that we do not need to recompute it every time properties_at_points() is called.
Definition at line 125 of file particle_distribution_statistics.h.