Field3D
InitIO.cpp File Reference
#include "InitIO.h"
#include "DenseFieldIO.h"
#include "SparseFieldIO.h"
#include "MACFieldIO.h"
#include "FieldMappingIO.h"
#include "MIPFieldIO.h"

Go to the source code of this file.

Namespaces

 FIELD3D_NAMESPACE_OPEN
 

Functions

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

Variables

size_t FIELD3D_NAMESPACE_OPEN::g_numIOThreads = 1
 

Detailed Description

Contains implementation of initIO function.

Definition in file InitIO.cpp.

Function Documentation

◆ setNumIOThreads()

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()

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