tfel
Loading...
Searching...
No Matches
mfront::generic_parallel::BatchStatistics< real > Struct Template Reference

statistics of the computations at one point or at a group of points of a batch, combined by parallel reductions. The keys are built by makeKey. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/GenericParallel/Batch.hxx>

Public Attributes

size_type number_of_failures = 0
 number of points where the computations failed
atomic_size_type first_failure = no_event
 key of the first failure (see makeKey)
size_type number_of_unreliable_results = 0
 number of points where the result is unreliable
atomic_size_type first_unreliable_result = no_event
 key of the first unreliable result (see makeKey)
real rdt = 1
 time step scaling factor

Friends

TFEL_HOST_DEVICE friend constexpr BatchStatistics combine (const BatchStatistics &a, const BatchStatistics &b) noexcept
 combine two statistics

Detailed Description

template<typename real>
struct mfront::generic_parallel::BatchStatistics< real >

statistics of the computations at one point or at a group of points of a batch, combined by parallel reductions. The keys are built by makeKey.

The time step scaling factor is a statistics of the computations which may reduce the time step (see hasTimeStepScalingFactor): the material properties leave it to its neutral value.

Template Parameters
realnumeric type of the time step scaling factor

The documentation for this struct was generated from the following file: