![]() |
ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
![]() | |
static void | declare_parameters (ParameterHandler &prm) |
![]() | |
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 | |
void | sort_particles_into_buckets (const typename Triangulation< dim >::active_cell_iterator &cell, const double bucket_width, Table< dim, unsigned int > &buckets) const |
Private Attributes | |
unsigned int | granularity |
A postprocessor that computes a score from 0 to 1 measuring how clustered particles are within cells. Scores closer to 0 have more even density distributions, while scores closer to 1 indicate that particles are most clustered within cells.
Definition at line 42 of file particle_distribution_score.h.
|
overridevirtual |
Evaluate the solution for particle clustering.
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 |
Sorts all of the particles within the cell into a deal.II table based on their position.
cell | The cell for which to compute the particle distribution. |
bucket_width | The size (relative to the size of the cell) of each bucket in the table. |
buckets | The table to fill with the particle information. |
|
private |
The granularity
variable determines how many buckets are used in the histogram which computes the density distribution score. For example, a value of 2 means \(2\times 2=4\) buckets in 2D.
Definition at line 76 of file particle_distribution_score.h.