GetFEM++  5.3
getfem_omp.h File Reference

Tools for multithreaded, OpenMP and Boost based parallelization. More...

#include <vector>
#include <algorithm>
#include <locale.h>
#include <memory>
#include "gmm/gmm_std.h"
#include "bgeot_config.h"

Go to the source code of this file.

Classes

class  getfem::omp_distribute< T >
 use this template class for any object you want to distribute to open_MP threads. More...
 
class  getfem::omp_distribute< bool >
 specialization for bool, to circumvent the shortcommings of standards library specialization for std::vector<bool> More...
 
class  getfem::region_partition
 used to partition a mesh region so that each partition can be used on a different thread. More...
 
class  getfem::thread_exception
 Allows to re-throw exceptions, generated in OpemMP parallel section. More...
 

Namespaces

 getfem
 GEneric Tool for Finite Element Methods.
 

Macros

#define OPEN_MP_FOR(begin, end, loop_counter, loop_body)   getfem::open_mp_for(begin,end,loop_body(loop_counter));
 parallelization macro of a for loop
 

Functions

template<class LOOP_BODY >
void getfem::open_mp_for (int begin, int end, const LOOP_BODY &loop_body)
 parallelization function for a for loop
 

Detailed Description

Tools for multithreaded, OpenMP and Boost based parallelization.

Author
Andriy Andreykiv andri.nosp@m.y.an.nosp@m.dreyk.nosp@m.iv@g.nosp@m.mail..nosp@m.com
Date
May 14th, 2013. This is the kernel of getfem.

Definition in file getfem_omp.h.