![]() |
PRISMS-PF Manual
|
Struct that holds nucleation parameters. More...
#include <nucleation_parameters.h>
Public Member Functions | |
| void | assign (dealii::ParameterHandler ¶meter_handler, unsigned int n_subsections=Numbers::default_subsections) override |
| Assign the parameters from file. | |
| void | validate (const std::vector< FieldAttributes > &field_attributes, const std::vector< SolveBlock > &solve_blocks) const override |
| Validate. | |
| bool | should_attempt_nucleation (unsigned int increment) const |
| Whether a given increment should attempt nucleation. | |
| 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. | |
Public Member Functions inherited from ParameterBase | |
| ParameterBase ()=default | |
| virtual | ~ParameterBase ()=default |
| ParameterBase (const ParameterBase &)=default | |
| ParameterBase (ParameterBase &&)=default | |
| ParameterBase & | operator= (const ParameterBase &)=default |
| ParameterBase & | operator= (ParameterBase &&)=default |
Static Public Member Functions | |
| static void | declare (dealii::ParameterHandler ¶meter_handler, unsigned int n_subsections=Numbers::default_subsections) |
| Declare the parameters to be read from file. | |
Public 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.
|
overridevirtual |
Assign the parameters from file.
Implements ParameterBase.
|
nodiscard |
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.
|
static |
Declare the parameters to be read from file.
|
nodiscard |
Whether a given increment should attempt nucleation.
|
overridevirtual |
Validate.
Implements ParameterBase.
| unsigned int NucleationParameters::nucleation_period = UINT_MAX |
| double NucleationParameters::nucleus_exclusion_distance = 0.0 |
| bool NucleationParameters::pp_nucleation_rate_exists = false |
| double NucleationParameters::refinement_radius = 0.0 |
| double NucleationParameters::same_field_nucleus_exclusion_distance = 0.0 |
| unsigned int NucleationParameters::seeding_increments = 1 |
| double NucleationParameters::seeding_time = 0.0 |