![]() |
PRISMS-PF Manual
|
Struct that holds nucleation parameters. More...
#include <nucleation_parameters.h>
Public Member Functions | |
| bool | should_attempt_nucleation (unsigned int increment) const |
| Return if the increment should be nucleationted. | |
| void | validate () const |
| Postprocess and validate parameters. | |
| void | print_parameter_summary () const |
| Print parameters to summary.log. | |
| void | set_nucleation_period (const unsigned int &_nucleation_period) |
| Set the print nucleation period. | |
| unsigned int | get_nucleation_period () const |
| Get the nucleation period. | |
| void | set_exclusion_distance (const double &_nucleus_exclusion_distance) |
| Set the nucleus exclusion distance. | |
| double | get_exclusion_distance () const |
| Get the nucleus exclusion distance. | |
| void | set_same_field_exclusion_distance (const double &exclusion_distance) |
| Set the nucleus exclusion distance. | |
| double | get_same_field_exclusion_distance () const |
| Get the nucleus exclusion distance. | |
| void | set_refinement_radius (const double &_refinement_radius) |
| Set the refinement radius. | |
| double | get_refinement_radius () const |
| Get the refinement radius. | |
| void | set_seeding_time (const double &_seeding_time) |
| Set the seeding time. | |
| double | get_seeding_time () const |
| Get the seeding time. | |
| void | set_seeding_increments (const unsigned int &_seeding_increments) |
| Set the seeding increments. | |
| unsigned int | get_seeding_increments () const |
| Get the seeding increments. | |
| template<unsigned int dim> | |
| bool | check_active (const Nucleus< dim > &nucleus, const SimulationTimer &time_info) const |
| Check if a nucleus is still active based on its seed time and increment. A nucleus is considered active if the current time or increment is within the greater of the seeding time or seeding increments. The exclusion distance and active refinement are only applied to active nuclei. | |
| bool | postprocessed_nucleation_rate_exists () const |
| Whether a postprocessed nucleation rate exists. | |
Private Attributes | |
| unsigned int | nucleation_period = UINT_MAX |
| bool | pp_nucleation_rate_exists = false |
| double | nucleus_exclusion_distance = 0.0 |
| double | same_field_nucleus_exclusion_distance = 0.0 |
| double | refinement_radius = 0.0 |
| double | seeding_time = 0.0 |
| unsigned int | seeding_increments = 1 |
Struct that holds nucleation parameters.
|
inline |
Check if a nucleus is still active based on its seed time and increment. A nucleus is considered active if the current time or increment is within the greater of the seeding time or seeding increments. The exclusion distance and active refinement are only applied to active nuclei.
|
inline |
Get the nucleus exclusion distance.
Get the nucleation period.
|
inline |
Get the refinement radius.
|
inline |
Get the nucleus exclusion distance.
Get the seeding increments.
|
inline |
Get the seeding time.
|
inline |
Whether a postprocessed nucleation rate exists.
|
inline |
Print parameters to summary.log.
|
inline |
Set the nucleus exclusion distance.
Set the print nucleation period.
Set the refinement radius.
|
inline |
Set the nucleus exclusion distance.
|
inline |
Set the seeding increments.
Set the seeding time.
Return if the increment should be nucleationted.
|
inline |
Postprocess and validate parameters.
|
private |
|
private |
|
private |
|
private |