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.
 
FIELD3D_API size_t numIOThreads ()
 Returns the number of I/O threads to use.
 
FIELD3D_API void setNumIOThreads (const size_t numThreads)
 Sets the number of threads to use for I/O multi-threading.
 

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}

◆ 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}