BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ThreadInfo Struct Reference

Information to run simulation with dedicated number of threads. More...

Public Member Functions

 ThreadInfo ()
 

Public Attributes

unsigned current_batch
 
unsigned n_batches
 
unsigned n_threads
 

Detailed Description

Information to run simulation with dedicated number of threads.

Definition at line 21 of file ThreadInfo.h.

Constructor & Destructor Documentation

◆ ThreadInfo()

ThreadInfo::ThreadInfo ( )
inline

Definition at line 28 of file ThreadInfo.h.

28 : n_threads(0), n_batches(1), current_batch(0) {}
unsigned current_batch
Definition: ThreadInfo.h:25
unsigned n_batches
Definition: ThreadInfo.h:24
unsigned n_threads
Definition: ThreadInfo.h:23

Member Data Documentation

◆ current_batch

unsigned ThreadInfo::current_batch

Definition at line 25 of file ThreadInfo.h.

Referenced by SimulationOptions::getCurrentBatch().

◆ n_batches

unsigned ThreadInfo::n_batches

◆ n_threads


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