OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
eq_solve_common.hpp
1 /*
2  * eq_solve_common.hpp
3  *
4  * Created on: Jun 5, 2020
5  * Author: i-bird
6  */
7 
8 #ifndef EQ_SOLVE_COMMON_HPP_
9 #define EQ_SOLVE_COMMON_HPP_
10 
11 template<unsigned int prp_id>
12 struct prop_id {};
13 
14 class eq_id
15 {
16  int id;
17 
18 public:
19 
20  eq_id()
21  :id(0)
22  {}
23 
24  int getId()
25  {
26  return id;
27  }
28 
29  void setId(int id)
30  {
31  this->id = id;
32  }
33 };
34 
35 
36 enum options_solver
37 {
38  STANDARD,
39  LAGRANGE_MULTIPLIER
40 };
41 
42 #endif /* EQ_SOLVE_COMMON_HPP_ */