OpenCALTeam / opencal

OpenCAL, the Open Computing Abstraction Layer Domain Specific Language for Structured Grid Meshes
GNU Lesser General Public License v3.0
13 stars 1 forks source link

calAddActiveCellX*D() must located into the unsafe operations file #11

Closed donatodambrosio closed 8 years ago

donatodambrosio commented 8 years ago

The calAddActiveCellX2D() must be moved to the "unsafe source file". In fact, it modifies the state of a neighboring cell, which is an unsafe opration due to concurrency. Specifically: