BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
ThreadInfo Struct Reference

Description

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}
 

Constructor & Destructor Documentation

◆ ThreadInfo()

ThreadInfo::ThreadInfo ( )
inlinedefault

Member Data Documentation

◆ current_batch

unsigned ThreadInfo::current_batch {0}

Definition at line 25 of file ThreadInfo.h.

Referenced by SimulationOptions::getCurrentBatch().

◆ n_batches

unsigned ThreadInfo::n_batches {1}

◆ n_threads

unsigned ThreadInfo::n_threads {0}

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