Feat omp

Merged
#2 · Created  · Last updated

Merged pull request

Merged in feat-omp (pull request #2)

aa998ec·Author: ·Closed by: ·2018-02-22

Description

Added another RunGEM function that can be called from a coupled code, has an (optional) openmp loop over the nodes in TNodeArray that calls RunGEM for every node, uses the functionality implemented by Svitlana (copy constructor for TNode). Was tested for a 2D dolomitisation model, more tests are on the way.

  • Delete static from particle

  • Move calc functions to nodearray

  • Set TNode as variable into TNodeArray

  • Here we do a GEM calculation in box ii (implementation thread-safe)

  • Added copy constructor to TNode class

  • first run with omp

  • omp runs but take more time

  • Fixed time calculations ( in threads does not work clock() )

  • Fixed some warnings

  • Compile/bugfix gems3gui with changes

  • Dissable omp into gems3gui

  • Add dissable

  • OpenMP version of RunGEM for TNodeArray, that can be used in an RTM simulation, all parallelization is done on GEM side

0 attachments

0 comments

Loading commits...