Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::RuntimeCoreConfig Class Reference

Last update: 10.07.2023

#include <dpf_api.h>

Inherits ansys::dpf::RuntimeConfig.

Public Member Functions

 RuntimeCoreConfig (RuntimeCoreConfig const &rhs)
 
 RuntimeCoreConfig (RuntimeCoreConfig &&rhs)
 
void setNumberOfThreadsToUse (int num_threads)
 
int getNumberOfThreadsToUse () const
 

Detailed Description

enables to set runtime configuration options to the DPF process (DataProcessingCore).

Member Function Documentation

◆ getNumberOfThreadsToUse()

int ansys::dpf::RuntimeCoreConfig::getNumberOfThreadsToUse ( ) const
Returns
The default number of threads to use for all operators.

◆ setNumberOfThreadsToUse()

void ansys::dpf::RuntimeCoreConfig::setNumberOfThreadsToUse ( int  num_threads)

Sets the default number of threads to use for all operators, default is omp_get_num_threads.