Skip to content

Libs/Optimize/Global.h

Classes

Name
class Global

Source code

#pragma once

#include <vector>
#include <itkPoint.h>
#include <tbb/mutex.h>

class Global {
public:

  static Global& global();

  std::vector<int> flipped_particles;
  std::vector<int> flipped_domains;
  std::vector<itk::Point<double>> targets;
  std::vector<int> neighbors;

  tbb::mutex mutex_;

};

Updated on 2022-07-23 at 16:40:07 -0600