PLaSK library
Loading...
Searching...
No Matches
openmp.hpp
Go to the documentation of this file.
1
/*
2
* This file is part of PLaSK (https://plask.app) by Photonics Group at TUL
3
* Copyright (c) 2022 Lodz University of Technology
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, version 3.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*/
14
#ifndef PLASK__UTILS_OPENMP_H
15
#define PLASK__UTILS_OPENMP_H
16
21
#include <cstddef>
22
23
#include "
warnings.hpp
"
24
25
namespace
plask
{
26
28
#ifdef _MSC_VER
29
typedef
std::ptrdiff_t
openmp_size_t
;
//MSVC support omp only in version 2 which require signed type in for
30
#else
31
typedef
std::size_t
openmp_size_t
;
32
#endif
33
34
}
// namespace plask
35
36
#endif
// PLASK__UTILS_OPENMP_H
plask
utils
openmp.hpp
Generated by
1.9.8