BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Information to run simulation with dedicated number of threads.
Definition at line 21 of file ThreadInfo.h.
Public Member Functions | |
ThreadInfo () | |
Public Attributes | |
unsigned | current_batch {0} |
unsigned | n_batches {1} |
unsigned | n_threads {0} |
|
inlinedefault |
unsigned ThreadInfo::current_batch {0} |
Definition at line 25 of file ThreadInfo.h.
Referenced by SimulationOptions::getCurrentBatch().
unsigned ThreadInfo::n_batches {1} |
Definition at line 24 of file ThreadInfo.h.
Referenced by SimulationOptions::getCurrentBatch(), SimulationOptions::getNumberOfBatches(), and SimulationOptions::setNumberOfBatches().
unsigned ThreadInfo::n_threads {0} |
Definition at line 23 of file ThreadInfo.h.
Referenced by SimulationOptions::SimulationOptions(), SimulationOptions::getNumberOfThreads(), and SimulationOptions::setNumberOfThreads().