BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ThreadInfo Struct Reference
Collaboration diagram for ThreadInfo:

Public Member Functions

 ThreadInfo ()
 

Public Attributes

unsigned n_threads
 
unsigned n_batches
 
unsigned current_batch
 

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

◆ n_threads

◆ n_batches

unsigned ThreadInfo::n_batches

◆ current_batch

unsigned ThreadInfo::current_batch

Definition at line 25 of file ThreadInfo.h.

Referenced by SimulationOptions::getCurrentBatch().


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