Field3D
InitIO.h File Reference

Contains the initIO function. More...

#include "Types.h"
#include "ns.h"

Go to the source code of this file.

Functions

FIELD3D_NAMESPACE_OPEN FIELD3D_API void initIO ()
 Initializes the built-in Field3D IO classes. More...
 
FIELD3D_API size_t numIOThreads ()
 Returns the number of I/O threads to use. More...
 
FIELD3D_API void setNumIOThreads (const size_t numThreads)
 Sets the number of threads to use for I/O multi-threading. More...
 

Detailed Description

Contains the initIO function.

Definition in file InitIO.h.

Function Documentation

◆ setNumIOThreads()

FIELD3D_API void setNumIOThreads ( const size_t  numThreads)

Sets the number of threads to use for I/O multi-threading.

Definition at line 85 of file InitIO.cpp.

86 {
87  g_numIOThreads = numThreads;
88 }

References FIELD3D_NAMESPACE_OPEN::g_numIOThreads.

◆ numIOThreads()

FIELD3D_API size_t numIOThreads ( )

Returns the number of I/O threads to use.

Definition at line 92 of file InitIO.cpp.

93 {
94  return g_numIOThreads;
95 }

References FIELD3D_NAMESPACE_OPEN::g_numIOThreads.

FIELD3D_NAMESPACE_OPEN::g_numIOThreads
size_t g_numIOThreads
Definition: InitIO.cpp:60