#include <arcane/core/PreciseOutputChecker.h>
Public Member Functions | |
| void | initializeOutputPhysicalTime (double output_period) |
| void | initializeOutputPhysicalTime (ICaseFunction *output_period) |
| void | initializeOutputIteration (Integer output_period) |
| void | initializeOutputIteration (ICaseFunction *output_period) |
| bool | checkIfOutput (double old_time, double current_time, Integer current_iteration) |
| Indicates whether or not an output should be made. | |
Private Member Functions | |
| bool | _compareTime (Real current_time, Real compar_time) |
| Internal method for comparing times. | |
| bool | _checkTime (Real old_time, Real current_time, Real output_period) |
| Method to control a fixed output. | |
| bool | _checkOldTime (Real old_time, Real output_period, Integer curr_number_of_outputs) |
| Method to check if a previous time does not trigger an output. | |
| bool | _checkTimeInterval (Real output_period, Real current_time, Real period) |
| Method to control an output by interval. | |
Private Attributes | |
| double | m_output_period_physical_time = 0.0 |
| ICaseFunction * | m_table_values_physical_time = nullptr |
| Integer | m_output_period_iteration = -1 |
| ICaseFunction * | m_table_values_iteration = nullptr |
Service for controlling the execution of file outputs. This service is a singleton that must be initialized when the application starts.
Definition at line 33 of file PreciseOutputChecker.h.
|
private |
Method to check if a previous time does not trigger an output.
Definition at line 122 of file PreciseOutputChecker.cc.
References _compareTime().
Referenced by _checkTime().
|
private |
Method to control a fixed output.
Definition at line 158 of file PreciseOutputChecker.cc.
References _checkOldTime(), and _compareTime().
Referenced by checkIfOutput().
|
private |
Method to control an output by interval.
Definition at line 97 of file PreciseOutputChecker.cc.
Referenced by checkIfOutput().
Internal method for comparing times.
Definition at line 203 of file PreciseOutputChecker.cc.
Referenced by _checkOldTime(), and _checkTime().
| bool Arcane::PreciseOutputChecker::checkIfOutput | ( | double | old_time, |
| double | current_time, | ||
| Integer | current_iteration ) |
Indicates whether or not an output should be made.
Definition at line 60 of file PreciseOutputChecker.cc.
References _checkTime(), and _checkTimeInterval().
| void Arcane::PreciseOutputChecker::initializeOutputIteration | ( | ICaseFunction * | output_period | ) |
Definition at line 51 of file PreciseOutputChecker.cc.
| void Arcane::PreciseOutputChecker::initializeOutputIteration | ( | Integer | output_period | ) |
Definition at line 42 of file PreciseOutputChecker.cc.
| void Arcane::PreciseOutputChecker::initializeOutputPhysicalTime | ( | double | output_period | ) |
Initialization based on the user data set.
Definition at line 24 of file PreciseOutputChecker.cc.
| void Arcane::PreciseOutputChecker::initializeOutputPhysicalTime | ( | ICaseFunction * | output_period | ) |
Definition at line 33 of file PreciseOutputChecker.cc.
|
private |
Definition at line 65 of file PreciseOutputChecker.h.
|
private |
Definition at line 63 of file PreciseOutputChecker.h.
|
private |
Definition at line 66 of file PreciseOutputChecker.h.
|
private |
Definition at line 64 of file PreciseOutputChecker.h.