OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
11template<unsigned int prp_id>
12struct prop_id {};
13
14class eq_id
15{
16 int id;
17
18public:
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
36enum options_solver
37{
38 STANDARD,
39 LAGRANGE_MULTIPLIER
40};
41
42#endif /* EQ_SOLVE_COMMON_HPP_ */